The definition
What is a campaign knowledge graph?
A campaign knowledge graph is a structured map of everything in your campaign and how it
connects. Each NPC, faction, location, quest, and item is a typed node; every relationship
between them is an explicit edge. Instead of re-reading notes to remember who owes whom,
you query the graph and get an answer.
Knowledge graphs are how large organizations map entities and relationships across sprawling
data. A six-month D&D campaign has exactly that shape: NPCs who owe each other things,
factions with overlapping interests, locations that change hands, items with ownership
chains, and plot threads braiding through all of it. A document flattens that network into
prose. A knowledge graph keeps it a network.
The important part is what the nodes and edges are made of. In Grimoire, a node is not a
page title, it is a typed entity with structured fields: motivations, secrets, faction
ties, a visibility tier. An edge is not a hyperlink, it is a named relationship. That is
what makes a TTRPG knowledge graph queryable rather than just viewable, and it is the
foundation everything below is built on.
The difference that matters
Typed entities vs wiki pages
Wiki pages store prose and link when one page mentions another. Typed entities store
structured fields, and their relationships carry meaning: member of, sworn enemy, located
in. A backlink tells you two pages touch; a typed edge tells you why. That difference is
what makes a campaign graph queryable rather than just browsable.
Grimoire ships fourteen typed entity schemas, from NPCs and factions to session recaps and
world rules, so the structure exists before your first entry does. Fill in the duke's
motivations and faction ties and the graph already knows how he connects to the rebellion,
because the relationship is data, not a sentence somewhere in a document.
See the full feature inventory
for what each entity type carries.
This is the philosophical split between a campaign database and a campaign wiki: structured
data you query versus articles you publish. Wiki-first tools are genuinely good at the
article side. If you are weighing the two approaches, the
LegendKeeper comparison
and the
World Anvil comparison
walk the tradeoff honestly.
One graph, many lenses
Three projections: political, timeline, and geography
Grimoire renders one campaign database through three built-in graph projections: a
political web of NPCs, factions, and player characters; a campaign timeline anchored to
your session recaps; and a geographic hierarchy of every place in your world. Each
projection is generated from the same entities, so nothing is drawn or maintained by hand.
Who stands where, right now
The political web
Every NPC, faction, and player character, plus the relationships between them. Faction membership is one kind of edge; the interesting ones are specific: "related (mother)," "despises," "planning to betray." The political web is the live status of allegiance in your campaign, not a seating chart you drew once and forgot.
What happened, in order, with receipts
The campaign timeline
A session-by-session record where timeline nodes connect to real entities. Link the locations visited during Session 12 to Session 12 and the timeline shows the party's path, character development, and territory changes across months of play. Key events can be marked canon: facts the campaign can no longer misplace.
What sits inside what
Geographic memory
Your locations in a hierarchy, plane to world to continent down to a single shop, with spatial relationships between siblings. NPCs and items sit inside that hierarchy, so "where is the Ashen Blade right now" has a structured answer. Upload images (a region, a city plan, a dungeon floor) and pin entities on them.
A fourth lens is yours to define: custom graphs let you assemble a projection around any
axis you care about. A heist crew, a pantheon, a trade network between three port cities.
Underneath them all, World Foundations holds the deep canon: pantheons, laws of magic, the
bones of the setting.
Optional
A knowledge graph your AI reads live
Grimoire runs fully without a single AI feature. If you already use Claude, ChatGPT, or
another MCP-compatible client for prep, Grimoire MCP serves this same knowledge graph as
structured data your AI queries live: it surveys the map of your world, pulls one
projection in full, then deep-dives a single NPC, instead of guessing from pasted notes.
You bring your own client, so there is no token markup and no model lock-in, and the
assistant answers from your canon because the graph is the source it reads. Turn it on
when you want it. Ignore it forever if you do not.
See how Grimoire MCP works
→
Three sessions in, the graph starts surprising you.
Record the relationships as you play. The connections you forgot you made come back on
their own.
Free tier, no credit card. Knowledge graphs included from the first entity.