VA

vgnshiyer/apple-books-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

64 stars 9 forks 品質 83 トレンド 34Apache-2.0

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 翻訳)

Apple Books用のモデルコンテキストプロトコル(MCP)サーバー。

一見で

退場場所をピックアップ Claude は、読み続けた本、進捗状況、およびそのチャプターのテキスト(chapter_id="current")をプルし、必要に応じてハイライトを表示します。 *** タイトルまたは著者、イニコールケース、アクセント、およびカーリー引用符で、Apple Booksで開くリンクで、任意の本を実行してください。 *** 任意のハイライトで展開* — 文脈で説明されている周囲の段落を、[«...»に示した正確なアンカーで取得します。 本を再訪する—あなたのハイライトを引っ張り、テーマでそれらをクラスターし、あなた自身にあなたを引用します。 *** 読書に注意してください* - 書籍を渡るパターン、あなたのハイライトのアイデアを再発し、実際に描かれているもの。

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

お問い合わせ

利用可能なツール

リストと検索ツールは、デフォルトで 50 注釈または 200 本の 1 つずつページを返します。 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 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

Tool Description Parameters
GitHub で README 全文を見る

インストール

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
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "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" ] } } }