The Grimoire

One searchable place for Destiny lore, built so you and an AI can read the same source and check the same quotes.

What it is #

The Grimoire is one database file in a folder on your computer. Think of it as a local library in a single file: Destiny's books and their entries, dialogue from missions, raids, seasons and events, grimoire cards, item lore, triumphs and seals, plus a hand-picked list of characters and the lines they speak. The dialogue includes full conversations and extracted gameplay subtitles. It is not a complete archive of every line, and some rows are narration or objectives from a string bank; the speaker, source and tier are kept alongside.

You get the file from the project's download page, or by building it from the source files yourself. It is not an app and it does not install a service. Once it is on your computer, every lookup is local: nothing runs in the background, nothing is downloaded while you search, and nothing is sent anywhere. No account, no key, no network.

Because everything sits in one place, a single search can cross all of it at once. You can follow a character through a storyline, find the exact exchange behind a half-remembered quote, read the lore attached to a weapon or a piece of armor, or compare how different factions describe the same event. You can browse it yourself, or let an AI look things up through the optional connector.

Why it helps #

  • You stop tab-hopping. Search one place instead of a dozen wiki pages.
  • You can check a quote. A built-in checker tells you whether a line is real before you repeat it.
  • Your AI sees the same text you do. All Twelve characters read this library. With the optional connector, a compatible AI app can read it too.
  • The pieces stay separate. The library is useful on its own. The AI connection is optional. The characters are optional. Together they save you from copying lore into a chat and hoping.

What's inside #

The current build has:

110books
1,158book entries
9,229transcripts
125,324transcript lines
2,889grimoire cards
58,764items
18expansions
28seasons
9events
71activities
70seals
20curated characters

There are 176,794 searchable entries.

The numbers show the size of the library. They do not claim completeness: 7,911 of the transcript headers and 55,678 of the lines are caption-tier, and some activities have no dialogue. Read Limits and provenance before quoting or publishing.

How the pieces fit #

The Grimoire has three layers that work independently and together:

  • The Library โ€” grimoire.db with all books, transcripts, items, and search
  • The Characters โ€” 12 Destiny characters who read the library and cite sources
  • The Connector โ€” MCP server and skill file for AI clients (optional)

You can start with any one piece. Adding the others does not require a second copy.

For Experts (or enthusiasts) #

How the archive is built, what tools can use it, and the quote rules. Skip this if you only want to read lore.

How it is built

The database is built from files in the repository, not fetched while you search. Every content row carries the source we have; where a source is missing, the field stays empty rather than being filled in. Speaker names are cleaned up so one character does not split across several spellings.

Search uses SQLite FTS5. You get the passage back, not a list of files to open.

Ways to read it

  • Command line

    Search, character lines, items, books, transcripts, records and quote checks. JSON output for scripts.

  • MCP server

    22 read-only tools over local stdio for AI clients.

  • Skill file

    A drop-in skill for runtimes that load skills instead of MCP servers.

  • db/capabilities.json

    The machine-readable manifest of tables, views, commands and contracts.

The command line and MCP server call the same Python layer. Fix a query once and both get it.

The quote checker

verify takes a line and an optional speaker, normalises it the same way as canon, and exits non-zero when the line is not there. Exact mode wants a whole canonical row, not a fragment.

python3 db/query.py verify "Absolutely not." --speaker "Eris Morn" --exact

That is the check to run before putting words in a character's mouth.

Not canon

This is a fan-built, non-commercial project. Destiny, its text, characters and art belong to Bungie. The library is a reading and checking aid, not a substitute for the source material or Bungie's own published lore. A passing verify means the line is in this corpus, not that Bungie published it in that form.

Next #