apple-books-mcp
Apple Books MCP
Apple Books를 위한 Model Context Protocol (MCP) 서버입니다.
한눈에 보기
읽던 곳부터 계속하기 — Claude가 현재 읽고 있는 챕터와 그 텍스트, 그리고 최근 강조 표시한 내용을 확인합니다.
강조 표시 확장 — 표시한 정확한 앵커가
«...»로 표시된 상태에서 문맥에 맞는 주변 단락 설명을 얻을 수 있습니다.책 다시 보기 — 강조 표시를 불러와 테마별로 분류하고, 본인의 인용구를 다시 확인합니다.
독서 성찰 — 책 전반에 걸친 패턴, 강조 표시에서 반복되는 아이디어, 실제로 무엇에 끌리는지 파악합니다.
https://github.com/user-attachments/assets/77a5a29b-bfd7-4275-a4af-8d6c51a4527e
그 외에도 많은 기능이 있습니다!
Related MCP server: Co-Reading MCP
사용 가능한 도구
컬렉션
도구 | 설명 | 매개변수 |
list_all_collections | 모든 컬렉션 나열 | limit?: int |
get_collection_books | 컬렉션 내 모든 책 가져오기 | collection_id: str |
describe_collection | 컬렉션 세부 정보 가져오기 | collection_id: str |
search_collections_by_title | 제목으로 컬렉션 검색 | title: str |
도서
도구 | 설명 | 매개변수 |
list_all_books | 모든 책 나열 | limit?: int |
describe_book | 특정 책의 세부 정보 가져오기 (메타데이터, 진행률, 주석 수, 설명) | book_id: str |
list_annotations | 책의 모든 주석 가져오기 (행별 id + 텍스트 + 챕터, 챕터 순) | book_id: int, limit?: int |
search_books_by_title | 제목으로 책 검색 | title: str |
get_books_by_genre | 장르별로 책 가져오기 (부분 일치) | genre: str, limit?: int |
독서 상태
도구 | 설명 | 매개변수 |
get_books_in_progress | 현재 읽고 있는 책 가져오기 | limit?: int |
get_finished_books | 다 읽은 책 가져오기 | limit?: int |
get_unstarted_books | 아직 시작하지 않은 책 가져오기 | limit?: int |
get_recently_read_books | 가장 최근에 연 책 가져오기 | limit?: int (기본값: 10) |
주석
도구 | 설명 | 매개변수 |
list_all_annotations | 책별로 그룹화된 모든 주석 탐색 (최신순) | limit?: int |
recent_annotations | 가장 최근 주석 가져오기 (행별 날짜 + 책 포함) | limit?: int (기본값: 10) |
describe_annotation | 단일 주석의 전체 세부 정보 가져오기 | annotation_id: str |
get_annotation_context | 강조 표시 주변의 텍스트 창 (포함된 단락), 강조 표시는 | annotation_id: int, chars_before?: int (기본값: 500), chars_after?: int (기본값: 500) |
get_highlights_by_color | 특정 색상의 강조 표시, 책별로 그룹화 | color: str, limit?: int |
search_notes | 사용자 메모 검색 (강조 표시 + 메모 인라인 표시) | note: str, limit?: int |
search_annotations | 강조 표시 + 메모 + 주변 텍스트 검색 | text: str, limit?: int |
get_annotations_by_date_range | 날짜 범위 내 주석 (행별 날짜 + 책 포함) | after?: YYYY-MM-DD, before?: YYYY-MM-DD, limit?: int |
라이브러리 통계
도구 | 설명 | 매개변수 |
get_library_stats | 독서 통계가 포함된 라이브러리 요약 가져오기 | 없음 |
도서 콘텐츠
DRM이 없는 EPUB(가져온 책, Project Gutenberg, Standard Ebooks 등)에서만 작동합니다. Apple Books Store에서 구매한 도서는 FairPlay로 보호되며 명확한 오류를 반환합니다. iCloud 전용 도서는 "다운로드되지 않음" 힌트를 반환합니다.
도구 | 설명 | 매개변수 |
list_book_chapters | 책의 목차 (챕터 제목, 순서, 중첩) | book_id: int |
get_chapter_content | 챕터의 일반 텍스트 콘텐츠, 선택적 | book_id: int, chapter_id: str, offset?: int, max_chars?: int |
get_current_reading_position | 사용자가 마지막으로 읽던 챕터 (Apple Books의 자동 책갈피 CFI 사용) | book_id: int |
사용 가능한 리소스
Claude Desktop의 리소스 선택기에서 액세스할 수 있는 연결 가능한 데이터 객체입니다.
리소스 | URI | 설명 |
Currently Reading |
| 현재 읽고 있는 책 — 가장 최근에 연 진행 중인 책으로, 메타데이터, 마지막으로 읽던 챕터와 텍스트 미리보기(DRM이 없는 EPUB의 경우), 최근 주석이 포함됩니다. 대화에 첨부하여 Claude가 현재 읽고 있는 책에 집중하도록 하세요. |
사용 가능한 프롬프트
Claude Desktop의 프롬프트 선택기에서 액세스할 수 있는 원클릭 워크플로우입니다.
프롬프트 | 설명 | 인수 |
weekly_digest | 지난주에 읽고 강조 표시한 내용 요약 | days?: int (기본값: 7) |
library_snapshot | 전체 독서 생활에 대한 성찰 | 없음 |
revisit_book | 특정 책의 메모와 강조 표시 다시 보기 | book_title: str |
설치
uv 사용 (권장)
uvx를 사용하여 apple-books-mcp를 직접 실행할 수 있습니다(설치 없이).
brew install uv # for macos
uvx apple-books-mcppip 사용
pip install apple-books-mcp설치 후 다음을 사용하여 서버를 실행할 수 있습니다:
python -m apple_books_mcpDocker 사용
docker run -v ~/Library/Containers/com.apple.iBooksX/Data/Documents:/root/Library/Containers/com.apple.iBooksX/Data/Documents:ro ghcr.io/vgnshiyer/apple-books-mcp:latest최초 실행 권한 프롬프트 (macOS)
처음 사용할 때 macOS는 uvx(또는 실행 방식에 따라 python / docker)가 "다른 앱의 데이터에 액세스"할 수 있는지 묻습니다. 허용을 클릭하세요. MCP는 macOS가 다른 앱의 샌드박스 데이터로 취급하는 ~/Library/Containers/com.apple.iBooksX/에 있는 Apple Books의 개인 컨테이너를 읽습니다. 액세스는 읽기 전용이며 해당 컨테이너로 범위가 제한됩니다. 어느 쪽이든 서버는 성공적으로 시작되지만, 권한이 없으면 모든 도구가 빈 결과로 돌아옵니다.

구성
Claude Desktop 설정
uvx 사용 (권장)
{
"mcpServers": {
"apple-books-mcp": {
"command": "uvx",
"args": [ "apple-books-mcp@latest" ]
}
}
}python 사용
{
"mcpServers": {
"apple-books-mcp": {
"command": "python",
"args": ["-m", "apple_books_mcp"]
}
}
}Docker 사용
{
"mcpServers": {
"apple-books-mcp": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-v", "~/Library/Containers/com.apple.iBooksX/Data/Documents:/root/Library/Containers/com.apple.iBooksX/Data/Documents:ro",
"ghcr.io/vgnshiyer/apple-books-mcp:latest"
]
}
}
}예정된 기능
[ ] PDF 콘텐츠 액세스 (현재는 EPUB만 가능)
[ ] CFI → 단락 해결을 통한 더 완전한 주석 문맥 제공
기여
이 프로젝트에 기여해 주셔서 감사합니다!
개발
이 저장소를 복제한 경우 아래 구성으로 Claude Desktop을 사용하여 테스트할 수 있습니다:
uv venv를 사용하여 가상 환경을 만들고 종속성을 설치하세요.
uv venv
uv sync디버깅
Claude Desktop 사용 시
{
"mcpServers": {
"apple-books-mcp": {
"command": "uv",
"args": [
"--directory",
"/path/to/apple-books-mcp/",
"run",
"apple_books_mcp",
"-v"
]
}
}
}인스펙터 사용 시
npx @modelcontextprotocol/inspector uvx apple-books-mcp이슈 열기
버그가 발생하거나, 기능 요청이 있거나, 프로젝트와 관련된 논의를 원하시면 GitHub 저장소에 이슈를 열어주세요. 이슈를 열 때 다음을 제공해 주세요:
버그 리포트: 문제를 자세히 설명하세요. 가능하다면 버그를 재현하는 단계와 오류 메시지 또는 스크린샷을 포함하세요.
기능 요청: 프로젝트에 추가하고 싶은 새로운 기능을 명확하게 설명하세요. 이 기능이 왜 유용한지 문맥을 제공하세요.
일반 토론: 프로젝트와 관련된 더 넓은 주제에 대해 자유롭게 토론을 시작하세요.
기여 방법
1️⃣ GitHub 저장소 https://github.com/vgnshiyer/apple-books-mcp 포크
2️⃣ 변경 사항을 위한 새 브랜치 생성 (git checkout -b feature/my-new-feature)
3️⃣ 변경 사항을 적용하고 철저히 테스트
4️⃣ 변경 사항을 푸시하고 main으로 Pull Request 열기
변경 사항에 대한 명확한 제목과 설명을 제공해 주세요.
라이선스
Apple Books MCP는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 LICENSE 파일을 참조하세요.
Available Tools
31 toolsadd_book_to_collectionAdd a book to a collectionCIdempotent
Add a book to a collection (user-created collections and "Want to Read"). Idempotent. Requires write access and Books to be quit.
Args: collection_id: The collection's numeric ID. book_id: The book's numeric ID.
Inputs: book_id (required), collection_id (required).
create_collectionCreate a collectionA
Create a new collection in the user's Apple Books library. Requires write access and Books to be quit; a backup is taken automatically.
Args: title: Name for the new collection. details: Optional description.
Inputs: title (required), details.
delete_collectionDelete a collectionADestructiveIdempotent
Delete a user-created collection (built-in collections are refused). The books inside are NOT deleted — only the collection. Requires write access and Books to be quit.
Args: collection_id: The collection's numeric ID.
Inputs: collection_id (required).
describe_annotationDescribe an annotationARead-only
Describe a specific annotation in detail — text, note, book (with
an Open in Books: link), chapter, color, creation date. For the
passage around the highlight, call get_annotation_context
instead.
Args: annotation_id: The annotation's numeric ID.
Inputs: annotation_id (required).
describe_bookDescribe a bookARead-only
Describe a specific book in detail — metadata (title, author, genre,
page count), reading status (progress, last opened, finished date),
and annotation count. Also whether the chapter tools can read its
text (Readable text:, and why not), and an Open in Books:
link (ibooks://assetid/...) that opens it in Apple Books.
Args: book_id: The book's numeric ID.
Inputs: book_id (required).
describe_collectionDescribe a collectionBRead-only
Describe a specific collection in detail — title, details text, and the books contained in it.
Args: collection_id: The collection's numeric ID.
Inputs: collection_id (required).
get_annotation_contextGet the passage around a highlightARead-only
Return the passage around a specific highlight — the text before
and after, with the highlight itself wrapped in «...». Use
this to expand on a highlight without fetching the whole chapter.
Works for non-DRM EPUBs downloaded to this Mac; fails with a clear message for DRM-protected books, iCloud-only books, or older annotations that lack the chapter hint.
Args: annotation_id: The annotation's numeric ID. chars_before: Chars of context before the highlight (0–5000). Default 500. chars_after: Chars of context after the highlight (0–5000). Default 500.
Inputs: annotation_id (required), chars_after, chars_before.
get_annotations_by_date_rangeAnnotations by date rangeARead-only
Annotations created within a date range, newest first by default. Flat rows with the creation time and book name inline. Dates and times are in the Mac's local time zone, named in the header.
Row format::
YYYY-MM-DD HH:MM [id] text — chapter · Book TitleArgs:
after: Only include annotations created on or after this date
(YYYY-MM-DD, or YYYY-MM-DDTHH:MM).
before: Only include annotations created on or before this
date (YYYY-MM-DD covers the whole day, or YYYY-MM-DDTHH:MM).
limit: Max annotations to return (1–500, default 50).
offset: Annotations to skip, for paging.
order_by: newest (default) or oldest first.
Inputs: after, limit, before, offset, +1 more.
get_books_by_genreFind books by genreARead-only
Get books whose genre matches the given string (substring match).
Output is one row per match: [id] title by author (genre).
Args: genre: The genre to search for (e.g. "Romance", "Philosophy"). limit: Max books to return (1–500, default 200). offset: Books to skip, for paging.
Inputs: genre (required), limit, offset.
get_books_in_progressBooks in progressARead-only
Get books currently being read (progress > 0% and < 100%). Output
per row: [id] title by author with a progress summary below.
Args: limit: Max books to return (1–500, default 200). offset: Books to skip, for paging.
Inputs: limit, offset.
get_chapter_contentGet chapter textARead-only
Return the plain-text content of a chapter, paginated by default
to protect the context window. Get chapter_id from
list_book_chapters or from the (ch=...) suffix on
annotation listing rows, or pass "current" (the default) for
the chapter the user is reading in Apple Books. Works for non-DRM
EPUBs downloaded to this Mac.
Default max_chars=10000 (~2500 words) fits most chapters in
one call. Longer chapters return a slice with a footer naming
the exact offset to pass next. At most 50000 chars are
returned per call.
Every response ends with a footer like one of::
(full chapter returned: 4,872 chars.)
…(returned chars 0–10000 of 24,311 [10000 chars]. Call again with
offset=10000 to continue; 14,311 chars remaining.)
(returned chars 20000–24311 of 24311 [4311 chars]. End of chapter.)Args:
book_id: The book's numeric ID.
chapter_id: Chapter identifier, the 1-based chapter order as a
string (e.g. "5"), or "current" (the default): the
chapter of the user's reading position. A chapter whose id
is literally "current" wins.
offset: Character offset to start from. Defaults to 0.
max_chars: Max chars to return (1–50000). Default 10000.
Inputs: book_id (required), offset, max_chars, chapter_id.
get_collection_booksList a collection's booksARead-only
List the books in a collection as lean rows: [id] title by author. Descriptions are intentionally omitted — collections
with many books would otherwise emit tens of thousands of chars of
marketing blurb. Use describe_book(id) for details on any
specific book.
Args: collection_id: The collection's numeric ID.
Inputs: collection_id (required).
get_current_reading_positionCurrent reading positionARead-only
Return where the user last left off reading a book — chapter
title and chapter_id, no text — and an Open in Books: link to
the book. Follow up with get_chapter_content for the text.
Works for non-DRM EPUBs downloaded to this Mac. If Apple Books hasn't recorded a position, falls back to inferring from the user's most recent highlight (labeled as such in the output).
Args: book_id: The book's numeric ID.
Inputs: book_id (required).
get_finished_booksFinished booksARead-only
Get books that have been finished. Output per row: [id] title by author with a progress summary below.
Args: limit: Max books to return (1–500, default 200). offset: Books to skip, for paging.
Inputs: limit, offset.
get_highlights_by_colorHighlights by colorARead-only
Browse highlights of a particular color, grouped by book.
Output is one row per highlight: [id] text — chapter. The
book's name is shown once in the header, with a count of matching
highlights on this page.
Args:
color: yellow, green, blue, pink, or purple.
limit: Max annotations to return (1–500, default 50).
offset: Annotations to skip, for paging.
order_by: newest (default) or oldest first.
Inputs: color (required), limit, offset, order_by.
get_library_statsLibrary statsARead-only
Get a summary of your Apple Books library with reading stats.
Inputs: no named parameters.
get_recently_read_booksRecently read booksARead-only
Get the most recently read books, newest first (by when each was
last opened or read, whichever is later).
Output per row: [id] title by author with a progress summary
below.
Args: limit: Max books to return (1–500, default 10). offset: Books to skip, for paging.
Inputs: limit, offset.
get_unstarted_booksUnstarted booksARead-only
Get books that haven't been started yet (0% progress). Output per
row: [id] title by author with a progress summary below.
Args: limit: Max books to return (1–500, default 200). offset: Books to skip, for paging.
Inputs: limit, offset.
list_all_annotationsList all annotationsARead-only
Browse all annotations grouped by book, most recent first. Rows:
[annotation_id] <text> — <chapter title> (ch=<id>), with the
user's note, if any, on a second line prefixed with ↳ note:.
Pass ch=<id> to get_chapter_content for the chapter, or
call get_annotation_context(annotation_id) for the passage
around a specific highlight.
Args: limit: Max annotations to return (1–500, default 50). offset: Annotations to skip, for paging; a footer names the next offset when there are more.
Inputs: limit, offset.
list_all_booksList all booksARead-only
List all books in my Apple Books library. Output is one row per
book: [id] title by author. Use describe_book(id) for
details on any book.
Args: limit: Max books to return (1–500, default 200). offset: Books to skip, for paging; a footer names the next offset when there are more.
Inputs: limit, offset.
list_all_collectionsList collectionsARead-only
List all collections in my Apple Books library. Output is one row
per collection: [id] title. Use describe_collection(id) for
details or get_collection_books(id) to list its books.
Args: limit: Max collections to return (1–500, default 200). offset: Collections to skip, for paging.
Inputs: limit, offset.
list_annotationsList a book's annotationsARead-only
List annotations within a specific book in reading order (their
position in the book). Rows are lean —
[annotation_id] <text> — <chapter> (ch=<id>) — with the user's
note, if any, on a second line prefixed with ↳ note:.
Args: book_id: The book's numeric ID. limit: Max annotations to return (1–500, default 50). offset: Annotations to skip, for paging; a footer names the next offset when there are more.
Inputs: book_id (required), limit, offset.
list_book_chaptersList a book's chaptersARead-only
List the table of contents for a book — chapter titles, order, and nesting depth. Only works for non-DRM EPUBs that have been downloaded to this Mac.
Args:
book_id: The book's numeric ID (from list_all_books or similar).
Inputs: book_id (required).
recent_annotationsRecent annotationsARead-only
Most recent annotations, newest first. Flat rows with the creation time (the server's local time zone) and book name inline so Claude can see chronology across books at a glance.
Row format::
YYYY-MM-DD HH:MM [id] text — chapter · Book TitleArgs: limit: Max annotations to return (1–500, default 10). offset: Annotations to skip, for paging.
Inputs: limit, offset.
remove_book_from_collectionRemove a book from a collectionADestructiveIdempotent
Remove a book from a collection (the book stays in the library). Idempotent. Requires write access and Books to be quit.
Args: collection_id: The collection's numeric ID. book_id: The book's numeric ID.
Inputs: book_id (required), collection_id (required).
rename_collectionRename a collectionADestructiveIdempotent
Rename a user-created collection (built-in collections are refused). Requires write access and Books to be quit.
Args: collection_id: The collection's numeric ID. new_title: The new name.
Inputs: new_title (required), collection_id (required).
search_annotationsSearch annotationsARead-only
Search across every annotation field — selected (highlighted) text,
the surrounding paragraph, and the user's note body. Grouped by
book; a row's note, if any, is on a second line prefixed with
↳ note:. Use search_notes when you only want to find your
own written notes.
Args:
text: Substring to match anywhere in an annotation.
limit: Max annotations to return (1–500, default 50).
offset: Annotations to skip, for paging.
order_by: newest (default) or oldest first.
Inputs: text (required), limit, offset, order_by.
search_booksSearch books by title or authorARead-only
Search for books whose title or author contains query, ignoring
case, accents and quote/dash style ("don't" finds "Don’t", "godel"
finds "Gödel"). Output is one row per book, by book id:
[id] title by author. Use describe_book(id) for details.
Args: query: Text to find in the title or the author's name. limit: Max books to return (1–500, default 200). offset: Books to skip, for paging; a footer names the next offset when there are more.
Inputs: query (required), limit, offset.
search_books_by_titleSearch books by titleARead-only
Search for books by title (substring match, ignoring case, accents
and quote/dash style). Output is one row per match: [id] title by author. Use describe_book(id) for details, and
search_books to match authors too.
Args: title: The title to search for. limit: Max books to return (1–500, default 200). offset: Books to skip, for paging; a footer names the next offset when there are more.
Inputs: title (required), limit, offset.
search_collections_by_titleSearch collections by titleARead-only
Search for collections by title (substring match). Output is one
row per match: [id] title.
Args: title: The title to search for.
Inputs: title (required).
search_notesSearch notesARead-only
Search user notes (not highlights) by substring, grouped by book.
Output shows the highlighted passage on the primary row and the
matching note on a second line prefixed with ↳ note:.
Args:
note: Substring to find inside note bodies.
limit: Max annotations to return (1–500, default 50).
offset: Annotations to skip, for paging.
order_by: newest (default) or oldest first.
Inputs: note (required), limit, offset, order_by.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 31 tools
Most tools target distinct resources or actions (collections, books, annotations, chapters), and descriptions clarify differences like search_books vs search_books_by_title or list_annotations vs list_all_annotations. However, several listing/searching tools for the same resource overlap somewhat, requiring careful reading to pick the right one.
Names are predominantly snake_case with a clear verb_noun structure (list_, get_, describe_, search_, create_, rename_, delete_, add_, remove_). Minor inconsistencies include 'recent_annotations' lacking a verb prefix and filtered book lists using 'get_' while full lists use 'list_', but the overall pattern is readable.
31 tools is heavy for the domain; many could be consolidated (e.g., the four reading-status book filters, the multiple book search tools, the several annotation listing tools). While the domain is complex, the rubric flags 25+ as too many, and several tools feel redundant.
Read coverage is extensive (books, collections, annotations, chapters, stats), but there are notable gaps in write operations: no tools to create/update/delete annotations or notes, no book metadata editing, no reading progress updates, and no ability to add/remove books from the library. Collection CRUD exists, suggesting write support is intended, so these gaps limit full lifecycle coverage.
Maintenance
Related MCP Connectors
Your personal library, readable by AI agents: durable snapshots, hybrid search, 46 MCP tools.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
Official Bookmax MCP server: search and save bookmarks, read notes and docs from AI assistants.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI clients to read and write local Apple Books library, collections, and annotations. Supports searching, exporting, and modifying books and highlights via MCP tools.1MIT
- AlicenseBqualityBmaintenanceA local MCP server that gives Claude a durable reading room for EPUB and plain text books, enabling chunk-by-chunk navigation, annotations, progress tracking, and shared margin cards.26122MIT
- FlicenseNot gradedqualityDmaintenanceMCP server for processing raw book notes into structured, searchable knowledge using embeddings and semantic search.-

Books Mandala MCPofficial
FlicenseNot gradedqualityCmaintenanceMCP server enabling AI assistants to search, browse, and discover books from Books Mandala's live catalog of 50,000+ titles.2-