library-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@library-mcpask the library what is the capital of France"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
library-mcp
A specialized "library keeper" sub-agent for the Pythia stack: ingest PDF/EPUB books, then answer questions grounded in them via local embedding search.
Two MCP servers, one shared knowledge base:
library-parse:learn(file_name)extracts, chunks, and embeds a book from a shared inbox/attachment-cache directory intoknowledge.db, classifying it as a book/article/notes deterministically (structural markers, no LLM) and extracting a real title from file metadata when present.learn_text(title, text, source_url)ingests already-extracted text (e.g. a fetched web page), the same way, minus the file-parsing step.forget(title)removes a learned book by title or partial title, refusing on zero or multiple matches rather than guessing.list_learned()lists everything in the store, including in-progress embedding jobs, with each book's doc_type.
library-keeper:ask_library(question)embeds the question, searches the shared store, and hands matches to a small local reasoning model that decides whether to answer (with citations) or search again for connected knowledge, bounded at a few attempts. The frontier model calls this once and gets one synthesized answer back. Deterministically logs a "knowledge gap" (never from parsing the model's own wording) when a question can't be confidently answered.list_knowledge_gaps()lists open gaps — questions worth adding a source for — for human review.
Both servers always talk to the same fixed local address for embeddings and reasoning — that address is set once, in a config file, and can't be changed by a book's content or by anything a user types. So there's nothing in a PDF or a chat message that could redirect this to some other server.
More on how this was actually built and debugged — including the real bugs
found along the way (a small reasoning model not following instructions
reliably, an EPUB's table of contents accidentally confusing search results,
Project Gutenberg's own licence text getting ingested and summarized as if it
were the book, a tricky container-permissions issue) — is written up in the Pythia stack's
own docs: hermes-stack/docs/architecture/library-mcp.md.
Development
python3 -m venv .venv && .venv/bin/pip install -e ".[dev]"
.venv/bin/pytestRelated MCP server: EPUB Reader MCP Server
License
MIT.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceProvides AI agents with research capabilities for local Calibre e-book libraries, including fulltext search across titles, ISBNs, and comments, plus structured excerpt retrieval from books.Last updated2GPL 3.0
- Alicense-qualityCmaintenanceEnables AI agents to read and navigate EPUB files through 13 specialized tools for pagination, full-text search, metadata access, and footnote resolution. Supports session-based reading with table of contents navigation and chapter summaries.Last updatedMIT
- Alicense-qualityDmaintenanceEnables searching, reading, and managing a Calibre ebook library through natural language, with features like metadata search, full-text search, content extraction, and library management.Last updated813Apache 2.0
- Alicense-qualityDmaintenanceEnables natural language interaction with e-books, extracting metadata, table of contents, and chapter content from EPUB and PDF files.Last updated375Apache 2.0
Related MCP Connectors
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Local-first RAG engine with MCP server for AI agent integration.
Shared knowledge base for AI agents. Semantic search across agents, no setup required — just a URL.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Leovilhena/library-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server