
vgnshiyer/apple-books-mcp 是从 https://github.com/vgnshiyer/apple-books-mcp. 导入的 MCP 服务器候选服务器。
概览
vgnshiyer/apple-books-mcp 是从 https://github.com/vgnshiyer/apple-books-mcp. 导入的 MCP 服务器候选服务器。
概述(AI 翻译)
苹果图书模型上下文协议(MCP)服务器。
一览
- 从你停下的地方继续 — Claude会看到你正在读的书、你的进度和你正在读的章节,并在需要时提取该章节的文本(
chapter_id="current")和你的重点。 - 查找任何书籍——按书名或作者,忽略格、口音和弯曲引语,链接打开苹果图书。
- 扩展任何高亮 — 请在上下文中解释周围段落,并显示你在
«...»中标记的具体锚点。 - 重温一本书——挑选你的亮点,按主题分组,然后引用你自己的话。
- 反思你的阅读——书中的模式,你高光中反复出现的想法,你真正被什么吸引。
https://github.com/user-attachments/assets/77a5a29b-bfd7-4275-a4af-8d6c51a4527e
还有更多精彩内容!
可用工具
列表和搜索工具一次返回一页:默认为50个注释或200本书,limit在1到500之间,offset为下一页。当有更多时,输出会显示并命名下一个offset。
结果的运作方式:
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
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 asbook_id,annotation_idorcollection_id. A numeric string such as"175"is accepted too;true,falseand 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
| Tool | Description | Parameters |
|---|
安装
docker run -i --rm -v /Users/YOU/Library/Containers/com.apple.iBooksX/Data/Documents:/root/Library/Containers/com.apple.iBooksX/Data/Documents:ro ghcr.io/vgnshiyer/apple-books-mcp:latest配置
{
"mcpServers": {
"apple-books-mcp": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-v", "/Users/YOU/Library/Containers/com.apple.iBooksX/Data/Documents:/root/Library/Containers/com.apple.iBooksX/Data/Documents:ro",
"ghcr.io/vgnshiyer/apple-books-mcp:latest"
]
}
}
}