Librarian MCP server
io.github.Terobyte/librarian·v0.1.1·2 starsDeterministic ebook-to-markdown pipeline with MCP tools to browse, search, and read your books.
2 stars31 downloads/wk
Reviews
Write oneNobody has reviewed Librarian yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Librarian tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan38 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 25 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Librarian compares
Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 90% of 3,470 Web search servers
- GitHub stars
- 2
- more than 70% of 1,786 Web search servers
- Downloads a week
- 31
- more than 17% of 827 Web search servers with a package
Install Librarian in Claude Code, Cursor or VS Code
claude mcp add librarian -- uvx librarian-cli
What the publisher says
From the Librarian repository's README, as published. We do not edit it. Read it on GitHub
<!-- mcp-name: io.github.Terobyte/librarian -->
📚 librarian
Turn any ebook into clean, token-counted Markdown chapters — let Claude read your bookshelf over MCP and catch it misquoting your books. Deterministic RAG: no embeddings, no network, no API keys.
Any input format — FB2, EPUB, DOCX, HTML, TXT/MD, text-layer PDF — becomes a directory of clean chapters with token counts. No network, no LLM, no randomness: the same input always produces byte-identical output.
Install
uv tool install librarian-cli
# or: pipx install librarian-cliOffline contract: install and runtime need no network (the tokenizer's vocabulary is vendored in the package).
Quick start
lib ingest examples/*.epub
lib list
lib find curiouser
lib get <book-id> --budget 3000Commands
Library root: --library (or the LIB_HOME env var, default ./library). Data goes to stdout, diagnostics to stderr. Exit codes: 0 success, 1 runtime error, 2 usage error.
Give Claude your bookshelf
librarian-cli ships a built-in stdio MCP server with 6 read-only tools — listbooks, listchapters, find, getchapters, bookinfo, verify_quote — so Claude can browse the catalog, search it, pull chapters under a token budget, and check its own quotes against the source on its own: deterministic RAG with no embeddings, no network, and no API keys.
Claude Code:
claude mcp add librarian --env LIB_HOME=$HOME/books -- uvx librarian-cliClaude Desktop (claudedesktopconfig.json):
{
"mcpServers": {
"librarian": {
"command": "uvx",
"args": ["librarian-cli"],
"env": { "LIB_HOME": "/path/to/books" }
}
}
}Verify quotes
An MCP server that catches Claude misquoting your books.
lib verify "quote" checks whether a quote actually appears in your library, verbatim — punctuation, case, ё/е, and markdown formatting don't count. Two modes:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Librarian: common questions
- Is Librarian MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Librarian safety report
- How do I install Librarian?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Librarian need an API key?
- No secret keys are declared. It reads 1 setting from the environment.
- Is Librarian maintained?
- The last commit was 64 days ago (2026-09-01). The latest release is v0.1.1.
- What can I use instead of Librarian?
- Servers from other publishers that do the same job: LetsFG — Flights & Hotels MCP server, Claude Code Explorer MCP server and Claude Code Explorer MCP server.
- How does Librarian compare with other Web search MCP servers?
- safety score 92/100 (higher than 90% of 3,470 Web search servers); github stars 2 (more than 70% of 1,786 Web search servers); downloads a week 31 (more than 17% of 827 Web search servers with a package). Full comparison.
Alternatives to Librarian
Same job from other publishers: the closest match first, then the best rated.
- LetsFG — Flights & HotelsSearch and book flights and hotels: hundreds of airlines, plus bookable hotel rates.not reviewedEstablishedA
- Claude Code Explorer MCPExplore the Claude Code CLI source — browse tools, commands, search code, and more.not reviewedEstablishedA
- Claude Code Explorer MCPExplore the Claude Code CLI source — browse tools, commands, search code, and more.not reviewedEstablishedA
- Reddit BuddyBrowse Reddit RSS; approved API access for search, analysis, and optional posting.not reviewedEstablishedA
- searxNcrawlWeb search via SearXNG and/or You.com, plus clean Markdown crawling via Crawl4AI. Self-hosted.not reviewedEstablishedA