原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Apple Books

作者:vgnshiyer版本 0.9.0i★ 65i在你的电脑上运行官方网站 ↗
注册名称io.github.vgnshiyer/apple-books-mcp

安装方法

What it does

Access your Apple Books library, annotations, reading progress, and highlights through Claude

  • Connects 在你的电脑上运行
  • Account or key No key needed
  • Category 游戏、体育、美食与学习

为什么排在这里

列表按使用分(满分 100)排序,由以下部分组成

热度22/80GitHub 星标或每周下载量:较大的计 60,较小的计 20
新鲜度12/1230 天内有发布或代码更新得满分
仍在响应0/8上次检查时云端端点有响应
使用分34/100

质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)

安装

选择你使用的 AI 应用,然后复制设置。

用一句话让 AI 帮你安装

请帮我安装 Apple Books。按照 https://mcp.popnx.com/i/vgnshiyer-apple-books-mcp.md 操作,先把命令给我看,等我同意后再运行。

粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文

通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

不需要密钥,不用安装程序 · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

  1. 下载开发者的安装文件

    下载作者的 .mcpb 文件

    .mcpb 文件直接来自开发者,我们没有修改

  2. 双击文件,然后在电脑版 Claude 应用中点击 Install

  3. 试一试

    用 Apple Books 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Apple Books,或回答中出现 Apple Books 的工具名称,就表示连接成功

4 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • APPLE_BOOKS_MCP_ENABLE_WRITES 允许使用集合写入工具(创建、重命名和删除集合;添加和移除图书)。Books 打开时拒绝写入,并会先进行备份。
    查看英文原文Allow 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.
    · 默认值 false
  • APPLE_BOOKS_DATA_DIR 存放 Apple Books 存储(BKLibrary 和 AEAnnotation)的文件夹,若不是 /Library/Containers/com.apple.iBooksX/Data/Documents
    查看英文原文Folder holding the Apple Books stores (BKLibrary and AEAnnotation), if not ~/Library/Containers/com.apple.iBooksX/Data/Documents.
  • APPLE_BOOKS_MCP_THREADS 可同时运行的工具调用数量(默认为 8;0 表示在事件循环上逐个运行)
    查看英文原文How many tool calls may run at once (default 8; 0 runs them one at a time on the event loop).
    · 默认值 8
  • APPLE_BOOKS_QUERY_TIMEOUT 库查询在被停止前可运行的秒数(默认 30;0 表示无限制)。
    查看英文原文Seconds a library query may run before it is stopped (default 30; 0 for no limit).
    · 默认值 30

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 Apple Books

Apple Books 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 Apple Books 的应用

  • 不需要密钥,不用安装程序 · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要先在电脑上安装 Python (uv)(只需一次)
  • 需要先在电脑上安装 Python (uv)(只需一次)
  • 需要先在电脑上安装 Python (uv)(只需一次)

B · 游戏、体育、美食与学习 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要先在电脑上安装 Python (uv)(只需一次)

让 AI 帮你安装

把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude Code 安装 MCP server Apple Books,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user apple-books -- uvx apple-books-mcp 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Apple Books 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  3. 粘贴这条命令并按 Enter

    claude mcp add --scope user apple-books -- uvx apple-books-mcp
  4. 在 Claude Code 中输入 /mcp

    应能看到 Apple Books 在列表中并显示已连接

  5. 试一试

    用 Apple Books 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Apple Books,或回答中出现 Apple Books 的工具名称,就表示连接成功

4 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • APPLE_BOOKS_MCP_ENABLE_WRITES 允许使用集合写入工具(创建、重命名和删除集合;添加和移除图书)。Books 打开时拒绝写入,并会先进行备份。
    查看英文原文Allow 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.
    · 默认值 false
  • APPLE_BOOKS_DATA_DIR 存放 Apple Books 存储(BKLibrary 和 AEAnnotation)的文件夹,若不是 /Library/Containers/com.apple.iBooksX/Data/Documents
    查看英文原文Folder holding the Apple Books stores (BKLibrary and AEAnnotation), if not ~/Library/Containers/com.apple.iBooksX/Data/Documents.
  • APPLE_BOOKS_MCP_THREADS 可同时运行的工具调用数量(默认为 8;0 表示在事件循环上逐个运行)
    查看英文原文How many tool calls may run at once (default 8; 0 runs them one at a time on the event loop).
    · 默认值 8
  • APPLE_BOOKS_QUERY_TIMEOUT 库查询在被停止前可运行的秒数(默认 30;0 表示无限制)。
    查看英文原文Seconds a library query may run before it is stopped (default 30; 0 for no limit).
    · 默认值 30

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要先在电脑上安装 Python (uv)(只需一次)

让 AI 帮你安装

把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Cursor 安装 MCP server Apple Books,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "apple-books": { "command": "uvx", "args": [ "apple-books-mcp" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Apple Books 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  3. 在 Cursor 中以 Agent 模式打开 AI 聊天

  4. 试一试

    用 Apple Books 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Apple Books,或回答中出现 Apple Books 的工具名称,就表示连接成功

4 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • APPLE_BOOKS_MCP_ENABLE_WRITES 允许使用集合写入工具(创建、重命名和删除集合;添加和移除图书)。Books 打开时拒绝写入,并会先进行备份。
    查看英文原文Allow 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.
    · 默认值 false
  • APPLE_BOOKS_DATA_DIR 存放 Apple Books 存储(BKLibrary 和 AEAnnotation)的文件夹,若不是 /Library/Containers/com.apple.iBooksX/Data/Documents
    查看英文原文Folder holding the Apple Books stores (BKLibrary and AEAnnotation), if not ~/Library/Containers/com.apple.iBooksX/Data/Documents.
  • APPLE_BOOKS_MCP_THREADS 可同时运行的工具调用数量(默认为 8;0 表示在事件循环上逐个运行)
    查看英文原文How many tool calls may run at once (default 8; 0 runs them one at a time on the event loop).
    · 默认值 8
  • APPLE_BOOKS_QUERY_TIMEOUT 库查询在被停止前可运行的秒数(默认 30;0 表示无限制)。
    查看英文原文Seconds a library query may run before it is stopped (default 30; 0 for no limit).
    · 默认值 30

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要先在电脑上安装 Python (uv)(只需一次)

让 AI 帮你安装

把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 VS Code 安装 MCP server Apple Books,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "apple-books": { "type": "stdio", "command": "uvx", "args": [ "apple-books-mcp" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Apple Books 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  3. 在 VS Code 中以 Agent 模式打开 AI 聊天

  4. 试一试

    用 Apple Books 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Apple Books,或回答中出现 Apple Books 的工具名称,就表示连接成功

4 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • APPLE_BOOKS_MCP_ENABLE_WRITES 允许使用集合写入工具(创建、重命名和删除集合;添加和移除图书)。Books 打开时拒绝写入,并会先进行备份。
    查看英文原文Allow 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.
    · 默认值 false
  • APPLE_BOOKS_DATA_DIR 存放 Apple Books 存储(BKLibrary 和 AEAnnotation)的文件夹,若不是 /Library/Containers/com.apple.iBooksX/Data/Documents
    查看英文原文Folder holding the Apple Books stores (BKLibrary and AEAnnotation), if not ~/Library/Containers/com.apple.iBooksX/Data/Documents.
  • APPLE_BOOKS_MCP_THREADS 可同时运行的工具调用数量(默认为 8;0 表示在事件循环上逐个运行)
    查看英文原文How many tool calls may run at once (default 8; 0 runs them one at a time on the event loop).
    · 默认值 8
  • APPLE_BOOKS_QUERY_TIMEOUT 库查询在被停止前可运行的秒数(默认 30;0 表示无限制)。
    查看英文原文Seconds a library query may run before it is stopped (default 30; 0 for no limit).
    · 默认值 30

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Apple Books 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user apple-books -- uvx apple-books-mcp

Claude Desktop (claude_desktop_config.json)

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

Cursor (~/.cursor/mcp.json)

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

VS Code (mcp.json)

{
  "servers": {
    "apple-books": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "apple-books-mcp"
      ]
    }
  }
}

需要你填写的值

  • APPLE_BOOKS_MCP_ENABLE_WRITES env
    允许使用集合写入工具(创建、重命名和删除集合;添加和移除图书)。Books 打开时拒绝写入,并会先进行备份。
    查看英文原文Allow 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_DIR env
    存放 Apple Books 存储(BKLibrary 和 AEAnnotation)的文件夹,若不是 /Library/Containers/com.apple.iBooksX/Data/Documents
    查看英文原文Folder holding the Apple Books stores (BKLibrary and AEAnnotation), if not ~/Library/Containers/com.apple.iBooksX/Data/Documents.
  • APPLE_BOOKS_MCP_THREADS env
    可同时运行的工具调用数量(默认为 8;0 表示在事件循环上逐个运行)
    查看英文原文How many tool calls may run at once (default 8; 0 runs them one at a time on the event loop).
  • APPLE_BOOKS_QUERY_TIMEOUT env
    库查询在被停止前可运行的秒数(默认 30;0 表示无限制)。
    查看英文原文Seconds a library query may run before it is stopped (default 30; 0 for no limit).

说明为自动翻译,变量名保持原样;不确定时请查看原文。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
264/周
许可证i
Apache-2.0
连接方式
在你的电脑上运行
最新版本i
0.9.0
发布到注册中心i
2026年10月1日
代码最后更新i
2026年11月14日
作者
vgnshiyer
软件包
pypi: apple-books-mcp
mcpb: …/apple-books-mcp-0.9.0.mcpb
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月19日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 vgnshiyer 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于5天前

  • ✓ 通过

    有许可证

    使用 Apache-2.0

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

已公开的漏洞(OSV.dev)

OSV.dev 中没有 apple-books-mcp@0.9.0 的记录

只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月15日

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/vgnshiyer-apple-books-mcp.svg)](https://mcp.popnx.com/en/servers/vgnshiyer-apple-books-mcp)

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“游戏、体育、美食与学习”中的其他服务器比较i

  • 星标数多于此分类中其他 1619 个服务器的 98%
  • 发布到注册中心的时间比此分类中其他 1619 个服务器的 31% 更新
  • 基础检查结果等于或优于此分类中其他 1619 个服务器的 99%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Apple Books 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于5天前,最新版本(0.9.0)于2个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv), MCPB。

有什么可以替代它?

同一分类中有:Anime Garden, WilmAI, Lumify Sports Intelligence, Savecraft, GoodWatch

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

WilmAI

Finland's Wilma school system for parents and students: schedule, homework, exams and messages.

作者:aikarjal正在增长↓ 1399/周★ 89 整个仓库的星标10天前更新

在你的电脑上运行✓ 服务方 · wilm.ai

Savecraft

Savecraft serves real save game data and expert game knowledge to AI assistants.

作者:joshsymonds起步阶段★ 137个月前更新

在云端运行仓库已归档✓ 服务方 · savecraft.gg

GoodWatch

Find movies and TV shows, track watches, and get suggestions based on your taste.

作者:alp82起步阶段★ 50 整个仓库的星标30天前更新

在云端运行✓ 服务方 · goodwatch.app
与相似项目对比
本项
Apple Books
Anime GardenWilmAILumify Sports IntelligenceSavecraftGoodWatch
运行位置需要安装在电脑上在云端运行,无需安装需要安装在电脑上在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装
需要密钥否否否是否否
可在 Claude 中按 + 添加否否否否否否
基础检查3/34/43/34/43/44/4
许可证Apache-2.0AGPL-3.0MITMITApache-2.0MIT
价格登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Apple Books MCP

Model Context Protocol (MCP) server for Apple Books.

At a glance

  • Pick up where you left off — Claude sees the book you're reading, your progress and the chapter you're on, and pulls that chapter's text (chapter_id="current") and your highlights when it needs them.
  • Find any book — by title or author, ignoring case, accents and curly quotes, with a link that opens it in Apple Books.
  • Expand on any highlight — get the surrounding paragraph explained in context, with the exact anchor you marked shown in «...».
  • Revisit a book — pull your highlights, cluster them by theme, and quote you back to yourself.
  • Reflect on your reading — patterns across books, recurring ideas in your highlights, what you're actually drawn to.

https://github.com/user-attachments/assets/77a5a29b-bfd7-4275-a4af-8d6c51a4527e

And much more!

Available Tools

List and search tools return one page at a time: 50 annotations or 200 books by default, limit between 1 and 500, and offset for the next page. When there is more, the output says so and names the next offset.

How results work:

  • Ids are integers: every row starts with one, as in [175] Title by Author, to pass on as book_id, annotation_id or collection_id. A numeric string such as "175" is accepted too; true, false and fractions are not ids.
  • A failure (an unknown id, a book that isn't downloaded, a bad color) comes back as an MCP error (isError) whose message names what to do next, often another tool to call. An empty result ("No books matched …") is a normal answer, not an error.
  • Text taken from your books (chapter text, the passage around a highlight, a table of contents, a book's description) is wrapped in … . The server's instructions tell Claude that this text is untrusted data from the book, never instructions to follow.
  • Highlights from books you've removed from the library are kept by Apple Books. They are shown per removed book, as "Removed book (asset 3F2A1B2C…)", after the books still in your library.
Collections
ToolDescriptionParameters
list_all_collectionsList all collectionslimit?: int (default: 200), offset?: int
get_collection_booksGet all books in a collectioncollection_id: int
describe_collectionGet details of a collectioncollection_id: int
search_collections_by_titleSearch for collections by titletitle: str
Editing collections (opt-in)

Off by default. Enable by adding --enable-writes to the server args:

"args": ["apple-books-mcp", "--enable-writes"]

With the Claude Desktop extension, turn on Allow editing collections in the extension's settings instead.

Apple provides no automation API for collections, so these write directly to the library database — behind guard rails: every write refuses while Books is open, takes an automatic WAL-safe backup first (~/.py_apple_books/backups/), validates the schema and aborts on drift, and only touches user-created collections (plus "Want to Read" membership). Deleting a collection never deletes the books in it.

⚠️ If iCloud sync for collections is enabled, direct edits may not propagate to other devices and can be reverted by a cloud re-sync.

ToolDescriptionParameters
create_collectionCreate a new collectiontitle: str, details?: str
rename_collectionRename a user-created collectioncollection_id: int, new_title: str
delete_collectionDelete a user-created collection (books untouched)collection_id: int
add_book_to_collectionAdd a book to a collection (idempotent)collection_id: int, book_id: int
remove_book_from_collectionRemove a book from a collection (idempotent)collection_id: int, book_id: int
Books
ToolDescriptionParameters
list_all_booksList all bookslimit?: int (default: 200), offset?: int
search_booksFind books whose title or author contains the query, ignoring case, accents and quote/dash stylequery: str, limit?: int (default: 200), offset?: int
search_books_by_titleSearch for books by title (same matching, titles only)title: str, limit?: int (default: 200), offset?: int
describe_bookGet details of a particular book (metadata, progress, annotation count, description), whether its text is readable (see below) and an "Open in Books" linkbook_id: int
list_annotationsAnnotations for a book in reading order (id + text + chapter per row, with your notes)book_id: int, limit?: int (default: 50), offset?: int
get_books_by_genreGet books by genre (substring match)genre: str, limit?: int (default: 200), offset?: int

describe_book has a Readable text line saying whether the chapter tools can read the book, and if not why: yes (EPUB), a PDF, DRM-protected, not downloaded (in iCloud only, an Apple Books Store title, or never downloaded) or a missing file. It is worked out from the library's records and file metadata, without opening the book: reading a file that is only in iCloud would make macOS download it.

Open in Books links (ibooks://assetid/…) open the book in Apple Books. They appear in describe_book, describe_annotation, get_current_reading_position and the Currently Reading resource.

Reading Status
ToolDescriptionParameters
get_books_in_progressGet books currently being readlimit?: int (default: 200), offset?: int
get_finished_booksGet books that have been finishedlimit?: int (default: 200), offset?: int
get_unstarted_booksGet books not yet startedlimit?: int (default: 200), offset?: int
get_recently_read_booksGet the most recently read bookslimit?: int (default: 10), offset?: int
Annotations
ToolDescriptionParameters
list_all_annotationsBrowse every annotation grouped by book, newest first, with your noteslimit?: int (default: 50), offset?: int
recent_annotationsGet most recent annotations (flat, with date + book per row)limit?: int (default: 10), offset?: int
describe_annotationGet full details of a single annotation, with the book's "Open in Books" linkannotation_id: int
get_annotation_contextText window around a highlight (the paragraph it's in), with the highlight marked «...»annotation_id: int, chars_before?: int (default: 500), chars_after?: int (default: 500)
get_highlights_by_colorHighlights of a particular color, grouped by bookcolor: yellow\green\blue\pink\purple, limit?: int (default: 50), offset?: int, order_by?: newest\oldest
search_notesSearch user notes (shows highlight + note inline)note: str, limit?: int (default: 50), offset?: int, order_by?: newest\oldest
search_annotationsSearch across highlights + notes + surrounding text (shows notes inline)text: str, limit?: int (default: 50), offset?: int, order_by?: newest\oldest
get_annotations_by_date_rangeAnnotations within a date range, inclusive of the before day, local time (flat, with date + book per row)after?: YYYY-MM-DD, before?: YYYY-MM-DD, limit?: int (default: 50), offset?: int, order_by?: newest\oldest
Library Stats
ToolDescriptionParameters
get_library_statsGet library summary with reading statsNone
Book Content

Only works for non-DRM EPUBs downloaded to this Mac (imported books, Project Gutenberg, Standard Ebooks, etc.). Apple Books Store purchases are usually FairPlay-protected and return a clear error, and iCloud-only books a "not downloaded" hint; describe_book's "Readable text" line tells in advance.

ToolDescriptionParameters
list_book_chaptersTable of contents for a book (chapter titles, order, nesting)book_id: int
get_chapter_contentPlain-text content of a chapter, with optional offset + max_chars slicing. chapter_id="current" (the default) reads the chapter you're on in Apple Booksbook_id: int, chapter_id?: str (default: "current"), offset?: int, max_chars?: int
get_current_reading_positionThe chapter the user last left off reading (via Apple Books' auto-bookmark CFI), with an "Open in Books" linkbook_id: int

Available Resources

Attachable data objects accessible from Claude Desktop's resource picker.

ResourceURIDescription
Currently Readingapple-books://currently-readingA short pointer to the book you're reading right now (the most recently opened in-progress book): title, author, book id, progress, an "Open in Books" link, the chapter you left off on with its chapter id (for non-DRM EPUBs; otherwise why its text can't be read), and how many highlights you have in it. It carries no chapter text or highlights; Claude fetches those on demand with get_chapter_content and list_annotations. Attach to any conversation to focus Claude on your current read.

Available Prompts

One-click workflows, accessible from Claude Desktop's prompt picker.

PromptDescriptionArguments
weekly_digestSummarize what I've read and highlighted in the past weekdays?: int (default: 7)
library_snapshotA reflection on my whole reading lifeNone
revisit_bookRevisit your notes and highlights from a specific bookbook_title: str

Installation

Requirements
  • macOS, with Apple Books opened at least once (it creates the library the server reads).
  • Python 3.10 or newer. uvx and the Claude Desktop extension provide one if needed.
  • Installed with the server: mcp >= 1.12 (< 2) and py-apple-books >= 1.10 (< 2).
Using uv (recommended)

uvx runs apple-books-mcp without a separate install step.

brew install uv  # for macos

uvx apple-books-mcp --version

The first run downloads about 14 MB of dependencies and can take up to a minute, which is close to how long Claude waits for a server to start. Running the command above once in Terminal warms uv's cache before you add the server to Claude. --version prints the apple-books-mcp, mcp and py-apple-books versions uvx resolved.

Then add the server to Claude with the JSON config or the Claude Code command below.

Claude Desktop extension (.mcpb)

Claude Desktop can also install apple-books-mcp as an extension, without editing its config: download apple-books-mcp- .mcpb from the latest GitHub release, double-click it (or open Settings → Extensions → Install Extension… and pick the file), and click Install. Desktop installs uv and the locked dependencies itself. Allow editing collections in the extension's settings does the same as --enable-writes.

On organization-managed Claude (Team/Enterprise), admins can limit De

只显示了开头部分;其余内容请在仓库中阅读