Apple Notes MCP
A local-only server that enables AI agents to create, read, search, and organize Apple Notes directly on macOS. It supports folder management, note formatting, and checklists using native automation to ensure data remains private and local.
README
Apple Notes MCP
Apple Notes MCP is a local MCP server for macOS that lets AI agents work with Apple Notes through a safe, explicit tool surface.
It is designed for agents such as Codex, Claude Desktop, Cursor, Continue, and other MCP clients that can launch a local stdio server.
What It Does
- Lists Apple Notes accounts and folders
- Reads notes as normalized plaintext with optional raw Apple Notes HTML
- Creates, updates, moves, and deletes notes
- Creates, renames, and deletes folders
- Exposes read-only resources and reusable prompts for note review and rewrite workflows
Requirements
- macOS
- Node.js 22 or newer
- Apple Notes enabled locally
- macOS Automation permission for the host app that launches the MCP server
Install For AI Agents
Use npx. You do not need to clone this repository to use the published package.
npx -y @rnto1/apple-notes-mcp
That command starts the MCP server over stdio.
MCP Client Configuration
Use the published npx package in your MCP client config.
Codex
Add this to ~/.codex/config.toml:
[mcp_servers.apple-notes]
command = "npx"
args = ["-y", "@rnto1/apple-notes-mcp"]
Claude Desktop
Add this to your Claude Desktop MCP config:
{
"mcpServers": {
"apple-notes": {
"command": "npx",
"args": ["-y", "@rnto1/apple-notes-mcp"]
}
}
}
Other MCP Clients
Use the same command/args pair:
{
"command": "npx",
"args": ["-y", "@rnto1/apple-notes-mcp"]
}
Environment Variables
These can be set in the environment of the MCP host.
NOTES_MCP_ALLOW_WRITES=0|1- Default:
1 - Set to
0for read-only mode.
- Default:
NOTES_MCP_ALLOW_DELETES=0|1- Default:
0 - Set to
1to allow destructive deletes without interactive confirmation.
- Default:
NOTES_MCP_WARMUP=0|1- Default:
1 - When enabled, the server proactively activates Notes and triggers the macOS Automation prompt on startup so the first real tool call does not have to discover permissions the hard way.
- Default:
Example with writes disabled:
[mcp_servers.apple-notes]
command = "env"
args = [
"NOTES_MCP_ALLOW_WRITES=0",
"npx",
"-y",
"@rnto1/apple-notes-mcp"
]
Tool Surface
Tools
server_statusaccounts_listfolders_listfolders_getfolders_ensurefolders_renamefolders_deletenotes_listnotes_searchnotes_getnotes_createnotes_updatenotes_movenotes_delete
Resources
applenotes://policyapplenotes://accountsapplenotes://foldersapplenotes://notes/{id}
Prompts
review-noterewrite-note
Content Model
Reads return structured note metadata plus normalized content:
idtitleaccountIdaccountNamefolderIdfolderPathcreatedAtmodifiedAtcontent.textcontent.formatcontent.htmlonly when explicitly requested
Writes are explicit:
notes_create- accepts
title - accepts
content - accepts
folderIdorfolderPath
- accepts
notes_update- accepts
title - accepts exactly one of
replaceText,replaceHtml, orappendText
- accepts
notes_move- accepts
toFolderId
- accepts
Safety Model
- Writes are enabled by default for trusted local use.
- Destructive deletes are disabled by default.
- If the MCP client supports elicitation, the server can request delete confirmation.
- If the client does not support elicitation, destructive deletes require
NOTES_MCP_ALLOW_DELETES=1.
Limitations
- This server is
stdio-only. - Apple Notes automation is limited by the Notes scripting interface on macOS.
- Rich range formatting, attachments, collaboration controls, locking, and other UI-only Notes features are intentionally out of scope.
- If the same folder path exists in multiple accounts, provide
accountId.
Troubleshooting
- On first launch, the server proactively activates Notes so macOS can show the Automation prompt early. Approve it before retrying tool calls.
- If tools fail, open Notes.app once and let sync finish.
- If a delete is rejected, either confirm it through a client that supports MCP elicitation or restart the MCP host with
NOTES_MCP_ALLOW_DELETES=1. - If your MCP client caches server metadata, restart the client after upgrading the package.
Contributing
Local Development
Clone the repository and install dependencies:
npm install
Run the full checks:
npm run ci
Useful commands:
npm run build
npm run test
npm run lint
npm run format
Development Server
For local development you can run the TypeScript entrypoint directly:
npm run dev
For a local packed-package check:
npm pack
Release Process
Releases are automated through GitHub Actions and Changesets.
- Changes merged to
maintrigger the release workflow. - The workflow prepares a release via Changesets.
- npm publishing uses provenance.
Repository maintainers must ensure the required GitHub secrets exist:
NPM_TOKENRELEASE_PR_TOKEN
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。