# Apple Books

> Apple Books is an MCP server for books and reading. Search your Apple Books library, highlights and collections from Claude on a Mac. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** macOS, CLI
- **Website:** https://vgnshiyer.me/AppleBooksMcp
- **Repository:** https://github.com/vgnshiyer/apple-books-mcp
- **MCP Registry name:** io.github.vgnshiyer/apple-books-mcp
- **Categories:** [books and reading](https://ai-powered.com/categories/books-and-reading), [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-11-23

## About

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.

## Features

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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add apple-books-mcp -- uvx apple-books-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "apple-books-mcp": {
      "command": "uvx",
      "args": [
        "apple-books-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "apple-books-mcp": {
      "command": "uvx",
      "args": [
        "apple-books-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "apple-books-mcp": {
      "command": "uvx",
      "args": [
        "apple-books-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

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

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add apple-books-mcp -- uvx apple-books-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.apple-books-mcp]
command = "uvx"
args = ["apple-books-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```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 (~/.config/devin/mcp_config.json)

```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 (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "apple-books-mcp": {
      "command": "uvx",
      "args": [
        "apple-books-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```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 (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "apple-books-mcp": {
      "command": "uvx",
      "args": [
        "apple-books-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "apple-books-mcp": {
      "command": "uvx",
      "args": [
        "apple-books-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "apple-books-mcp": {
      "command": "uvx",
      "args": [
        "apple-books-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "apple-books-mcp": {
      "command": "uvx",
      "args": [
        "apple-books-mcp"
      ]
    }
  }
}
```

## Tools

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_collections` (name suggests: reads): List all collections.
- `get_collection_books` (name suggests: reads): Get all books in a collection.
- `describe_collection` (name suggests: reads): Get details of a collection.
- `search_collections_by_title` (name suggests: reads): Search collections by title.
- `create_collection` (name suggests: changes): Create a new collection (writes enabled only).
- `rename_collection` (name suggests: changes): Rename a user-created collection (writes enabled only).
- `delete_collection` (name suggests: deletes): Delete a user-created collection, leaving its books (writes enabled only).

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

## Alternatives

- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.
- [Myco: Agent-First Cognitive Substrate](https://ai-powered.com/mcp/myco-agent-first-cognitive-substrate): Myco: Agent-First Cognitive Substrate is an open-source MCP server for knowledge and memory.
- [Source Library](https://ai-powered.com/mcp/source-library): Source Library is an open-source MCP server for knowledge and memory.
- [NeuroDock Cognitive Graph](https://ai-powered.com/mcp/neurodock-cognitive-graph): NeuroDock Cognitive Graph is an open-source MCP server for knowledge and memory.
- [Second Brain](https://ai-powered.com/mcp/second-brain-2): Second Brain is a freemium MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/apple-books
