GhostWriter Framework

Narrarium

An open-source framework for AI-assisted book writing. Manage your story canon, chapters, characters, locations, timelines and more โ€” all stored as plain Markdown in a GitHub repository.

๐Ÿ“š Book Management System

Web app to manage your Narrarium books. Sign in with Google, connect GitHub repositories, configure Azure OpenAI, and work on your story structure โ€” all from your browser.

Open BMS โ†’

๐Ÿ“– Documentation

Complete reference for the Narrarium packages, MCP server tools, repository spec, and writing guidelines. Generated directly from the repository source.

Browse docs

๐Ÿ”Œ MCP Integration

Local and public MCP surfaces for AI agents. 70 local tools and 4 public tools for canon search, chapter writing, and more.

MCP reference

How it works

1. Create a book repo

Run npm create narrarium-book to scaffold a new repository with the correct folder structure for chapters, characters, factions, and more.

Starter CLI

2. Write with AI agents

Connect the MCP server to your AI coding agent. Tools let the model search canon, draft chapters, evaluate prose, and keep the plot consistent.

MCP tools

3. Manage from the BMS

Use the Book Management System to browse your books, review chapters and paragraphs, and configure Azure OpenAI for AI writing assistance.

Open BMS โ†’

Documentation