chronicle-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@chronicle-mcpLog a new character named Duchess Matilda of Tuscany"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
chronicle-mcp
chronicle-mcp is a local Model Context Protocol (MCP) server providing persistent, queryable memory for Crusader Kings II tabletop-style roleplaying sessions. It equips AI agents with direct tools to log and retrieve characters, timeline events, and lore documents ("tomes"), backed entirely by plain JSON files on disk.
Features & Safe Upsert Behavior
Explicit ID Upserting: Calling
upsert_characterorupsert_tomewithout anidalways creates a new record with a fresh ID, even if an existing character or tome shares the same name/title (crucial for tabletop RP campaigns with recurring or dynastic names across generations).Lookup Helpers: Use
find_character_by_nameorfind_tome_by_titleto search for existing records and retrieve theiridbefore performing updates withupsert_*.Standardized Responses: All tool responses follow a consistent
{ success: boolean, ...data, message?: string }shape.Robust Storage: Fast in-memory cached reads paired with ~300ms debounced disk writes and automatic recovery for corrupted JSON files.
Related MCP server: ai-journal
Setup
Install dependencies:
npm installBuild the project:
npm run build
Running the Smoke Test
To run the complete automated smoke test suite (including isolated CRUD, non-overwriting upsert checks, and corrupt file recovery tests) against a temporary scratch directory (./data-test/), run:
npm run test:smokeAntigravity CLI Registration
Register chronicle-mcp in your Antigravity CLI configuration (global at ~/.gemini/config/mcp_config.json or project-level at .agents/mcp_config.json):
{
"mcpServers": {
"chronicle": {
"command": "node",
"args": ["c:/Users/manji/Downloads/chronicle-mcp/build/index.js"],
"env": {
"CHRONICLE_DATA_DIR": "c:/Users/manji/Downloads/chronicle-mcp/data"
}
}
}
}(Replace c:/Users/manji/Downloads/chronicle-mcp with the absolute path to your local chronicle-mcp installation directory if installed elsewhere).
Data & Backups
All persistent campaign memory is stored in three plain JSON files inside the data/ directory (characters.json, timeline.json, and tomes.json). Creating a full backup of your RP campaign is as simple as copying or committing the data/ folder. You can also customize the data storage location by setting the CHRONICLE_DATA_DIR environment variable in your mcp_config.json.
"# chronicle-mcp"
This server cannot be deployed
Maintenance
Related MCP Connectors
Official remote MCP server for Archivist AI TTRPG campaign memory: characters, sessions, and more.
Manage your tabletop RPG campaign from any MCP client: worlds, sessions, quests, lore, recaps.
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Related MCP Servers
- AlicenseAqualityAmaintenanceA Python MCP server that gives LLMs persistent, searchable access to project context — documentation, architecture decisions, and session notes.22AGPL 3.0
- AlicenseNot gradedqualityBmaintenanceA local MCP server for journaling, organizing, and recalling your work. It captures entries as plain markdown files, indexes them for full-text and structured search, and enables querying via natural language.1MIT
- AlicenseNot gradedqualityCmaintenanceA lightweight personal knowledge base MCP server that lets clients store, search, organize, and summarize research notes from a local JSON file.MIT
- AlicenseNot gradedqualityAmaintenanceAn MCP server that gives AI agents durable, temporal memory over local markdown vaults, with tools for searching, asserting facts, querying point-in-time state, and reinforcing useful knowledge.58 npmMIT