I built a CLI to break my highlights out of Apple Books
说明与用途
macOS CLI 将 Apple Books 高亮导出为 Markdown,并通过 MCP 服务器让 AI 助手直接访问笔记,支持摘要、闪卡和跨书搜索。
问题
Apple Books lacks a way to export highlights and notes, forcing users to copy each highlight manually.
结果
Users can now easily export highlights to Markdown or query them via AI assistants, enabling summaries, flashcards, and cross‑book searches without manual copy‑paste.
工作流
- Install the CLI via Homebrew
- Run
ibooks_notes_exporter booksto list available books - Run
ibooks_notes_exporter export --book_id <id>to export a book’s highlights to Markdown - Optionally start the MCP server with
ibooks_notes_exporter mcpand configure your AI editor to connect via MCP
证据
Apple Books problem: There’s no export. No API. No menu option.
The CLI reads two SQLite databases and gives you Markdown.
MCP server exposes list_books, get_notes, search_notes tools.
- 记录日期: 2026-09-05T14:15:09.870Z