Skip to main content
Glama
calibre-mcp

calibre-mcp

by caelum29

📚 calibre-mcp

npm version npm downloads MCP Registry CI Node license skills.sh

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-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.

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'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:

claude mcp add calibre -- npx -y calibre-mcp

Or 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@caelum29

Claude 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 npx install 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-mcp

Pick 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:

  1. “list my calibre libraries” — connectivity sanity check.

  2. “find books about Rust” — metadata search; in Claude Desktop the results render as the cover carousel above.

  3. “show me The Rust Programming Language” — full metadata; renders as a book card with cover, rating, and per-format read buttons.

  4. “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).

  5. “build the semantic index for my Kafka books” — one-time prep for meaning-based search (see below).

  6. “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:

  1. 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: false or confirm: true) returns write_disabled. calibre_update_book and calibre_add_book have no preview, so they are hidden from the tool list. calibre_build_index is not a write tool: with the gate off it still builds the index, and enableFts: true reports fts.status: write_disabled instead of enabling Calibre's full-text indexing.

  2. 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-write equivalent 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.

Deep dive: docs/SEMANTIC-SEARCH.md — how indexing, hybrid retrieval, and reranking work.

Meaning-based search is opt-in and needs two things:

  1. The embeddings dependency — @huggingface/transformers is an optionalDependencies entry, so a normal npx calibre-mcp / npm install gets it automatically. (Only the MCPB bundle excludes it.)

  2. An index — ask Claude to run calibre_build_index for 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.

IMPORTANT

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

calibre_search

read

Find books by title/author/ISBN/tag or Calibre query syntax (mode: meta), or full text (mode: fts); scope: book searches inside one book; filter scopes to a bundle

calibre_get_book

read

Full metadata, formats, and cover link for one book (id or uuid); include_cover: true embeds the cover image in the result

calibre_get_content

read

Read a book’s text as capped excerpts; walk the whole book via cursor. structure: true returns a chapter map (headings, offsets, per-chapter cursors) — EN + RU/UK

calibre_get_figures*

read

List a book’s figures/illustrations with captions and page locations; fetched ones render in an in-chat figure viewer

calibre_list_categories

read

Browse tags, authors, series, publishers, custom columns with counts

calibre_list_libraries

read

List the libraries the Content Server exposes (+ which is default)

calibre_semantic_search

read

Meaning-based search; mode: hybrid|vector|keyword, library- or book-scoped; filter scopes to a bundle

calibre_build_index

read*

Build/refresh the local semantic index for selected books (writes only a local index file); keywordOnly: true builds a model-free keyword index

calibre_find_duplicates

read

Duplicate groups with merge-safety scores; mode: compare diffs two books

calibre_quality_report

read

Audit: missing metadata, raw-filename titles, invalid ISBNs, author-sort issues, series gaps

calibre_recover_metadata

read

Propose real metadata via Open Library → Google Books; preview-only, apply with calibre_update_book

calibre_extract_isbn

write

Scan a book’s own text for a valid ISBN and set its isbn identifier; preview-first, apply with apply: true

calibre_update_book

write

Set metadata fields on one book (incl. #custom columns); returns the applied diff

calibre_bulk_update

write

Same change across a set of books; selection required, preview-first

calibre_add_book

write

Import a local ebook file (path-whitelisted)

calibre_remove_book

write, destructive

Permanently delete books (records + files); dry-run unless confirmed

calibre_merge_books

write, destructive

Merge duplicate records: move formats into a target, merge metadata per Calibre's rules, trash sources; dry-run plan unless confirmed

calibre_manage_bundles

write

List/create/update/delete Bundles — named topical filters backed by Calibre saved searches; --named bundles auto-hide their books from discovery searches; preview-first

calibre_ping

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-distill

Then 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_MCP_SERVER_URL

http://localhost:8080

Calibre Content Server base URL

CALIBRE_MCP_LIBRARY

auto-detect

Library name; empty = the server’s default library

CALIBRE_MCP_ENABLE_WRITE

off

Master write gate (1/true/yes)

CALIBRE_MCP_CALIBREDB_PATH

auto-discover

calibredb binary; found via standard install paths, then PATH

CALIBRE_MCP_INDEX_DIR

platform data dir¹

Semantic index + embedding-model cache

CALIBRE_MCP_MAX_BOOK_BYTES

268435456 (256 MB)

Largest book download calibre_build_index / calibre_get_content will extract; bigger books are skipped²

CALIBRE_MCP_LOG_LEVEL

info

debug/info/warn/error — for stderr and the JSONL log files in <index dir>/logs/ (see Troubleshooting → Logs)

CALIBRE_MCP_ADD_ROOTS

~/Documents, ~/Downloads

Folders calibre_add_book may import from (path-delimiter separated)

CALIBRE_MCP_BOARD_STYLE

shelf

Search-results widget style in MCP Apps hosts: shelf (scrolling cover shelf) or coverflow (3D cover flow; the Desktop bundle exposes this as a Coverflow search results toggle)

Tuning settings

Tied to the current models; a change gets a CHANGELOG note.

Variable

Default

Purpose

CALIBRE_MCP_SEMANTIC_FLOOR

0.78

Cosine score below which semantic results are flagged low-confidence

CALIBRE_MCP_RERANK

on

Cross-encoder rerank stage on semantic search (~576 MB model, seconds of CPU per query); set off/false/0 to disable

CALIBRE_MCP_INDEX_BUSY_TIMEOUT_MS

5000

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_URL at 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/transformers package isn’t installed (expected with the MCPB bundle). Use the npx install, or npm install @huggingface/transformers next to the server. To search without it, build a keyword-only index (calibre_build_index keywordOnly=true) and use mode: keyword.

  • calibredb not found — install Calibre, or set CALIBRE_MCP_CALIBREDB_PATH to 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_LIBRARY when it says Unknown default library); when in doubt, leave the library unset and let the server pick its default (unless calibre_list_libraries reports 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 bundle

The 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 tools
calibre_board_dataCover board data (widget-internal)A
Read-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 indexA
Idempotent

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 metadataA
Read-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 textA
Read-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 duplicatesA
Read-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 metadataA
Read-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 textA
Read-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 figuresA
Read-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 categoriesA
Read-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 librariesA
Read-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)B
Read-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 booksA
Read-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)A
Read-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 pingA
Read-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 reportB
Read-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 metadataA
Read-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 booksA
Read-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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 19 tools

    Disambiguation4/5

    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.

    Naming Consistency4/5

    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.

    Tool Count4/5

    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.

    Completeness4/5

    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

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      Not graded
      maintenance
      An MCP server to manage and organize a Calibre ebook library, enabling metadata editing, search, conversion, and more through AI assistants.
      17
      5
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables semantic search over local Calibre libraries via MCP, allowing AI assistants to query books, annotations, and export bibliographies while keeping data private.
      9
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables 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.
      1
      MIT