calibre-mcp
calibre-mcp
A minimal, read-only Model Context Protocol
server for a local Calibre e-book library. It
wraps the calibredb CLI (--for-machine JSON output), so it needs no content
server and cannot modify your library — no write tools exist.
Defaults target Windows, but it runs anywhere calibredb does (macOS/Linux) —
just set the two environment variables below.
Tools
Tool | Description |
| Search using Calibre's search syntax (e.g. |
| List/browse the library, sorted; page through it with |
| Full metadata for one book by its Calibre ID. |
| Most recently added books. |
| Total number of books in the library. |
Requirements
Install
git clone https://github.com/mmccarthy404/calibre-mcp.git
cd calibre-mcp
uv syncConfiguration
Set via environment variables (Windows defaults shown; change to your paths):
Variable | Default | Notes |
|
| Path to your Calibre library folder (contains |
|
| Path to |
Run
uv run calibre-mcp # or: uv run python calibre_mcp.pyRegister with Claude Code
claude mcp add calibre --scope user -- \
uv run --directory "/path/to/calibre-mcp" python calibre_mcp.pyThen, in a new Claude session, ask things like "search my Calibre library for Erikson" or "what are my 5 most recently added books?".