📚 calibre-mcp

A Calibre MCP server — connect Claude (or any MCP client) to your
Calibre ebook library and search it by meaning, not just
keywords.
Ask your AI assistant “which of my books explain consumer-group rebalancing?” and get the
exact chapter — across your whole library or inside one book. Curate metadata, dedupe, and safely edit
your library, all through natural language.
One question → semantic search → 3D cover flow → book card → exact passage → figure viewer, all inside Claude Desktop (MCP Apps)
✨ Highlights
- 20 tools for searching, reading, curating and (opt-in) editing a library: search,
read content, browse categories, audit and recover metadata, and — with writes on — update
metadata, bulk-edit, merge duplicates, import, delete, and manage bundles (named topical
filters). Format conversion and export are not tools: they go through the Calibre CLI (the
calibre-mcp skill documents how, safely, while the GUI is open).
- Semantic search — meaning-based, hybrid vector + keyword retrieval over your whole
library or inside a single book. Multilingual (the eval fixture holds 34 books:
24 English, 8 Russian, 2 Ukrainian; the keyword half stems all three languages; cross-lingual
queries work).
- In-chat UI (MCP Apps) — in hosts that support MCP Apps (Claude Desktop), library
searches render an interactive cover carousel,
calibre_get_book a book detail card
with cover, rating, and read/similar actions, and calibre_get_figures a figure viewer
that shows you the same diagrams the assistant fetched. Text-only hosts are unaffected.
- Curation tools — find duplicates with merge-safety scoring, audit metadata quality,
and recover real metadata for books with raw filenames (
795731065.pdf →
Fundamentals of Software Engineering) via Open Library / Google Books.
- Safe by default — read-only unless you explicitly enable writes; destructive
operations preview first and require confirmation; all writes route through the
Content Server so they never race the Calibre GUI.
📋 Requirements
- Calibre with the Content Server running (in Calibre: Connect/share → Start
Content server). Developed and tested against Calibre 9.18; annotations and notes need 9.18+.
- Platform: verified on macOS. Linux and Windows are not claimed: the code has paths
for them and the unit suite runs on Linux in CI, but neither has had a live check. The
Claude Desktop bundle installs on macOS, Windows and Linux; it is verified live only on
macOS.
- Node.js ≥ 22.16 for the npm/npx install (not needed for the Claude Desktop
one-click bundle — Desktop ships its own runtime).
- Optional, for best PDF text extraction: poppler's
pdftotext
(brew install poppler) or Python 3 with PyMuPDF (pip install pymupdf). Without
them the server falls back to Calibre's ebook-convert.
🚀 Quick start
Easiest — let your agent install it for you
Grab the guided-installer skill and hand the whole job to your agent:
npx skills@latest add caelum29/calibre-mcp # pick calibre-mcp-setup
Then tell your agent: "set up calibre-mcp". The calibre-mcp-setup skill drives
everything below — preflight (Node, calibredb, Content Server), the Calibre-side
config, the right install for your client, and a calibre_ping
verification — asking you only the questions that are yours to answer (which client,
writes on/off). Works in any Agent-Skills-compatible harness (Claude Code, Copilot,
Amp, …). Prefer doing it by hand? Pick your client below.
Claude Code
MCP server only: