Cited book knowledge for agents working on system design and implementation.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Give coding agents the book knowledge to design and build better systems.
BookMCP connects your system design and engineering books to Codex, Claude Code, and other stdio MCP clients. Ingest text-based PDFs once. Your agent can retrieve relevant principles, compare architecture trade-offs, and turn a chosen design into implementation guidance grounded in passages it can cite. Save useful design lessons with their sources for future sessions.
Use it when designing a service, reviewing an architecture, or implementing decisions about retries, consistency, caching, and reliability. The books provide reference knowledge; the agent still needs to reason about your requirements and test its implementation.
No API keys, embedding service, Python runtime, or external database required. SQLite and Tantivy BM25 search run on your machine.
Watch the 45-second demo. Retrieve a principle about safe retries, save it as a design lesson, and read it in a new MCP session. Real CLI and MCP output, edited for readability, using an original guide; source, transcript, and reproduction are included. Lesson saves happen explicitly through the CLI.
Try the system-design example Β· Download BookMCP Β· Share setup feedback
If this is useful for your agent workflow, star the repository to save it and help other developers find it.
Download a native binary. No Rust, Python, API key, or database setup required.
| Your computer | Download v0.1.0 |
|---|---|
| macOS Β· Apple Silicon | macOS ARM64 |
| macOS Β· Intel | macOS x64 |
| Linux Β· x86-64 | Linux x64 |
| Linux Β· ARM64 | Linux ARM64 |
| Windows Β· x86-64 | Windows x64 |
Extract the archive, put bookmcp (bookmcp.exe on Windows) on your PATH, then open a terminal in the extracted folder. Step-by-step installation and checksum verification Β· All release assets
Requires Rust 1.96+ and a C/C++ build toolchain: Xcode Command Line Tools on macOS, build-essential on Debian/Ubuntu, or Visual Studio Build Tools with C++ on Windows. Install Rust using rustup.
Ensure Cargo's bin directory is on your PATH. SQLite is bundled; no PDF command-line utility is needed.
Try the included, original test PDF before adding your own books:
Then ingest a PDF you have the right to use:
Ingestion prints the book ID and page/chunk counts. Repeating an ID requires --force; replacing a book keeps other books searchable. No OCR or semantic search is implied.
For example, you are designing a background job service and deciding how retries should work. Connect BookMCP to your agent, ingest the relevant books, and ask:
Help me design a background job service using the knowledge in my BookMCP library. Start with the library index. Find and read passages about retries, idempotency, and failure handling. Compare the design trade-offs using page citations, then propose an implementation plan and failure-case tests. Separate book-backed principles from your assumptions, and say where the available evidence is insufficient.
The workflow is requirements β relevant book passages β design decisions β implementation and tests. Ask your agent to explain why a principle applies to your workload, not just repeat it. BookMCP supplies searchable evidence; it does not train the model, choose an architecture automatically, or prove the resulting code correct.
Useful starting points include:
Register the installed binary once. The client starts BookMCP automatically when needed; you do not need to leave a terminal server running.
Start a new Codex session and ask:
Use BookMCP to show my library. Search tiny-test for citations, read the matching chunk, and explain its advice with a page citation.
For a desktop app whose PATH differs from your terminal, run bookmcp mcp-config codex and merge the printed stanza into your Codex config.toml. It uses absolute executable and data-directory paths. See the official Codex MCP setup.
Start a new Claude Code session, check /mcp, and use the same prompt above. See the official Claude Code MCP setup.
Run bookmcp mcp-config claude and merge its mcpServers.bookmcp entry into the client's MCP configuration. Do not overwrite your existing server entries. The output looks like this, with actual absolute paths filled in:
To share a particular library across clients, pass the same absolute --data-dir when ingesting and serving:
--data-dir takes precedence over BOOKMCP_HOME, then the platform app-data default. bookmcp doctor reports the paths in use and checks database integrity, indexed content, and managed PDF hashes.
BookMCP exposes a compact book_get_library_index tool and bookmcp://library resource: book IDs, titles, page/chunk counts, retrieval URIs, and saved-lesson counts. Full PDF text stays out of the initial index. Larger catalogs include a next_offset for pagination.
MCP clients decide whether to load resources or follow server instructions; registering a server does not automatically inject your books into every conversation. Add this short guidance to your project's AGENTS.md (Codex) or CLAUDE.md (Claude Code):
For a copyable snapshot, run bookmcp context (or --json). Refresh it after ingestion; --offset selects subsequent pages.
A typical evidence workflow is:
book_get_library_index β discover available books.book_search β search a focused term, optionally scoped to a book.book_get_chunk β read and verify the passage behind a result.book_get_context β fetch bounded neighboring chunks if needed.Pages are 1-based physical PDF pages, which may differ from printed page labels. Search snippets are previews; fetch the source chunk before quoting. Definition/example tools use keyword heuristics, so inspect their evidence.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/bookmcp)<a href="https://allmcps.com/mcp/bookmcp"><img src="https://allmcps.com/api/badge/bookmcp?style=directory" alt="BookMCP on AllMCPs" /></a>