CalibreMCP
FastMCP 3.2 MCP server for Calibre e-book library management — AI-assisted search, RAG, and agentic workflows.
README
CalibreMCP
<p align="center"> <a href="https://github.com/casey/just"><img src="https://img.shields.io/badge/just-ready_to_go-7c5cfc?style=flat-square&logo=just&logoColor=white" alt="Just"></a> <a href="https://github.com/astral-sh/ruff"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff"></a> <a href="https://python.org"><img src="https://img.shields.io/badge/Python-3.12+-3776AB?style=flat-square&logo=python&logoColor=white" alt="Python"></a> <a href="https://biomejs.dev"><img src="https://img.shields.io/badge/Linted_with-Biome-60a5fa?style=flat-square&logo=biome&logoColor=white" alt="Biome"></a> <a href="https://github.com/PrefectHQ/fastmcp"><img src="https://img.shields.io/badge/FastMCP-3.4.2+-7c5cfc?style=flat-square" alt="FastMCP"></a> <a href="https://tauri.app"><img src="https://img.shields.io/badge/Tauri-2.0-ffc131?style=flat-square&logo=tauri&logoColor=white" alt="Tauri"></a> <a href="https://github.com/Jarzembak/calibremcp/releases"><img src="https://img.shields.io/github/v/release/Jarzembak/calibremcp?style=flat-square&logo=github" alt="Release"></a> <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-green?style=flat-square" alt="License"></a> </p>
📖 Installation Guide — source installation is available now; packaged desktop and MCPB artifacts will be available after the fork's first release
FastMCP 3.4.2+ MCP server for Calibre e-book library management, AI-assisted search, RAG, and agentic workflows.
Naming
- Repository and Python distribution:
calibremcp - Python import package:
calibre_mcp - Command-line executable:
schip-mcp-calibre - Product name: CalibreMCP
The hyphenated calibre-mcp form remains only where it is an established external
identifier, such as the application-data directory.
Quick Start
The detached fork has not published a release yet. Run it from source:
git clone https://github.com/Jarzembak/calibremcp.git
cd calibremcp
uv sync
uv run schip-mcp-calibre --http
# --http starts the HTTP transport on the configured CalibreMCP port.
claude_desktop_config.json:
{
"mcpServers": {
"calibremcp": {
"command": "uv",
"args": ["run", "--directory", "C:\\path\\to\\calibremcp", "schip-mcp-calibre"],
"env": {
"CALIBRE_LIBRARY_PATH": "C:\\path\\to\\Calibre Library"
}
}
}
}
The --directory argument makes uv run the executable from the cloned
CalibreMCP project.
For file-based configuration, copy config.example.json to the ignored local
file config.json and replace the placeholder values. Environment variables
override values from that file.
Then ask Claude: "Find unread sci-fi books", "Open a random Banks novel", or "What's my library health?"
What is this?
CalibreMCP bridges your Calibre e-book library and AI assistants (Claude Desktop, Cursor, etc.) via the Model Context Protocol. It reads Calibre's metadata.db directly, indexes metadata for semantic search (LanceDB RAG), and exposes portmanteau tools, analysis helpers, and interactive cards for natural-language library management.
Read more
| Topic | Description |
|---|---|
| About Calibre | What Calibre is, how it stores data, access methods |
| About Calibre Web | calibre-web vs Calibre Content Server, running both together |
| About Plugins | CalibreMCP Integration plugin, calibreops-bridge, roadmap |
| About MCP Tools | 33 registered tools, portmanteau architecture, agentic flows |
| About AI Workflows | RAG, FTS, skills, prompts, sampling, agentic chaining |
Key links
- Documentation hub — curated entry
- Documentation index — full map of ~100 docs
- Tauri desktop — maintainer build and production pitfalls
- Cookbook — goal-oriented recipes
- API reference — all MCP tools and endpoints
- Configuration — env vars and library setup
- Troubleshooting — common issues and fixes
- Webapp README — Next.js dashboard on ports 10720/10721
- Plugin README — Calibre GUI plugin install and usage
- Plugin repo — calibreops-bridge (RAG/AI plugin)
Installation
# Development install
git clone https://github.com/Jarzembak/calibremcp.git
cd calibremcp
uv sync
# Run the stdio MCP server
uv run schip-mcp-calibre
After the first fork release is published, Claude Desktop bundle installations
will use calibremcp-v<version>.mcpb from
Releases.
Features
- FastMCP 3.4.2+ — Universal connect (stdio + HTTP), sampling, agentic tool chaining
- Consolidated MCP tools — Search, management, export, RAG, analysis, and viewer operations
- Metadata RAG (LanceDB) — Semantic search over title, authors, tags, comments
- Full-text chunk RAG — FTS-driven book content retrieval
- Calibre FTS — Phrase search with PDF page / EPUB spine locations
- Calibre plugin — Extended metadata editor + VL from query in Calibre GUI
- Webapp — Next.js dashboard with AI chat, Semantic Search, Skills, Smart Import
- Skills & prompts — Reusable agentic workflows (recommendations, library health, etc.)
- Concurrency-safe — Thread-safe DB operations for multi-client access
- Windows-native — Unicode-safe, runs reliably on Windows
Austrian efficiency for digital libraries. Built with realistic AI-assisted development timelines.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.