Calibremcp logo

Calibremcp

Manage a Calibre library through MCP with metadata tools, hybrid search, RAG, shelves, and AI-assisted workflows.

Install Calibremcp

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "calibremcp": {
      "command": "uvx",
      "args": [
        "--from",
        "calibremcp",
        "schip-mcp-calibre"
      ],
      "env": {
        "CALIBRE_LIBRARY_PATH": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 26 tools correctly ().

Overview

calibremcp MCP server connects AI assistants to a Calibre e-book library by reading its SQLite catalog and exposing library-management tools over MCP. It combines lexical and semantic search using Calibre’s indexes and LanceDB, with support for RAG synchronization and library health analysis. Reach for it when an agent needs to find, organize, inspect, or maintain books through natural-language requests. A companion web app provides conversational library access, search, duplicate detection, virtual shelves, and reading overlays.

Use cases

  • Find books with natural-language or semantic queries
  • Organize titles into dynamic virtual shelves
  • Inspect library health and duplicate candidates
  • Synchronize Calibre metadata into a RAG index
  • Ask an AI assistant to manage book metadata

Key features

  • Calibre metadata and library management over MCP
  • Hybrid FTS5 and LanceDB semantic search
  • Incremental RAG indexing
  • Library health and duplicate detection workflows
  • Dynamic virtual shelves
  • Next.js web app with conversational library access

Tools26

What Calibremcp lets your agent do. Expand a tool for its parameters.

Verified live~9.0k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/15 checks healthy over the last 35d

What it can do

From the 26 tools this server returned when we ran it.

Can delete or modify data · 7Makes network requests · 3Read-only tools · 19
Network at startup2 connections
Files written at startup3

Observed 2026-10-27 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · calibremcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars52Stargazers on the source repository.
Last commit1d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed26Callable tools this server registers over MCP.

How Calibremcp works

What calibremcp does

calibremcp gives MCP-compatible AI clients access to a Calibre library. It reads Calibre’s metadata.db directly and exposes operations for discovering, inspecting, and organizing books. The project is designed around natural-language library tasks such as finding unread science-fiction titles, opening a random book by an author, or checking overall library health.

Its capabilities extend beyond basic metadata lookup. The backend supports hybrid search, retrieval-augmented generation, library health scans, duplicate-book candidate clustering, and dynamic virtual shelves. It also includes workflows intended for agentic chaining, allowing an assistant to combine several library operations into a larger task.

How it works

The MCP backend is built with FastMCP and includes a FastAPI layer for REST access and background work. MCP clients communicate with the server over standard input and output, while the web application communicates with the backend through REST and server-sent events.

Search combines Calibre’s FTS5-based lexical index with vector retrieval from LanceDB through reciprocal rank fusion. Metadata can be incrementally synchronized into the RAG index. Local embedding support uses fastembed with the BAAI/bge-small model, and AI workflows can use Ollama or OpenAI providers.

The repository also contains a Next.js web app backed by the same FastAPI service. It runs separately from Calibre’s own content server: Calibre continues to provide its native catalog, OPDS support, and browser reading features, while CalibreMCP focuses on AI-assisted discovery and maintenance.

Setup and configuration

Windows users can install the packaged application by downloading the Calibre MCP_*_x64-setup.exe file from the project’s Releases page and launching it. Claude Desktop users can install the MCPB bundle through the client’s MCP server settings.

A source-based setup uses the repository’s just sync command followed by just start-webapp. For an MCP client configuration, run the server with uv run calibre-mcp and set CALIBRE_LIBRARY_PATH to the directory containing the Calibre library. The example configuration uses a Windows path, but the variable should point to the appropriate library location on the host system.

The web app uses port 10721 and the backend uses port 10720 in the documented architecture. It binds to loopback by default when started with start.ps1; the LAN startup script can expose it to a local network or Tailscale environment. Because the LAN mode has no authentication, use it only on a trusted network.

Tools and capabilities

The MCP interface groups library operations into portmanteau tools covering:

  • Calibre metadata access and library management
  • Lexical, semantic, and hybrid book search
  • LanceDB-backed RAG indexing and incremental synchronization
  • Library health checks and maintenance workflows
  • Duplicate candidate detection
  • Dynamic virtual shelves
  • Agentic workflows and chained operations

The web app adds a conversational AI librarian interface, book-cover browsing, faceted filtering, detail views, and embedded reading overlays. These web features complement rather than replace Calibre’s content server.

Limitations and notes

Direct catalog access depends on a usable Calibre library and its SQLite metadata database. The project is primarily presented for Windows installation, with a Python source workflow for developers. LAN or Tailscale access to the web app does not include authentication, so it should not be exposed beyond a trusted network.

CalibreMCP and the Calibre content server serve different purposes. Calibre’s server remains the component for native distribution, OPDS access, and its built-in browser reader; CalibreMCP supplies the MCP tools, AI search, RAG, and maintenance features.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Calibremcp

calibremcp is an MCP server that connects AI assistants to a Calibre e-book library. It reads Calibre’s metadata database and provides tools for metadata management, hybrid lexical and semantic search, RAG indexing, library health checks, duplicate detection, virtual shelves, and agentic workflows.

Install it on Windows by downloading the x64 setup executable from the project’s Releases page and launching it. Claude Desktop can also install the MCPB bundle from its MCP server settings. Developers can clone the repository and run `just sync`.

Yes, calibremcp is described as working with Cursor through MCP. Configure the client to launch `uv run calibre-mcp` and set `CALIBRE_LIBRARY_PATH` to the directory containing your Calibre library.

Set the `CALIBRE_LIBRARY_PATH` environment variable to your Calibre library directory. The MCP client configuration passes this variable to the server, which reads the library’s `metadata.db` catalog.

Yes, calibremcp combines Calibre’s FTS5 lexical search with LanceDB vector retrieval using reciprocal rank fusion. Its RAG layer supports incremental synchronization, and local embeddings use fastembed with the BAAI/bge-small model.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCalibremcp AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/calibremcp?style=directory)](https://allmcps.com/mcp/calibremcp)
HTML Embed
<a href="https://allmcps.com/mcp/calibremcp"><img src="https://allmcps.com/api/badge/calibremcp?style=directory" alt="Calibremcp on AllMCPs" /></a>