# Grimoire for Gamemasters

> Grimoire for Gamemasters is a freemium MCP server for games and play. Hosted MCP server that lets an AI read and write a D&D or TTRPG campaign database. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** Web, API
- **Repository:** https://github.com/zafety-vibin/grimoire-mcp
- **MCP Registry name:** bot.ttrpg/grimoire
- **Categories:** [games and play](https://ai-powered.com/categories/games-and-play)
- **Listing updated:** 2026-11-23

## About

Grimoire stores a tabletop campaign as typed records and a knowledge graph rather than loose notes: NPCs, factions, locations, quests, items, session recaps, lore and more, linked by relationships, plus a collaborative wiki. The MCP server gives Claude, ChatGPT or Cursor 52 tools (21 read, 31 write) so answers come from current canon and new facts can be filed back from the chat.

GM secrets are enforced server-side through three visibility tiers: common knowledge, player knowledge and GM secret. Access is scoped to one campaign you pick at consent time, using OAuth 2.1 with PKCE. If the GM enables it, players can connect their own AI and see only what the player portal shows them.

It is system-neutral: the README lists D&D 5e, Pathfinder 2e, Call of Cthulhu, Shadowdark and homebrew. A free Grimoire account supplies the campaign, and the README says the free tier includes MCP access.

## Features

- **Typed campaign data:** 14 entity types with schemas and custom fields.
- **Read and write tools:** Create and update records from the conversation.
- **Knowledge graphs:** Political, timeline and geography views.
- **Open threads:** Track loose ends and their progression by session.
- **Wiki tools:** Search, read and edit block-based pages.
- **Secrets by tier:** Server-side visibility keeps GM secrets hidden from players.

## Good for

- Ask what changed since session 12
- Look up canon mid-session
- Turn prep notes into NPCs and plot threads
- Find which factions have a stake in a city
- File a session recap for players

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http grimoire https://api.ttrpg.bot/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "grimoire": {
      "type": "http",
      "url": "https://api.ttrpg.bot/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://api.ttrpg.bot/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "grimoire": {
      "url": "https://api.ttrpg.bot/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "grimoire": {
      "type": "http",
      "url": "https://api.ttrpg.bot/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://api.ttrpg.bot/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add grimoire --url https://api.ttrpg.bot/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.grimoire]
url = "https://api.ttrpg.bot/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "grimoire": {
      "httpUrl": "https://api.ttrpg.bot/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http grimoire https://api.ttrpg.bot/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "grimoire": {
      "serverUrl": "https://api.ttrpg.bot/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "grimoire": {
      "url": "https://api.ttrpg.bot/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "grimoire": {
      "type": "streamableHttp",
      "url": "https://api.ttrpg.bot/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "grimoire": {
      "url": "https://api.ttrpg.bot/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "grimoire": {
      "url": "https://api.ttrpg.bot/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "grimoire": {
      "url": "https://api.ttrpg.bot/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "grimoire": {
      "url": "https://api.ttrpg.bot/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://api.ttrpg.bot/mcp
```

Enter a Name (for example "Grimoire for Gamemasters"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "grimoire": {
      "type": "http",
      "url": "https://api.ttrpg.bot/mcp"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 2 of 20 tools delete data and 7 change data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `search_campaign` (name suggests: reads): Searches campaign entities.
- `get_entity` (name suggests: reads): Reads one entity.
- `list_entities` (name suggests: reads): Lists entities.
- `get_entity_schema` (name suggests: reads): Reports the fields a category accepts, including custom fields.
- `create_entity` (name suggests: changes): Creates an entity.
- `update_entity` (name suggests: changes): Updates an entity.
- `delete_entity` (name suggests: deletes): Deletes an entity.
- `batch_create_entities` (name suggests: changes): Creates several entities at once.
- `add_relationship` (name suggests: changes): Adds a typed edge between two entities.
- `get_relationships` (name suggests: reads): Reads relationships.
- `delete_relationship` (name suggests: deletes): Removes a relationship.
- `get_constitution` (name suggests: reads): Reads the constitutional layer, filtered by role.
- `get_knowledge_graph` (name suggests: reads): Reads political, timeline or geography projections.
- `get_open_threads` (name suggests: reads): Lists open plot threads.
- `create_open_thread` (name suggests: changes): Creates an open thread.
- `resolve_open_thread`: Marks a thread resolved.
- `add_thread_progression` (name suggests: changes): Logs progress on a thread.
- `search_wiki` (name suggests: reads): Full-text search over wiki page titles and blocks.
- `get_wiki_page` (name suggests: reads): Reads a wiki page.
- `create_wiki_page` (name suggests: changes): Creates a wiki page.

## FAQ

### How do I sign in?

OAuth 2.1 with PKCE; you pick the campaign to share.

### Which game systems work?

Any; the records are the world, not a rules engine.

### Can players use Grimoire for Gamemasters?

Yes, if the GM turns on player AI; they see only player-visible data.

### Does Grimoire for Gamemasters cost anything?

The README says the free tier includes MCP access and it never charges for AI tokens.

### How do I add Grimoire for Gamemasters to Claude Code?

Run this command in your terminal: claude mcp add --transport http grimoire https://api.ttrpg.bot/mcp

### What are the best alternatives to Grimoire for Gamemasters?

The closest alternatives to Grimoire for Gamemasters are Space-core, Agent Arena, Minecraft MCP, B.O.M Founding Bots (beta) and Wizard101 Wiki.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Space-core](https://ai-powered.com/mcp/space-core-2): Space-core is a free MCP server for games and play.
- [Agent Arena](https://ai-powered.com/mcp/agent-arena-3): Agent Arena is a freemium MCP server for games and play.
- [Minecraft MCP](https://ai-powered.com/mcp/minecraft-mcp-2): Minecraft MCP is an open-source MCP server for games and play.
- [B.O.M Founding Bots (beta)](https://ai-powered.com/mcp/b-o-m-founding-bots-beta): B.O.M Founding Bots (beta) is a free MCP server for games and play.
- [Wizard101 Wiki](https://ai-powered.com/mcp/wizard101-wiki): Wizard101 Wiki is a free MCP server for knowledge and memory.
- [Bot Poker Arena](https://ai-powered.com/mcp/bot-poker-arena): Bot Poker Arena is a paid MCP server for games and play.
- [RV Chess](https://ai-powered.com/mcp/rv-chess): RV Chess is a free MCP server for games and play.
- [Assetto Corsa Config](https://ai-powered.com/mcp/assetto-corsa-config): Assetto Corsa Config is an open-source MCP server for games and play.

---
Source: https://ai-powered.com/mcp/grimoire-for-gamemasters
