calibre-mcp
calibre-mcp connects MCP clients like Claude to a Calibre ebook library, enabling meaning-based and keyword search, reading, metadata curation, and opt-in editing.
List Calibre libraries and health-check the server↔Calibre connection (
calibre_list_libraries,calibre_ping).Search books by title/author/ISBN/tag/Calibre query, full text, annotations, or notes (
calibre_search); scope to one book or count-only.Semantic search (hybrid/vector/keyword) across the library or inside one book, even for figures, after building an index with
calibre_build_index(calibre_semantic_search).Read a book's text as capped excerpts, walk it via cursor/offset, get chapter maps, and list/fetch figures as images (
calibre_get_content,calibre_get_figures).Fetch full metadata/cover for a book and browse categories like authors, tags, series, publishers and languages (
calibre_get_book,calibre_list_categories).Find probable duplicates with merge-safety scores and compare books field-by-field (
calibre_find_duplicates).Audit metadata quality (missing fields, raw filenames, invalid ISBNs, author-sort, series gaps) and propose real metadata from Open Library/Google Books (
calibre_quality_report,calibre_recover_metadata).With writes explicitly enabled: update one or many books, import whitelisted files, remove to trash, merge duplicates, manage bundles, and extract ISBNs from book text — all preview-first where destructive (
calibre_update_book,calibre_bulk_update,calibre_add_book,calibre_remove_book,calibre_merge_books,calibre_manage_bundles,calibre_extract_isbn).In MCP Apps hosts, render interactive UI: a cover-board carousel for searches, a book detail card, and a figure viewer (
calibre_board_data,calibre_open_bookare widget-internal helpers).
Click on "Deploy 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., "@calibre-mcp search my library for books about climate change"
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.
📚 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.
✨ Highlights
19 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-mcpskill 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_booka book detail card with cover, rating, and read/similar actions, andcalibre_get_figuresa 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.
Related MCP server: access-calibre
📋 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'sebook-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-setupThen 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:
claude mcp add calibre -- npx -y calibre-mcpOr install the plugin — server and the companion skills in one step, with a settings dialog (server URL, library, write gate) at install time:
/plugin marketplace add caelum29/calibre-mcp
/plugin install calibre-mcp@caelum29Claude Desktop (one-click)
Download the .mcpb bundle from the
latest release and open it —
Claude Desktop installs it and prompts for settings (server URL, library, writes on/off).
No terminal needed.
About the install warning. Claude Desktop shows “Installing will grant this extension access to everything on your computer… developer information has not been verified by Anthropic” for every extension installed from a file rather than the built-in directory — it’s not specific to this one. The server runs as a local Node process under your user account, exactly like the
npxinstall below; the bundle is built and published by CI from this repository, so you can audit what you’re running. Click Install to proceed.
The bundle ships without the optional embeddings dependency to stay small, so the two semantic-search tools report themselves unavailable. Metadata and full-text search work fully. For semantic search, use the npx install below instead.
Claude Desktop (JSON config)
Add to claude_desktop_config.json:
{
"mcpServers": {
"calibre": {
"command": "npx",
"args": ["-y", "calibre-mcp"]
}
}
}Cowork
Configure the server in Claude Desktop (either method above) — Desktop bridges local MCP servers into Cowork automatically. No extra setup.
Skills only — any agent (Claude Code, Codex, Cursor, …)
The repo's Agent Skills — a guided installer (calibre-mcp-setup), the calibre-mcp usage
guide, and the two distill skills — install into any Agent-Skills-compatible harness with
the skills.sh installer:
npx skills@latest add caelum29/calibre-mcpPick the skills and target agents interactively. Two philosophies, same as
mattpocock/skills: skills.sh copies the files
into your setup so you can hack on them; the Claude Code plugin (above) keeps them as a
managed, auto-updating bundle. Either way the skills drive this MCP server's tools, so
install the server too — or let the calibre-mcp-setup skill do it: it walks any agent
through preflight, per-client install, and verification.
First contact — a five-prompt tour
The server auto-detects your default library; if the Content Server isn’t reachable it logs an actionable hint to stderr. Then try, in order:
“list my calibre libraries” — connectivity sanity check.
“find books about Rust” — metadata search; in Claude Desktop the results render as the cover carousel above.
“show me The Rust Programming Language” — full metadata; renders as a book card with cover, rating, and per-format read buttons.
“show me figure 2.3 from the JWT Handbook” — the figure arrives as an image for the assistant and, in Claude Desktop, in a figure viewer you can zoom and pan. If the first description doesn’t match what you see, ask “look at the image — what does it actually show?”: models sometimes answer figure questions from memory before reading the pixels (the tool result nudges them to look; see Troubleshooting).
“build the semantic index for my Kafka books” — one-time prep for meaning-based search (see below).
“which of my books explain consumer-group rebalancing?” — semantic search; answers with ranked books, or exact passages when scoped to one book.
Bonus: “what’s wrong with my library?” runs the quality audit (missing metadata, raw-filename titles, invalid ISBNs).
✍️ Enabling writes
Write tools (calibre_update_book, calibre_bulk_update, calibre_add_book,
calibre_remove_book, calibre_merge_books, calibre_manage_bundles, calibre_extract_isbn) are
off by default. Two independent switches must be on:
The MCP-side gate — set
CALIBRE_MCP_ENABLE_WRITE=1(or tick Enable writes in the Desktop bundle settings). The gate works per call: with it off, the five preview-first tools (calibre_bulk_update,calibre_remove_book,calibre_merge_books,calibre_manage_bundles,calibre_extract_isbn) stay listed (announced read-only) and their previews work, while a call that would write (apply: true,preview: falseorconfirm: true) returnswrite_disabled.calibre_update_bookandcalibre_add_bookhave no preview, so they are hidden from the tool list.calibre_build_indexis not a write tool: with the gate off it still builds the index, andenableFts: truereportsfts.status: write_disabledinstead of enabling Calibre's full-text indexing.The Calibre-side gate — the Content Server must allow local writes. By default the server embedded in the Calibre GUI is read-only, so either enable the GUI option below or run a standalone server with
--enable-local-write:# quit the Calibre GUI first (it holds the library lock), then: calibre-server --enable-local-write --port 8080 "/path/to/Calibre Library"Or enable it on the GUI-embedded server without quitting the app: open Calibre → Preferences → Sharing over the net → Advanced and tick “Allow un-authenticated local connections to make changes to the library” (i.e. permit local write access), then restart the Content Server from the GUI. This is the
--enable-local-writeequivalent for the embedded server.
With only the first switch on, writes reach Calibre but it refuses the write — the error message tells you exactly that. Reads work fine against the GUI-embedded server.
Safety behavior: calibre_bulk_update requires an explicit book selection (ids or
query — there is no “all books” default) and previews changes until you pass
preview: false. calibre_remove_book is a dry-run until you pass confirm: true;
deletion removes records and files, permanently. calibre_merge_books shows its full
merge plan until you pass confirm: true, and trashed sources stay recoverable from
Calibre's trash (mode safe keeps them entirely). calibre_add_book only imports files
from whitelisted folders (CALIBRE_MCP_ADD_ROOTS). calibre_extract_isbn only previews the
ISBN it found until you pass apply: true.
🔎 Semantic search
Deep dive:
docs/SEMANTIC-SEARCH.md— how indexing, hybrid retrieval, and reranking work.
Meaning-based search is opt-in and needs two things:
The embeddings dependency —
@huggingface/transformersis anoptionalDependenciesentry, so a normalnpx calibre-mcp/npm installgets it automatically. (Only the MCPB bundle excludes it.)An index — ask Claude to run
calibre_build_indexfor the books you care about (by ids or a Calibre query). The first build downloads the embedding model (multilingual-e5-small, ~118 MB, one-time) into the index directory; after that everything runs offline. Indexing runs at roughly 100 chunks/sec on Apple Silicon.
Search results are sharpened by a cross-encoder reranker whose model is a separate
~576 MB one-time download. calibre_build_index pre-downloads it during the build —
the step you already expect to be slow. If you skip straight to searching on a machine
without the cached model, your first hybrid/vector search triggers that download
instead. Reranking also adds seconds of CPU per semantic search; set
CALIBRE_MCP_RERANK=off to disable it (faster, noticeably less precise ranking).
Then calibre_semantic_search answers queries like “which of my books explain consumer
group rebalancing?” — across the library (scope: library, ranks books) or within one
book (scope: book, returns located passages). Retrieval is hybrid by default:
vector cosine + stemmed keyword FTS, fused with reciprocal rank fusion, then reranked by
the cross-encoder (top 30 candidates) when its model is available. Queries in one
language find passages in another (EN⇄RU verified).
No embeddings? Keyword search still works. mode: keyword uses no model at query
time, but it needs an index. If the embedding model isn’t installed (the default MCPB
bundle ships without it), build a keyword-only index — calibre_build_index with
keywordOnly: true, or it happens automatically when the model is absent — and search with
mode: keyword. That path has zero ML dependencies. mode: vector then errors actionably
and mode: hybrid degrades to keyword (with a note); rebuild with the model installed
(force: true) to add semantic ranking.
🧰 Tools
Full reference with parameters and examples:
docs/TOOLS.md.
Tool | Access | What it does |
| read | Find books by title/author/ISBN/tag or Calibre query syntax ( |
| read | Full metadata, formats, and cover link for one book (id or uuid); |
| read | Read a book’s text as capped excerpts; walk the whole book via cursor. |
| read | List a book’s figures/illustrations with captions and page locations; fetched ones render in an in-chat figure viewer |
| read | Browse tags, authors, series, publishers, custom columns with counts |
| read | List the libraries the Content Server exposes (+ which is default) |
| read | Meaning-based search; |
| read* | Build/refresh the local semantic index for selected books (writes only a local index file); |
| read | Duplicate groups with merge-safety scores; |
| read | Audit: missing metadata, raw-filename titles, invalid ISBNs, author-sort issues, series gaps |
| read | Propose real metadata via Open Library → Google Books; preview-only, apply with |
| write | Scan a book’s own text for a valid ISBN and set its |
| write | Set metadata fields on one book (incl. |
| write | Same change across a set of books; selection required, preview-first |
| write | Import a local ebook file (path-whitelisted) |
| write, destructive | Permanently delete books (records + files); dry-run unless confirmed |
| write, destructive | Merge duplicate records: move formats into a target, merge metadata per Calibre's rules, trash sources; dry-run plan unless confirmed |
| write | List/create/update/delete Bundles — named topical filters backed by Calibre saved searches; |
| read | Health check: is Calibre reachable end-to-end? |
* Figures reach the assistant as real images, but models sometimes describe a figure from memory before looking at it — if the first description doesn’t match the picture, re-ask with “look at the image — what does it actually show?” (details in Troubleshooting).
In MCP Apps hosts, calibre_search and calibre_semantic_search (library scope) render
their results as a cover-board carousel, calibre_get_book as a book card, and
calibre_get_figures as a figure viewer (reading pane + margin rail, click to zoom to 100%)
so you see the diagrams the assistant is reading — covers load from your local Content
Server. Everywhere else the same tools return their usual text results; no configuration
needed either way.
📚 Companion skill: calibre-distill
An Agent Skill that distills a book from your library into a reusable, structured skill
(frameworks, mental models, glossary, cheatsheet) by driving the tools above — the chapter
map (calibre_get_content structure=true) plus in-book keyword + semantic search. Works on
EN and RU/UK books, no temp files, and can optionally stamp what you learned back into the
catalog (tags + a distill note) through the gated write tools.
It ships in this repo at skills/calibre-distill/. Install it
via npx skills@latest add caelum29/calibre-mcp or the Claude Code plugin (see
Quick start), or manually by symlinking:
ln -s "$PWD/skills/calibre-distill" ~/.claude/skills/calibre-distillThen ask, e.g., “distill book 187 into a skill called kafka-ops”. Note: the MCPB bundle can’t ship skills — install the skills separately from the MCP server on Claude Desktop.
Companion skill: calibre-distill-topic
A sibling skill that synthesizes one topic across several books (≥3) into a single
concept-keyed skill — a decision framework, per-concept sections, a cross-source config
table, an explicit “where the sources disagree or complement” section, and an ISBN
bibliography that doubles as a live-source binding. Use it when you want a topic study aid
built from a shelf of books rather than a single-book distill (single-book requests belong
to calibre-distill). Ships at skills/calibre-distill-topic/;
installed by the same skills.sh / plugin / symlink paths as above.
Then ask, e.g., “synthesize kafka reliability from books 187 182 571 186 into a skill.”
Generated skills can be checked with the bundled verifier — verbatim-overlap (8-gram shingles vs the source books), quote budget, compression floor, heading mirroring, cursor leaks, and attribution:
pnpm build && node scripts/legal-gate.mjs <skill-dir> --book <id> [--book <id>…]⚙️ Configuration
Everything is optional — with a running Content Server on the default port, zero config works. Environment variables (the Desktop bundle exposes the same settings as UI fields). Stable settings are part of the semver contract; tuning settings may change in a minor release (see the stability policy).
Stable settings
Variable | Default | Purpose |
|
| Calibre Content Server base URL |
| auto-detect | Library name; empty = the server’s default library |
| off | Master write gate ( |
| auto-discover |
|
| platform data dir¹ | Semantic index + embedding-model cache |
|
| Largest book download |
|
|
|
|
| Folders |
|
| Search-results widget style in MCP Apps hosts: |
Tuning settings
Tied to the current models; a change gets a CHANGELOG note.
Variable | Default | Purpose |
|
| Cosine score below which semantic results are flagged low-confidence |
| on | Cross-encoder rerank stage on semantic search (~576 MB model, seconds of CPU per query); set |
|
| How long an index write waits on another server process holding the index (e.g. Claude Desktop + Claude Code side by side) before failing |
¹ macOS ~/Library/Application Support/calibre-mcp/index, Windows
%APPDATA%\calibre-mcp\index, Linux $XDG_DATA_HOME/calibre-mcp/index.
² Size the cap against what the Content Server serves, not the file on disk — it can hand back a much heavier copy (an 8 MB PDF served as 70 MB), so a disk-sized cap silently skips books.
🩺 Troubleshooting
More symptoms and fixes:
docs/TROUBLESHOOTING.md.
“Calibre unreachable” / connection refused — the Content Server isn’t running. In Calibre: Connect/share → Start Content server, or point
CALIBRE_MCP_SERVER_URLat the right host/port.Write refused / “Forbidden” — the Content Server doesn’t allow local writes. See Enabling writes above: run a standalone server with
--enable-local-write, or tick the GUI’s Sharing over the net → Advanced option and restart the Content Server.Full-text search returns nothing / errors — Calibre’s FTS index isn’t enabled for the library. In Calibre: Preferences → Searching → Full text search, enable it, and let indexing finish (it can take a while on large libraries).
“embedding model unavailable” — the optional
@huggingface/transformerspackage isn’t installed (expected with the MCPB bundle). Use the npx install, ornpm install @huggingface/transformersnext to the server. To search without it, build a keyword-only index (calibre_build_index keywordOnly=true) and usemode: keyword.calibredbnot found — install Calibre, or setCALIBRE_MCP_CALIBREDB_PATHto the binary (macOS:/Applications/calibre.app/Contents/MacOS/calibredb).A PDF extracts to empty text — it’s a scanned/image PDF; Calibre has no OCR, and neither do we.
Unknown library — the error lists the known libraries; pass one’s display name or ID (or fix
CALIBRE_MCP_LIBRARYwhen it says Unknown default library); when in doubt, leave the library unset and let the server pick its default (unlesscalibre_list_librariesreports the default as unavailable — then pass an explicit id).
🛠️ Development
pnpm install
pnpm build # tsc → dist/
pnpm test # vitest (unit; no network, no model download)
pnpm test:model # gated embedding-model integration tests (~118 MB download)
pnpm inspect # MCP Inspector against the built server
pnpm pack:mcpb # build the Claude Desktop .mcpb bundleThe codebase is Clean Architecture: tool handlers, Calibre clients, and the semantic
core are SDK-free; only src/server.ts touches the MCP SDK. How it fits together:
docs/ARCHITECTURE.md. What semver covers:
docs/STABILITY.md. User docs — the tool reference and the
semantic-search guide — live in docs/.
Questions, ideas, and setups welcome in Discussions; bug reports and PRs in Issues.
📄 License
MIT © 2026 Artem Sorochynskyi
An independent project, not affiliated with Calibre.
Calibre itself is
Kovid Goyal's open-source project (GPLv3) —
this server drives it as a separate program via calibredb and the Content Server.
Available Tools
19 toolscalibre_board_dataCover board data (widget-internal)ARead-only
Internal endpoint for the in-chat cover-board widget. Returns the cached payload of a recent search. Do not call as the model — search results already contain everything this returns.
Inputs: tool, query, filter, library. Returns: kind, tool, books, query, +8 more
calibre_build_indexBuild semantic indexAIdempotent
Build the semantic index for specific books (select them with bookId, ids, or query; at least one is required; to index everything, pass a query that matches every book). A query selects ALL matching books (no 100-book cap); a call still working after ~45 s returns a "still running" status (not an error) while the build keeps committing in the background — re-run the same call to get its result; only one build runs per library at a time, and up-to-date books are skipped. Extracts, chunks, and embeds each book. Set keywordOnly=true (or when the embedding model is absent, it happens automatically) to build a keyword-only index that powers mode:"keyword" search with zero ML dependencies. Re-run after adding books; use force to re-index unchanged ones. Set enableFts=true to also turn on the Calibre full-text index for the library (needs writes enabled on this server; with writes off the semantic build still runs and the fts.status result field is write_disabled; already-enabled is a no-op; Calibre indexes in the background and the call does not wait). Set prune=true to also drop index entries for books that no longer exist in the library (removals/merges leave searchable orphans behind).
Inputs: ids, force, prune, query, +4 more. Returns: fts, chunks, figures, failures, +19 more
calibre_bulk_updateBulk update book metadataARead-only
Apply the same metadata changes (tags, series, publisher, etc.) to a set of books selected by ids, a search query, or filter (a bundle name). Preview-first: returns the per-book diff without writing unless preview is set false. A book set is required (never all books). A list in changes replaces the whole list; to add or remove tags while keeping the rest, use tags_add / tags_remove (merged per book, case-insensitive, not together with changes.tags). changes.identifiers merges per book by scheme (listed schemes set, others kept, null removes one). Previews work without writes; applying needs CALIBRE_MCP_ENABLE_WRITE.
Inputs: ids, query, filter, changes, +4 more. Returns: books, failed, applied, matched, +6 more
calibre_extract_isbnExtract ISBN from book textARead-onlyIdempotent
Offline scan of a book's own text for a checksum-valid ISBN → sets identifiers:isbn (no network; for online lookup use calibre_recover_metadata). Preview-first: apply=false reports only, merges into existing identifiers. Previews work without writes; applying needs CALIBRE_MCP_ENABLE_WRITE.
Inputs: id, apply, bookId, library. Returns: isbn, bookId, applied, changed, +2 more
calibre_find_duplicatesFind duplicatesARead-only
Find probable duplicate books. mode=identical (exact title+authors) or similar (fuzzy) group the library (or ids/query/filter subset — filter takes a bundle name) with a merge-safety score; mode=compare diffs 2+ ids field-by-field. Read-only — never merges.
Inputs: ids, mode, limit, query, +3 more. Returns: diff, keep, mode, count, +11 more
calibre_get_bookGet book metadataARead-only
Get full metadata (authors, ISBN, formats, comments, cover) for one book by its id or uuid (id and bookId are interchangeable — pass the bookId from a search result). Set include_cover=true only when the cover image itself must be inspected.
Inputs: id, bookId, library, include_cover. Returns: book, libraryId, serverUrl
calibre_get_contentRead book textARead-only
Extract a book's text as a capped, fenced excerpt; pass the returned nextCursor token verbatim to walk the whole book, or jump to a char position with offset (e.g. a search passage's charStart). Set structure=true for a chapter map with per-chapter cursors. To find text inside a book, use calibre_search scope=book.
Inputs: id, bookId, cursor, format, +5 more. Returns: text, count, format, hasToc, +8 more
calibre_get_figuresGet book figuresARead-only
List a book's figures — images the text references, identified by caption (Figure 1-2 / Рис. 3.1) — with location (PDF page p.N / EPUB spine section §N) + caption per figure, then fetch chosen ones as images via indexes (≤3 per call). Captions let you pick figures before spending image tokens. In MCP Apps hosts the fetched figures also render for the user in an in-chat viewer, so you can point at them by figure number — but describe only what the pixels you received actually show.
Inputs: id, bookId, detail, format, +3 more.
calibre_list_categoriesList categoriesARead-only
Browse library categories (Authors, Tags, Series, Languages, Publisher). No field → list the categories; with a field → its values + counts, filterable via a valueFilter regex (case-insensitive by default; a leading inline flag like (?i) is accepted).
Inputs: field, limit, cursor, library, +1 more. Returns: mode, count, field, total, +4 more
calibre_list_librariesList Calibre librariesARead-only
List the Calibre libraries available on the Content Server (ID and display name) and which one is the default. Other tools take either as library, or use the default when it is omitted.
Inputs: no named parameters. Returns: default, libraries, defaultUnavailable
calibre_manage_bundlesManage bundles (saved searches)BRead-onlyIdempotent
Manage Bundles via action (list | create | update | delete) — named topical filters backed by Calibre saved searches (e.g. a 'rust' bundle scoping searches to Rust books). A name starting with '-' is an exclusion marker. Also lists virtual libraries, which are read-only here. Preview-first: create/update/delete preview until confirm=true. Previews work without writes; applying needs CALIBRE_MCP_ENABLE_WRITE.
Inputs: action (required), name, confirm, library, +1 more. Returns: action, applied, bundles, matches, +2 more
calibre_merge_booksMerge duplicate booksARead-onlyIdempotent
Merge duplicate book records: moves formats from the sourceIds books into targetId (the target's copy wins conflicts), merges metadata per Calibre's rules, then trashes the sources. mode=safe keeps sources; mode=formatsOnly moves formats only. Dry-run unless confirm=true. Previews work without writes; applying needs CALIBRE_MCP_ENABLE_WRITE.
Inputs: targetId (required), sourceIds (required), mode, confirm, +1 more. Returns: mode, steps, status, targetId, +6 more
calibre_open_bookOpen book in local viewer (widget-internal)ARead-only
Internal endpoint for the in-chat widgets' Open button. Launches a book in the local Calibre viewer via the calibre:// scheme. Do not call as the model — use calibre_get_book to show a book instead.
Inputs: id (required), format, library. Returns: url, format, opened
calibre_pingCalibre pingARead-only
Health check: confirms the server reaches Calibre via calibredb and whether Calibre accepts writes; reports semantic-search status, per-library index coverage, version, write gate, busy libraries, recent errors and the log file path.
Inputs: no named parameters.
calibre_quality_reportQuality reportBRead-only
Scan books for metadata problems: missing fields, raw-filename titles, invalid ISBNs, author-sort mismatches, series gaps. Defaults to the whole library; narrow with ids/query/filter (a bundle name) or specific checks. Read-only.
Inputs: ids, limit, query, checks, +3 more. Returns: count, total, capped, issues, +5 more
calibre_recover_metadataRecover book metadataARead-only
Propose real metadata for a book with a missing/raw-filename title via online provider lookup (ISBN from its identifiers or text, else title/author) on Open Library and Google Books. Preview only — returns a changes object for calibre_update_book (needs writes enabled); never writes.
Inputs: id, bookId, library, sources. Returns: bookId, source, changes, warnings, +3 more
calibre_remove_bookRemove booksARead-onlyIdempotent
Remove books (ids) from the library. Removed books go to Calibre's Trash and can be restored from the Calibre GUI, so this is recoverable. Two-step: the first call is a dry-run listing what would be removed; re-run with confirm=true to proceed. Previews work without writes; applying needs CALIBRE_MCP_ENABLE_WRITE.
Inputs: ids (required), confirm, library. Returns: deleted, indexNote, removedIds, notFoundIds, +2 more
calibre_searchSearch booksARead-only
Find books by query: exact title, author, ISBN, tag, or Calibre query syntax (mode=meta), or full text (mode=fts). mode=fts words match independently and stemmed (events matches event); wrap a phrase in double quotes for an exact match ("event sourcing"); supports AND/OR/NOT between terms (uppercase, e.g. a NOT b). scope=book returns short keyword snippets from inside one book; first hits often land in TOC/front matter — for definitional or topic questions within a book prefer calibre_semantic_search scope=book (ranked passages with char offsets). Use calibre_semantic_search for meaning/topic queries. For "how many" questions use countOnly=true (returns only the count). filter accepts a bundle name to scope the search (list bundles via calibre_manage_bundles). Calibre 9.18+: mode=annotations searches highlights, their notes and bookmark titles (filter applies; scope=book + bookId searches one book, query "*" lists all its annotations); mode=notes searches notes attached to authors, series, tags, publisher (filters do not apply), and query "authors:Name" (or series:/tags:/publisher:/#custom:, item may be quoted) shows the whole note of that item.
Inputs: query (required), mode, sort, limit, +8 more. Returns: hits, mode, count, notes, +14 more
calibre_semantic_searchSemantic searchARead-only
Meaning-based search for query over the local index. scope=library ranks books; scope=book (needs bookId) ranks passages within one book. target=figures searches figure captions instead of text — use when the user asks for a diagram/chart/schema; hits point at calibre_get_figures for the pixels. mode=hybrid (default) fuses semantic + keyword matches; mode=vector is semantic-only; mode=keyword is exact keyword/FTS (no model at query time). All modes need an index built by calibre_build_index. filter accepts a bundle name to scope library searches (list bundles via calibre_manage_bundles). Model inference is serialized: prefer one call at a time — parallel calls queue, and past a few the extras skip the rerank.
Inputs: query (required), mode, topK, scope, +5 more. Returns: mode, note, count, scope, +19 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
The domain tools are clearly separated by resource and action, and the descriptions actively route the agent (calibre_search vs calibre_semantic_search, calibre_get_content vs search scope=book). The main blemish is two widget-only internal endpoints (calibre_open_book, calibre_board_data) that are exposed alongside model-facing tools and only marked 'do not call' in prose, plus the multi-mode calibre_search doing metadata, FTS, annotations and notes in one entry.
Nearly every tool follows a calibre_verb_noun or calibre_verb pattern (get_book, list_libraries, build_index, manage_bundles), all snake_case with a uniform prefix. The only deviation is calibre_board_data, which is noun-only and breaks the action-first convention.
19 tools sits at the upper edge of comfortable, but the scope genuinely spans search, semantic indexing, metadata repair, dedupe, bulk edits and cleanup, so most tools earn their place. Two of them (open_book, board_data) are pure UI plumbing that inflate the count without giving the model any capability.
Coverage is strong: read/browse, full-text and semantic search, metadata repair, duplicate detection, bulk update, merge, remove and index maintenance all exist, with preview-first write safety. Obvious gaps remain around adding books to the library, format conversion/export, and cover retrieval other than as a get_book flag — so the lifecycle is not fully closed.
Maintenance
Related MCP Connectors
Read-only MCP server exposing a user ORANO library to their own AI agent.
Agentic search over your Dewey document collections from any MCP-compatible client.
Personal knowledge base MCP server with semantic search, auto-categorization, metadata extraction
MCP server for Project Gutenberg: 78,000+ public-domain ebooks with full plain-text retrieval.
Related MCP Servers
- AlicenseAqualityNot gradedmaintenanceAn MCP server to manage and organize a Calibre ebook library, enabling metadata editing, search, conversion, and more through AI assistants.175MIT
- AlicenseNot gradedqualityDmaintenanceMCP server enabling LLMs to query a local Calibre Content Server for ebook metadata, chapters, and content in HTML or Markdown.MIT
- AlicenseNot gradedqualityBmaintenanceEnables semantic search over local Calibre libraries via MCP, allowing AI assistants to query books, annotations, and export bibliographies while keeping data private.9MIT
- AlicenseNot gradedqualityBmaintenanceEnables conversational management of a Calibre ebook library via MCP, including search, metadata editing, adding, converting, deduplicating, removing, and emailing books with human-in-the-loop safety.1MIT