Context7
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Description from the maker (original English)
Metadata-first fiction editing and reasoning tools for long-form writing projects.
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
WRITING_SYNC_DIR, DB_PATH, OWNERSHIP_GUARD_MODEYou need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"writing": {
"command": "npx",
"args": [
"-y",
"@hanna84/mcp-writing"
],
"env": {
"WRITING_SYNC_DIR": "your-value",
"DB_PATH": "your-value",
"OWNERSHIP_GUARD_MODE": "your-value"
}
}
}
}Run this in your terminal
claude mcp add writing --env WRITING_SYNC_DIR=your-value --env DB_PATH=your-value --env OWNERSHIP_GUARD_MODE=your-value -- npx -y @hanna84/mcp-writingFill in the empty values before running it.
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"writing": {
"command": "npx",
"args": [
"-y",
"@hanna84/mcp-writing"
],
"env": {
"WRITING_SYNC_DIR": "your-value",
"DB_PATH": "your-value",
"OWNERSHIP_GUARD_MODE": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"writing": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hanna84/mcp-writing"
],
"env": {
"WRITING_SYNC_DIR": "your-value",
"DB_PATH": "your-value",
"OWNERSHIP_GUARD_MODE": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
DB_PATH envOWNERSHIP_GUARD_MODE envThese settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026
The registry name was verified with the GitHub account hannasdev, which owns the repo
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: WRITING_SYNC_DIR
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed –, and the latest version (3.29.3) reached the registry 5 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: Context7, Codebase Memory, Exa
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
An MCP service for AI-assisted reasoning and editing on long-form fiction projects.
Designed to work with OpenClaw but compatible with any MCP-capable AI gateway.
For local stdio MCP clients, run the published package directly:
WRITING_SYNC_DIR=/path/to/sync-dir DB_PATH=./writing.db npx -y @hanna84/mcp-writing
The CLI wrapper defaults to stdio transport and adds the Node 22 SQLite flag automatically when needed.
For VS Code-native setup flows (including prose styleguide setup), use:
Instead of feeding an entire manuscript to an AI and hoping it fits in the context window, mcp-writing builds a structured index from your scene files. The AI queries that index first — finding relevant characters, beats, and loglines — then loads only the specific prose it needs.
Current status:
| Guide | Description |
|---|---|
| docs/guides/setup.md | Prerequisites, first-time setup, Scrivener import, native sync format |
| mcp-writing-vscode | VS Code extension for client-native setup flows |
| docs/guides/docker.md | Docker Compose, deployment operations, MCP gateway notes |
| docs/guides/backup-recovery.md | Project backup artifacts, diagnostics, and explicit restore workflow |
| docs/guides/sidecar-compatibility.md | Sidecar compatibility roles, migration posture, and daily-work authority boundaries |
| docs/foundations/managed-structure-contract.md | Design boundaries for structural mutation, generated views, import, and maintenance workflows |
| docs/agents/tools.md | Full tool reference — auto-generated from source |
| docs/agents/README.md | Index of agent-focused guidance, examples, and boot files |
| docs/agents/use-cases.md | Agent-oriented transcripts and prompt/tooling examples |
| docs/guides/development.md | Running locally, tests, environment variables, troubleshooting |
describe_workflows surface redesigndescribe_workflows now exposes an outcome-first, discovery-first workflow map. This was a breaking change if your prompts or automation depend on previous workflow IDs or ordering; the newer recommended_next_actions tier is additive and appears before the full catalogue.
Update integrations using this mapping:
manuscript_exploration -> question_driven_discovery (or targeted_scene_reading when the task is prose inspection)prose_editing -> safe_scene_revisioncharacter_management -> character_understandingplace_management -> place_understandingreview_bundle -> review_preparationNew workflow IDs added:
thread_understandingparity_recoveryStyleguide workflows are still available, but no longer positioned as part of the primary daily workflow surface.
find_scenes and get_arc response-shape standardizationfind_scenes and get_arc now always return structured envelopes, including non-paginated calls.
results, total_count.warning / next_step are included when relevant.If your integration previously handled raw arrays for non-paginated calls, update it to parse envelopes consistently.
Safe parsing pattern:
const parsed = JSON.parse(toolText);
if (parsed.ok === false) throw new Error(parsed.error?.message ?? "tool error"); const scenes = parsed.results ?? []; const totalCount = parsed.total_count ?? scenes.length; const warning = parsed.warning ?? null; const nextStep = parsed.next_step ?? null;
get_character_sheet, get_place_sheet, list_scene_references, get_relationship_arc response-shape standardizationThese metadata-read tools now return structured envelopes instead of flat objects or raw arrays.
get_character_sheet and get_place_sheet: previously returned a flat object of field values; now return { results: [row], total_count: 1, next_step }.list_scene_references: previously returned { references, scene_id, project_id }; now returns { results, total_count, scene_id, project_id }.get_relationship_arc: previously returned a raw JSON array; now returns { results, total_count, from_character, to_character }.Safe parsing pattern for sheet tools:
const parsed = JSON.parse(toolText);
if (parsed.ok === false) throw new Error(parsed.error?.message ?? "tool error"); const sheet = parsed.results?.[0] ?? {}; const nextStep = parsed.next_step ?? null;
Safe parsing pattern for list/arc tools:
const parsed = JSON.parse(toolText);
if (parsed.ok === false) throw new Error(parsed.error?.message ?? "tool error"); const items = parsed.results ?? []; const totalCount = parsed.total_count ?? items.length;
Stable IDs remain the canonical identity for projects, chapters, scenes, characters, places, and relationship writes. When you already know the ID, pass it exactly.
Some request-boundary fields now accept unambiguous human-shaped inputs, such as scene titles, character names, place names, or case variants. Successful tools still write and return canonical IDs, with resolved_from details when the input was resolved from a non-canonical value. Ambiguous matches, near matches, or suggested-only values fail or return advisory suggestions without mutating canonical state.
Tags and Save the Cat beats remain freeform editorial vocabulary. find_scenes can match existing tag and beat casing variants, and metadata updates can suggest nearby existing vocabulary, but supplied tag and beat text is preserved unless you intentionally change it.
search_metadata is keyword/FTS metadata search over indexed titles, loglines, tags, characters, places, and versions. It is not semantic search and does not search prose text; use get_scene_prose after metadata search or structured filters identify likely scenes. Semantic/prose search remains deferred to the Embedding-Based Search backlog.
Goal: catch inconsistencies before sharing pages.
sync after your latest writing session.find_scenes for scenes involving a specific character or tag (for example, all scenes tagged injury or promise). Canonical IDs remain preferred, but character/POV filters can resolve unambiguous project-scoped character names, tag and beat filters can suggest near matches, and chapter_id accepts exact IDs or unambiguous case variants.get_arc to review that character's ordered progression across the manuscript.get_scene_prose.flag_scene where continuity needs a fix.Outcome: you review one narrative thread at a time instead of rereading the entire novel to find contradictions.
Goal: make sure subplot threads progress intentionally and resolve on time.
list_threads for the project.get_thread_arc to inspect scene order and beat labels for each thread.track_thread_arc to add or update it on the right scene.get_thread_arc to confirm pacing and coverage.Outcome: subplot structure stays visible and auditable, which reduces dropped threads in late drafts.
Goal: keep indexes accurate without manually re-tagging everything.
enrich_scene to re-derive lightweight metadata from current prose.update_scene_metadata for intentional editorial fields (for example, beat, POV, status, and tags). Tags and beats remain freeform; the tool preserves supplied text while returning suggestions when a value resembles existing vocabulary. It rejects scene characters and places; use connect_character_place_evidence when a scene proves paired sheet-backed character/place evidence, connect_scene_character_evidence for character-only evidence, and connect_scene_place_evidence for place-only evidence. Those relationship evidence tools prefer canonical IDs but also accept unambiguous scene titles, character names, place names, and case variants; ambiguous or suggested-only matches fail without mutating state. Use audit_relationship_metadata for retained sidecar/frontmatter relationship fields. Use list_chapters plus assign_scene_to_chapter or move_scene for chapter placement and ordering.search_metadata for keyword/FTS metadata searches across indexed titles, loglines, tags, characters, places, and versions, and use find_scenes to verify scenes are discoverable under structured filters. After identifying likely scenes, use get_scene_prose for prose context.Outcome: your AI assistant can reliably find the right scenes without drifting from the manuscript.
Goal: let AI propose prose edits without losing control of your draft.
propose_edit for a specific scene.commit_edit or reject with discard_edit.list_snapshots (and optional snapshot_scene) to inspect or preserve revision history.Outcome: you get AI speed with explicit approval and recoverable history for every applied change.
Goal: rebuild scene-to-character links in a controlled way after imported prose changes or metadata drift.
enrich_scene_characters_batch using the default dry_run=true to preview inferred linkOnly the beginning is shown; read the rest in the repo