# Grimoire

> # Grimoire Grimoire turns your TTRPG campaign into a structured, queryable database and knowledge graph and exposes it to any MCP-compatible AI client. Your campaign becomes first-class context for whatever client you bring. ## What it does This server connects an AI client to a live Grimoire campaign through 41 tools across six surfaces: - **Entities** — 14 typed schemas (NPCs, locations, factions, quests, items, creatures, lore, vehicles, and more) with full CRUD and batch creation - **Knowledge graphs** — Traverse and edit the relationship web: who allies with whom, which faction holds which ground, who knows what about whom - **Wiki pages** — Block-based rich content with embedded entries and hierarchical structure - **Open threads** — Track unresolved obligations, debts, and promises with session-anchored progressions - **Campaign bible and constitution** — Surface the immutable truths of your setting (gods, magic rules, history, canon) so the AI stops contradicting your world - **Search and catalog** — Full-text search across the campaign, plus discoverable field options and tag taxonomies for downstream tool calls ## Who it's for GMs and worldbuilders running multi-session campaigns who want their AI assistant to actually know their world, not invent generic fantasy that contradicts established canon. Works for any genre: Fantasy, Sci-Fi, Post-Apocalyptic, Horror, Modern/Urban, Superhero, or Historical, with stackable facets (Cyber, Mecha, Mystery, War, Survival) layered on top. ## What you can ask your client - "Parse my session 12 notes into NPCs and link them to the right factions." - "How would Queen Mira react if her brother betrayed her?" - "Show every NPC connected to House Vale, sorted by faction loyalty." - "What does Queen Mira know about the missing prince?" (respects DM-only secrets) - "Add Eldric the innkeeper. Gambling debts to House Vale, met the party in session 4." - **Visibility-aware.** Three tiers (DM-only, player-knowledge, common-knowledge) wrap every read. DM secrets stay DM secrets even when players are the ones querying through their own client. ## Setup 1. Click connect — Smithery handles the OAuth flow with ttrpg.bot. 2. Sign in to your Grimoire account and pick which campaign to grant access to. 3. Start asking your client about your world. A free tier covers one campaign with unlimited entities and the full MCP surface. Paid plans unlock unlimited campaigns, custom fields, and additional storage. ## Links - [Grimoire homepage] (https://www.ttrpg.bot/) - [MCP overview and use cases] (https://www.ttrpg.bot/mcp/) - [Setup documentation] (https://www.ttrpg.bot/docs/mcp/)

Source: https://www.sandbase.ai/mcp-servers/ttrpg/Grimoire

- Type: MCP Server

## What it provides

# Grimoire

Grimoire turns your TTRPG campaign into a structured, queryable database and knowledge graph and exposes it to any MCP-compatible AI client. Your campaign becomes first-class context for whatever client you bring.

## What it does

This server connects an AI client to a live Grimoire campaign through 41 tools across six surfaces:

- **Entities** — 14 typed schemas (NPCs, locations, factions, quests, items, creatures, lore, vehicles, and more) with full CRUD and batch creation
- **Knowledge graphs** — Traverse and edit the relationship web: who allies with whom, which faction holds which ground, who knows what about whom
- **Wiki pages** — Block-based rich content with embedded entries and hierarchical structure
- **Open threads** — Track unresolved obligations, debts, and promises with session-anchored progressions
- **Campaign bible and constitution** — Surface the immutable truths of your setting (gods, magic rules, history, canon) so the AI stops contradicting your world
- **Search and catalog** — Full-text search across the campaign, plus discoverable field options and tag taxonomies for downstream tool calls

## Who it's for

GMs and worldbuilders running multi-session campaigns who want their AI assistant to actually know their world, not invent generic fantasy that contradicts established canon. Works for any genre: Fantasy, Sci-Fi, Post-Apocalyptic, Horror, Modern/Urban, Superhero, or Historical, with stackable facets (Cyber, Mecha, Mystery, War, Survival) layered on top.

## What you can ask your client

- "Parse my session 12 notes into NPCs and link them to the right factions."
- "How would Queen Mira react if her brother betrayed her?"
- "Show every NPC connected to House Vale, sorted by faction loyalty."
- "What does Queen Mira know about the missing prince?" (respects DM-only secrets)
- "Add Eldric the innkeeper. Gambling debts to House Vale, met the party in session 4."

- **Visibility-aware.** Three tiers (DM-only, player-knowledge, common-knowledge) wrap every read. DM secrets stay DM secrets even when players are the ones querying through their own client.

## Setup

1. Click connect — Smithery handles the OAuth flow with ttrpg.bot.
2. Sign in to your Grimoire account and pick which campaign to grant access to.
3. Start asking your client about your world.

A free tier covers one campaign with unlimited entities and the full MCP surface. Paid plans unlock unlimited campaigns, custom fields, and additional storage.

## Links

- [Grimoire homepage] (https://www.ttrpg.bot/)
- [MCP overview and use cases] (https://www.ttrpg.bot/mcp/)
- [Setup documentation] (https://www.ttrpg.bot/docs/mcp/)

## Connect through MCP

Attach the server under an Agent’s MCP servers configuration and inspect its advertised tools before use.

## Production fit

SandBase keeps the capability alongside the model, runtime and execution trace so the workflow remains reviewable.

Ttrpg MCP servers: https://www.sandbase.ai/mcp-servers/ttrpg.md

## Get started

- Connect an AI client (Claude Code, Cursor, Codex and 22 more): `npx -y @sandbaseai/cli@latest connect --client auto`
- Setup instructions for AI agents: https://www.sandbase.ai/skill.md
- API base URL: `https://api.sandbase.ai/v1`, with `Authorization: Bearer $SANDBASE_API_KEY`
- Full index of Markdown pages: https://www.sandbase.ai/llms.txt
