calibre-mcp
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.
calibre-mcp
A read-only MCP server for a Calibre ebook library. Point an agent at your library and it can search it with Calibre's own query syntax, read full metadata, browse facets, and page through the actual text of EPUB and PDF files.
calibre-mcp --library "/home/you/Calibre Library"Why another one
calibre_full_mcp_server works, but three things made it unreliable in daily
use:
Problem there | Here |
Holds the library open, so books added afterwards are invisible until restart — and lookups answer "no such book" confidently | Opens |
No file formats or paths in metadata; can't tell an EPUB from a metadata-only stub | Formats, sizes and on-disk paths are always returned |
Empty fields are silently omitted, so "no tags" and "field unsupported" look identical | Missing values come back as |
Ships | Read-only: no tool can modify or delete anything |
It also runs as a stdio server, so there is no daemon to restart and no second copy of the library state to disagree with Calibre.
Related MCP server: calibre-mcp
Tools
Tool | What it does |
| Calibre query syntax ( |
| Full metadata: authors, tags, series, publisher, languages, identifiers, description, rating, formats + sizes, cover, custom columns. |
| The same for a batch of ids. |
| Distinct values with counts for authors, tags, series, publisher, languages, formats, rating, or |
| A character range of the book text. EPUB is parsed natively; PDF via |
| Regex search within one book, with context snippets. |
| Cover image path, optionally inline as base64. |
| Library path, counts, formats present, custom columns. |
Install
Requires Python 3.10+ and mcp>=1.0. Calibre (calibredb) is used for search
when present; without it a simpler LIKE scan is used. pdftotext is needed
for PDF text and ebook-convert for exotic formats.
pipx install git+https://github.com/gletonai/calibre-mcpGentoo: app-misc/calibre-mcp in the gletonai/bakusaiga overlay.
Configuration
The library is resolved in this order, first hit wins:
--library PATH$CALIBRE_MCP_LIBRARY$CALIBRE_LIBRARYthe path Calibre itself saved (
~/.config/calibre/global.py.json)
Register it with Claude Code:
claude mcp add -s user calibre-mcp -- calibre-mcp --library "/home/you/Calibre Library"Scope
Read-only on purpose. Metadata edits, imports and conversions belong in Calibre,
where they are visible, interruptible and undoable; an agent with a delete
tool pointed at a personal library is a worse trade than the convenience is
worth.
Custom column support is best-effort: text, series, enumeration, authors, rating, bool, int, float and datetime are read; composite columns are skipped.
Development
python3 -m pytest -q # no Calibre install needed
python3 -m calibre_mcp --library /path/to/lib --versionThe tests build a synthetic metadata.db from Calibre's own DDL, so they run
anywhere; tests/test_library.py also covers EPUB spine ordering and paging.
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
Read-only search and retrieval of published books, articles and authors, with public catalog links.
Search a catalog of 1.7 million books and find books by mood, vibe, pace or genre. Read-only.
Read, search, cite, and inspect figures from your personal PDF and EPUB books.
Search and read 2.5M+ public-domain full texts from the Tower of Babel library. No key required.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables read-only access to local Calibre libraries for searching metadata, inspecting book formats, and extracting content samples. Supports full-text search, batch operations, and detailed book analysis through natural language queries.3MIT
- AlicenseNot gradedqualityDmaintenanceEnables searching, reading, and managing a Calibre ebook library through natural language, with features like metadata search, full-text search, content extraction, and library management.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables read-only search, browsing, and metadata retrieval from a local Calibre e-book library using natural language queries.MIT
- FlicenseAqualityCmaintenanceEnables bibliographic research on a private local Calibre library by providing read-only metadata search, book inspection, and optional RAG-based content retrieval through MCP.5-