bookworm
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
π bookworm
Your AI reading companion. Point Bookworm at any folder β Obsidian vault, research papers, book collection, work docs β and Claude Desktop will read, remember, and discuss everything in it.
Like NotebookLM, but local, open-source, and through Claude Desktop.
How it works
Your documents (books, notes, articles, code, data) β Index locally (free, no API costs) β Claude Desktop reads it all via MCP β Ask anything β get expert answers
Bookworm uses local embeddings (BGE-M3) and a local vector database (Qdrant) to index your documents. Claude Desktop connects to this index via MCP (Model Context Protocol) and uses it as memory β not as a search engine, but as knowledge it has "read."
Related MCP server: Claude RAG MCP Pipeline
Supported formats
Documents & notes: .md, .txt, .pdf, .docx, .rtf
Books: .epub
Data: .csv, .tsv, .json
Web: .html, .htm
Code & configs: .py, .js, .ts, .yaml, .yml, .sh, .sql, .xml, .log
Subtitles: .vtt, .srt
Quick Start
Step 1. Clone and install
git clone https://github.com/vadimkasse/bookworm.git
cd bookworm
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtThe first run will download the embedding model (~2GB). This only happens once.
Step 2. Point to your documents
Edit config.yaml and set the path to your folder:
vault:
path: "/Users/yourname/Documents/my-notes"This can be any folder: an Obsidian vault, a folder with PDFs, a mix of books and notes β anything.
Step 3. Check that everything is ready
python3 check_status.pyYou should see all green checkmarks. If something is missing, the script will tell you what to fix.
Step 4. Index your documents
python3 index.pyThis scans your folder, extracts text from all supported files, splits it into chunks, and creates embeddings. Performance: ~1 minute per 1000 files on Apple Silicon. Cost: $0 (everything runs locally).
Indexing is incremental β when you add new files, just run python3 index.py again. Only new files will be processed.
Step 5. Connect to Claude Desktop
Open Claude Desktop β click your profile icon (bottom-left) β Settings β Developer β Edit Config.
This opens claude_desktop_config.json. Add bookworm to mcpServers:
{
"mcpServers": {
"bookworm": {
"command": "/full/path/to/bookworm/venv/bin/python3",
"args": ["/full/path/to/bookworm/search_mcp.py"]
}
}
}Important: Use full absolute paths. ~ and relative paths do not work.
Example for macOS:
{
"mcpServers": {
"bookworm": {
"command": "/Users/yourname/Projects/bookworm/venv/bin/python3",
"args": ["/Users/yourname/Projects/bookworm/search_mcp.py"]
}
}
}Save the file.
Step 6. Restart Claude Desktop
Fully quit Claude Desktop (Cmd+Q on macOS, not just close the window) and reopen it.
Step 7. Verify the connection
Open Claude Desktop β Settings β Developer. You should see bookworm with a green "running" status.
Then open a new chat, click the + button next to the message input, and look for bookworm in the tools list β it should be toggled on.
Recommended model: Use Claude Sonnet 4.6 or Opus for best results. Haiku may struggle with complex search strategies.
Step 8. (Optional) Set up a project instructions
For the best experience, create a Project in Claude Desktop:
Open the sidebar β Projects β New Project
In project settings, paste the contents of
instructions.mdas the project instructionsReplace the placeholders (
{SOURCE_NAME},{TOTAL_ITEMS},{DOMAIN}) with your valuesStart chats inside this project
The project instructions makes Claude behave as an expert who has read your entire collection, rather than a search engine that returns results.
Usage
Just talk to Claude naturally:
"What do you know about typography in the collection?"
"Find all mentions of Edward Tufte"
"What's in the Books folder?"
"Summarize the key ideas from design_principles.pdf"
"How many documents are in the database?"
"What books in my library discuss systems thinking?"
Claude picks the right search tool automatically β semantic search for topics, full-text search for specific names and phrases, and full document retrieval when needed.
Tools
Bookworm gives Claude 5 tools to work with your knowledge base:
Tool | What it does |
| Semantic search β finds relevant chunks by meaning |
| Substring search β scans the entire database for exact matches |
| Retrieves the full text of a specific file |
| Lists files in the knowledge base, with optional folder filter |
| Shows database statistics: total chunks, files, folders |
Updating your index
When you add new documents to your folder:
cd /path/to/bookworm
source venv/bin/activate
python3 index.pyOnly new files are indexed β existing ones are skipped.
Troubleshooting
"bookworm" not showing in Claude Desktop tools:
Check Settings β Developer β is bookworm "running"?
Verify paths in
claude_desktop_config.jsonare absoluteFully restart Claude Desktop (Cmd+Q, not just close)
Check MCP logs:
cat ~/Library/Logs/Claude/mcp*.log | tail -20
Claude doesn't use the tools:
Click + next to message input β make sure bookworm toggle is ON
Try asking directly: "Use your search tools to find..."
Switch to Sonnet or Opus (Haiku may not use tools effectively)
Indexing is slow:
Normal speed: ~1 min per 1000 files on Apple Silicon
First run downloads the model (~2GB) β subsequent runs are faster
Use
python3 index.py --testto index only 100 files for testing
Stack
Python 3.10+
BGE-M3 β local multilingual embeddings
Qdrant β local vector database
MCP β Model Context Protocol
Claude Desktop
Project structure
bookworm/
βββ config.yaml β settings (paths, model, chunking)
βββ parser.py β text extraction from 20+ file formats
βββ chunker.py β smart chunking (headings β paragraphs β sliding window)
βββ index.py β indexing pipeline: parse β chunk β embed β store
βββ search_mcp.py β MCP server with 5 tools
βββ check_status.py β setup diagnostics
βββ instructions.md β Claude Desktop prompt template
βββ requirements.txt β dependencies
βββ qdrant_data/ β vector database (created on first index)License
Apache 2.0 β see LICENSE for details.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Ingest, manage, and retrieve documents for RAG-powered AI applications
Personal memory layer: files, notes, messages, tasks and email, semantically indexed.
Securely search and manage workspace context files for AI agents and teams.
Universal persistent memory and knowledge retrieval layer for AI agents and LLMs.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceTurns Claude Desktop into a personal document question-answering system using local vector search. Index PDF, TXT, and Markdown documents into collections and get answers based strictly on your documents with zero hallucination.10 npm-
- AlicenseNot gradedqualityDmaintenanceEnables Claude Desktop to search and query personal document collections (PDF, Word, Markdown, text) using semantic search and conversational AI with full context preservation across exchanges.MIT
- AlicenseBqualityDmaintenanceLocal workspace memory for Claude Desktop. Indexes documents into a vector store with hybrid search, cross-session memory, auto-learn, and knowledge graph.5831 PyPI18AGPL 3.0
- AlicenseNot gradedqualityDmaintenanceEnables Claude Desktop to perform local-first semantic search, ingest documents, and manage a private knowledge base with hybrid search, PII redaction, and multi-format support.1MIT