VA

vgnshiyer/apple-books-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

66 stars 10 forks Качество 83 Тренд 20Apache-2.0

vgnshiyer/apple-books-mcp - кандидат на сервер MCP, импортированный из https://github.com/vgnshiyer/apple-books-mcp.

Обзор

vgnshiyer/apple-books-mcp - кандидат на сервер MCP, импортированный из https://github.com/vgnshiyer/apple-books-mcp.

Обзор (машинный перевод)

Сервер Model Context Protocol (MCP) для Apple Books

С первого взгляда

Встаньте там, где вы остановились Клод видит книгу, которую вы читаете, ваш прогресс и главу, на которой вы находитесь, и вытаскивает текст этой главы и ваши основные моменты, когда они ему нужны. Найдите любую книгу ** — по названию или автору, игнорируя случай, акценты и вьющиеся цитаты, со ссылкой, которая открывает ее в Apple Books. *** Расширить на любую подсветку ** — получить окружающий пункт, объясненный в контексте, с точным якорем, который вы отметили в «...». ** Пересмотрите книгу** — вытащите свои основные моменты, сгруппируйте их по темам и процитируйте себя.

      • Поразмышляйте о своем чтении * * - шаблоны в книгах, повторяющиеся идеи в ваших основных моментах, к чему вы на самом деле тянутся.

[[Т2]]

И намного больше!

Доступные инструменты

Список и инструменты поиска возвращают одну страницу за раз: 50 аннотаций или 200 книг по умолчанию, limit от 1 до 500 и offset для следующей страницы. Когда же их будет больше, на выходе будет написано так и названы следующие [5].

Как работают результаты:

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

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
Открыть полный README на GitHub

Установка

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