MCP Apple Notes
Enables AI agents to search, read, create, and append Apple Notes using MCP tools, supporting bulk folder reads and tag search.
README
MCP Apple Notes
MCP Apple Notes is a local-first Apple Notes intelligence system. It is designed around a reusable Notes adapter, a thin MCP capability layer, deferred local storage, and CLI access.
This is not a Claude-specific project. Claude Desktop is one possible consumer alongside Claude Code, GitHub Copilot, OpenAI Codex, Cursor, future MCP-compatible agents, CLI workflows, and custom local apps.
Current Status
Phase 1 has a reusable Apple Notes adapter MVP. It includes a JXA-backed script boundary, structured errors, timeout handling, search/read/read-folder/create/append methods, dry-run support for writes, diagnostics, and unit tests.
The MCP server is now implemented over stdio with search, read, read-folder, create, append, and diagnostics tools. The read_folder tool reads every note body in a folder in a single JXA call — suitable for bulk analysis without per-note round-trips. Storage is explicitly deferred for v1 because the current release does not need cache, metadata, or sync state. The CLI is implemented for local diagnostics and manual adapter operations.
Current packages:
@mcp-apple-notes/notes-adapter: reusable Apple Notes service boundary.@mcp-apple-notes/mcp-server: MCP stdio server exposing Apple Notes tools.@mcp-apple-notes/storage: deferred workspace placeholder for a future metadata and cache boundary.@mcp-apple-notes/cli: local command-line boundary for diagnostics and manual adapter operations.
Development
npm install
npm run build
npm test
The project uses TypeScript, Node.js ESM, npm workspaces, and Node's built-in node:test runner.
CLI
After building, run the local CLI through npm:
npm run cli -- --help
npm run cli -- diagnostics
npm run cli -- search --query "project memory" --limit 5
npm run cli -- read --id "<note-id>"
npm run cli -- read-folder --folder "2024"
npm run cli -- read-folder --folder "2024" --account "iCloud"
npm run cli -- create-preview --title "Draft" --body "Body"
npm run cli -- create --title "Draft" --body "Body"
npm run cli -- append-preview --id "<note-id>" --content "New section"
npm run cli -- append --id "<note-id>" --content "New section"
Add --json to any command for machine-readable output.
If you install the CLI package directly, the executable name is mcp-apple-notes-cli so it does not collide with the MCP server executable.
Exit codes:
0: success.1: adapter or Apple Notes operation failed.2: CLI usage error.3: unexpected CLI failure.
MCP Setup
Build the server before wiring a local checkout into an MCP client:
npm install
npm run build --workspace @mcp-apple-notes/mcp-server
Claude Desktop config snippet:
{
"mcpServers": {
"apple-notes": {
"command": "node",
"args": [
"/absolute/path/to/mcp-apple-notes/packages/mcp-server/dist/index.js"
]
}
}
}
Cursor config snippet:
{
"mcpServers": {
"apple-notes": {
"command": "node",
"args": [
"/absolute/path/to/mcp-apple-notes/packages/mcp-server/dist/index.js"
]
}
}
}
After connecting the server, a minimal live smoke test is asking the client to run search_notes with:
{
"folder": "Notes",
"query": "2026-05-10",
"limit": 1
}
Example agent interaction:
User: Search my Notes folder for 2026-05-10.
Assistant: Calling search_notes with {"folder":"Notes","query":"2026-05-10","limit":1}
Tool result: 1 note found titled "2026-05-10"
Assistant: I found one note titled 2026-05-10 in Notes. I can read it next if you want.
The server also exposes search_tags for hashtags in Apple Notes titles and bodies. Large Notes libraries can be slow through Apple Events, so tag search accepts folder, limit, maxNotes, and timeBudgetMs and may return truncated: true with partial results instead of waiting indefinitely.
Bulk folder reads
The read_folder tool reads the full plain-text body of every note in a folder in a single JXA call. This avoids per-note round-trips and is the correct approach for bulk analysis such as annual reviews, summaries, or prompt-based processing.
{
"folder": "2024",
"account": "iCloud"
}
The tool returns an array of NoteContent objects, each with id, title, folder, account, createdAt, updatedAt, and body (plain text). The account field is optional and scopes the folder lookup when multiple accounts share a folder name.
Apple Notes Permissions
Apple Notes access uses local macOS automation through /usr/bin/osascript. See macOS Permissions before running integration operations against Notes.
Architecture
Start with:
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。