Apple Books
Search your Apple Books library, highlights and collections from Claude on a Mac
Apple Books is an MCP server for books and reading. It runs locally on your machine and is started by your AI client.
- Platforms
- macOS, CLI
- Runs
- Locally
- What it can do
- Can delete data (1 tool)
- Version
- 0.9.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add apple-books-mcp -- uvx apple-books-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"apple-books-mcp": {
"command": "uvx",
"args": [
"apple-books-mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"apple-books-mcp": {
"command": "uvx",
"args": [
"apple-books-mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"apple-books-mcp": {
"command": "uvx",
"args": [
"apple-books-mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"apple-books-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"apple-books-mcp"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add apple-books-mcp -- uvx apple-books-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.apple-books-mcp]
command = "uvx"
args = ["apple-books-mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"apple-books-mcp": {
"command": "uvx",
"args": [
"apple-books-mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "apple-books-mcp": { "command": "uvx", "args": [ "apple-books-mcp" ] } } }Or run: gemini mcp add -s user apple-books-mcp uvx -- apple-books-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "apple-books-mcp": { "command": "uvx", "args": [ "apple-books-mcp" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "apple-books-mcp": { "command": "uvx", "args": [ "apple-books-mcp" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "apple-books-mcp": { "command": "uvx", "args": [ "apple-books-mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "apple-books-mcp": { "command": "uvx", "args": [ "apple-books-mcp" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "apple-books-mcp": { "command": "uvx", "args": [ "apple-books-mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "apple-books-mcp": { "command": "uvx", "args": [ "apple-books-mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "apple-books-mcp": { "command": "uvx", "args": [ "apple-books-mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
APPLE_BOOKS_MCP_ENABLE_WRITESAllow the collection write tools (create, rename and delete collections; add and remove books). Writes refuse to run while Books is open and take a backup first.APPLE_BOOKS_DATA_DIRFolder holding the Apple Books stores (BKLibrary and AEAnnotation), if not ~/Library/Containers/com.apple.iBooksX/Data/Documents.APPLE_BOOKS_MCP_THREADSHow many tool calls may run at once (default 8; 0 runs them one at a time on the event loop).APPLE_BOOKS_QUERY_TIMEOUTSeconds a library query may run before it is stopped (default 30; 0 for no limit).
About Apple Books
This stdio server reads the Apple Books databases on your Mac, so Claude can see the book you are reading, your progress and the current chapter, and can pull that chapter's text with chapter_id set to current along with your highlights. Book lookup ignores case, accents and curly quotes and returns a link that opens the book in Apple Books. Highlights can be expanded into the surrounding paragraph with the marked anchor shown in guillemets, or clustered by theme.
List and search tools are paged, with 200 books or 50 annotations by default and a limit up to 500. Text from books is wrapped in book_text tags and the server tells the model to treat it as untrusted data. Failures come back as MCP errors that name what to do next. Highlights from books you removed stay visible under a removed-book label.
Collection editing is off by default and enabled with a flag or an extension setting. Because Apple offers no automation API, writes go straight to the library database, refuse while Books is open, take a backup first and touch only user-created collections. The README warns that iCloud sync may revert such edits. It installs from PyPI or as a Claude Desktop extension.
Tools this server provides (7)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 7 tools deletes data and 2 change data.
From the server's own tool labels and tool names; not verified by us.
- list_all_collectionsName suggests: reads
- List all collections.
- get_collection_booksName suggests: reads
- Get all books in a collection.
- describe_collectionName suggests: reads
- Get details of a collection.
- search_collections_by_titleName suggests: reads
- Search collections by title.
- create_collectionName suggests: changes
- Create a new collection (writes enabled only).
- rename_collectionName suggests: changes
- Rename a user-created collection (writes enabled only).
- delete_collectionName suggests: deletes
- Delete a user-created collection, leaving its books (writes enabled only).
What it does
- Reading context
- Knows the current book, progress and chapter, and can return chapter text.
- Highlight tools
- Pulls highlights, expands them in context and clusters them by theme.
- Tolerant book search
- Finds books by title or author ignoring case, accents and curly quotes.
- Collections
- Lists, searches and describes collections and their books.
- Opt-in editing
- Creates, renames and deletes collections only when writes are enabled.
- Safe writes
- Refuses while Books is open and backs up the database first.
- Paged results
- Returns pages with limit and offset and names the next offset.
Good for
- Resume a book with a summary of the current chapter
- Ask for the themes across your highlights
- Look up a book and open it in Apple Books
- Reorganise reading collections with a backup in place
Apple Books FAQ
Can Apple Books change my library?
Only if you enable writes, and only user-created collections are touched.
Does Apple Books work while Books is open?
Reads do; write tools refuse while Books is open.
Is book text treated as instructions?
No, it is wrapped in book_text tags and the server instructs the model to treat it as data.
How do I install Apple Books?
From PyPI as apple-books-mcp or via the MCPB Claude Desktop extension.
How do I add Apple Books to Claude Code?
Run this command in your terminal: claude mcp add apple-books-mcp -- uvx apple-books-mcp
What are the best alternatives to Apple Books?
The closest alternatives to Apple Books are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and Myco: Agent-First Cognitive Substrate.
Where this comes from
- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.



