drafta-mcp

MCP server that exposes a local Drafta note library to Claude Code, Zed and other MCP clients. Local files only, no network

A new way for AI to search for data
View on GitHub
1GitHub stars
8commits on main
0forks
v1.0.0latest release, 2026-10-18

Swift 98.2%, JavaScript 1.4%, Shell 0.4% · created 2026-09-26 · last push 2026-10-18

What XERJ indexed

Snapshot

64 files · 756.3 KB

The whole repository at commit 47db1283d9 (2026-10-18). It is the newest commit on main.

Selected work

“Add MCPB bundle that launches the Drafta.app helper”. 6 files, 214 lines in mcpb, scripts, the project root.

Licence

The repository

Apache-2.0

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Apache-2.0, with credit

The author agreed by email on 2026-10-18. Same terms as the repository. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution

macosmcpmodel-context-protocolnotesswiftdraftaclaude-codeclaude-code-plugin

Example questions

The prompt

Paste it into your AI agent. It clones rpegorov/drafta-mcp at the pinned commit and indexes it on your machine.

Search the GitHub repository rpegorov/drafta-mcp with XERJ (https://hub.xerj.org/corpus/rpegorov--drafta-mcp).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/rpegorov/drafta-mcp drafta-mcp && git -C drafta-mcp checkout 47db1283d94625aedf208013650053389134dd2c
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./drafta-mcp --url http://127.0.0.1:9200 --prefix drafta-mcp --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: Apache-2.0. Keep the copyright notice and credit the authors.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.