scrivener-mcp

scrivener-mcp

A read-only MCP server that connects Claude Desktop to Scrivener writing projects, enabling project overviews, searches, chapter reading, word counts, synopses, and notes access.

Category
访问服务器

README

Scrivener MCP

A read-only MCP server that connects Claude Desktop to your Scrivener writing projects.

Work in Scrivener, ask Claude for help. Claude can see your entire project - structure, content, notes, synopses - but all writing happens in Scrivener where it belongs.

What can it do?

Point Claude at your novel and ask:

  • "Scan the project and give me an overview"
  • "Find inconsistencies in my character descriptions"
  • "What plot threads are unresolved?"
  • "Where do I mention the lighthouse?"
  • "What's my word count by chapter?"
  • "Read Chapter 3"

Supported Platforms

Platform Client Status
macOS Claude Desktop Supported
Windows Claude Desktop Supported

Requirements

  • Python 3.10+
  • Scrivener 3 project (.scriv folder)
  • Claude Desktop

Installation

# Clone the repo
git clone https://github.com/zaphodsdad/scrivener-mcp.git
cd scrivener-mcp

# Create virtual environment
python3 -m venv .venv
source .venv/bin/activate

# Install
pip install -e .

Setup with Claude Desktop

Add to your config file:

  • Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "scrivener": {
      "command": "/path/to/scrivener-mcp/.venv/bin/scrivener-mcp"
    }
  }
}

Restart Claude Desktop. That's it.

Available Tools (10)

Tool Description
find_projects Scan common locations for Scrivener projects
open_project Open a Scrivener project by path
scan_project Get bird's eye view: chapter titles, word counts, synopses, opening lines
list_binder Show the binder structure (folders and documents)
read_document Read a single document by title, path, or UUID
read_chapter Read a full chapter with all its scenes
search_project Full-text search across all documents
get_word_counts Word count statistics by chapter/folder
get_synopsis Read the synopsis (index card text) for a document
get_notes Read the inspector notes for a document

Recommended Workflow

  1. Open project: "Open my Scrivener project Neon Syn"
  2. Scan for overview: "Scan the project" - gives chapter summaries without loading everything
  3. Dive deeper: "Read Chapter 3" - read specific chapters as needed
  4. Search: "Search for mentions of the red door" - searches all documents
  5. If you edit in Scrivener: "Re-open the project" to refresh

Example Prompts

  • "Find my Scrivener projects"
  • "Open [project name]"
  • "Scan the project and summarize each chapter"
  • "Read Chapter 1"
  • "Search for mentions of 'lighthouse'"
  • "What's my word count by chapter?"
  • "Show me the synopsis for Chapter 3"
  • "Find plot holes based on the chapter summaries"

How It Works

Scrivener projects are folders containing:

  • A .scrivx XML file (the binder structure)
  • RTF files for each document (Files/Data/{UUID}/content.rtf)

This server parses the XML to understand your project structure, then reads and converts the RTF files to plain text for Claude to analyze.

Why Read-Only?

Scrivener is excellent software. Write in Scrivener. Use this MCP to give Claude context about your work so it can help you think through problems, find inconsistencies, and answer questions about your manuscript.

All writing stays in Scrivener where it belongs.

Limitations

  • Scrivener 3 format only (Scrivener 1/2 not tested)
  • Some RTF formatting may not convert perfectly
  • Read-only by design
  • Re-open project to see changes made in Scrivener

Related Projects

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选