Apple Notes MCP
Enables AI clients to search, read, create, update, move, and delete Apple Notes on macOS via AppleScript automation.
README
Apple Notes MCP
I made this because I wanted Apple Notes to feel useful inside modern AI tools.
I use Apple Notes for real things: business meetings, planning, random ideas, credentials I should probably organize better, notes spread across different accounts, and all the half-remembered stuff where I later ask, "What was that thing I talked about in that meeting?"
There are already a lot of Apple Notes MCP servers. Some of them probably work fine. But the ones I tried did not feel like they were built for how I actually want to use AI: query my notes naturally, retrieve the right context, organize notes, create new notes, and move notes between accounts without making the AI fight the tool.
So this is my version of an Apple Notes MCP: simple, local, practical, and designed for AI clients like Codex, Claude, Cursor, and anything else that speaks MCP.
Quick Links
- Install
- Codex setup
- Claude Desktop setup
- Claude Code setup
- Cursor setup
- macOS permissions
- Tool reference
- Reliability notes
What This Does
This MCP lets an AI client work with Apple Notes on your Mac.
You can ask things like:
- "Find my notes about that business meeting."
- "What did I write about the launch plan?"
- "Create a note for this idea."
- "Move this note from my personal iCloud account to my work account."
- "Organize these notes into the right folders."
- "Pull the full text of this note so we can use it as context."
The server can:
- list Apple Notes accounts;
- list folders;
- search notes by title and plaintext body;
- read full notes;
- create notes;
- update note title/body;
- move notes between folders;
- move notes across accounts;
- delete notes with dry-run safety;
- create folders.
Why This One
Apple Notes is good, but it was not designed as an AI knowledge base. MCP makes it possible to bridge that gap.
The goal here is not to be fancy. The goal is to be dependable:
- Use Apple Notes through the supported macOS automation path.
- Avoid directly reading or mutating the private Notes database.
- Return stable IDs that AI clients can use for follow-up actions.
- Default risky operations like move/delete to dry-run.
- Handle cross-account moves in a way that avoids Apple Notes' native cross-store move bug.
- Exclude Recently Deleted from normal search results so deleted notes do not look active.
Requirements
- macOS with Apple Notes installed.
- Node.js 20 or newer.
- Apple Notes accounts already signed in on the Mac.
- macOS Automation permission for whichever app launches the MCP server.
This server uses AppleScript automation. That is intentional. Apple does not provide a nice public Apple Notes API, and reading the private Notes database directly is fragile.
Install
Clone or open this project, then run:
cd /path/to/apple-notes-mcp
npm install
npm run build
For this local checkout, the path is:
cd /Users/taylorarndt/hq/developer/apple-notes-mcp
npm install
npm run build
Run Manually
npm start
Most people will not run it manually. Your MCP client will launch it for you.
MCP Configuration
Use the built dist/index.js file:
{
"mcpServers": {
"apple-notes": {
"command": "node",
"args": [
"/Users/taylorarndt/hq/developer/apple-notes-mcp/dist/index.js"
]
}
}
}
Replace the path with wherever you installed the project.
Codex
Add the server to your Codex MCP config using the same command and args:
{
"mcpServers": {
"apple-notes": {
"command": "node",
"args": [
"/Users/taylorarndt/hq/developer/apple-notes-mcp/dist/index.js"
]
}
}
}
Then restart Codex so it discovers the server.
Claude Desktop
Add this to your Claude Desktop MCP configuration:
{
"mcpServers": {
"apple-notes": {
"command": "node",
"args": [
"/Users/taylorarndt/hq/developer/apple-notes-mcp/dist/index.js"
]
}
}
}
Restart Claude Desktop. The first time it tries to use Notes, macOS may ask for permission.
Claude Code
Use the same MCP server definition:
{
"mcpServers": {
"apple-notes": {
"command": "node",
"args": [
"/Users/taylorarndt/hq/developer/apple-notes-mcp/dist/index.js"
]
}
}
}
If Claude Code cannot access Notes, check macOS Automation permissions for the terminal or app that launched it.
Cursor
In Cursor, add an MCP server with:
{
"mcpServers": {
"apple-notes": {
"command": "node",
"args": [
"/Users/taylorarndt/hq/developer/apple-notes-mcp/dist/index.js"
]
}
}
}
Restart Cursor after adding it.
macOS Permissions
This part matters.
Apple Notes access is controlled by macOS Automation permissions. The app launching the server needs permission to control Notes.
If the server cannot access Notes:
- Open
System Settings. - Go to
Privacy & Security. - Open
Automation. - Find the app launching the MCP server.
- Allow it to control
Notes.
Depending on your setup, the app might be Claude Desktop, Cursor, Terminal, iTerm, Codex, or another MCP host.
You can test the underlying AppleScript access with:
osascript -e 'tell application id "com.apple.Notes" to get name of every account'
Then test the MCP bridge with:
npm run build
npm start
From an MCP client, call notes_status.
Tools
notes_status
Checks whether Apple Notes automation is available.
notes_list_accounts
Lists Apple Notes accounts available on the Mac.
notes_list_folders
Lists folders. You can filter by account name.
Arguments:
accountNameoptional exact account name.
notes_search
Searches note titles and plaintext bodies.
Arguments:
queryoptional search text.accountNameoptional exact account name.folderNameoptional exact folder name.limitdefault25, max200.includePlaintextdefaultfalse.includeBodyHtmldefaultfalse.includeRecentlyDeleteddefaultfalse.
notes_get
Reads one full note.
Use noteId whenever possible. Titles are not unique.
Arguments:
noteIdpreferred stable note ID.titleexact title fallback.accountNameoptional disambiguator.folderNameoptional disambiguator.
notes_create
Creates a note in a target folder.
Arguments:
titlerequired.bodyHtmlrequired.accountNameandfolderName, oraccountIdandfolderId.
notes_update
Updates a note title and/or body.
Arguments:
noteIdpreferred stable note ID.currentTitleexact title fallback.accountNameoptional disambiguator.folderNameoptional disambiguator.newTitleoptional replacement title.bodyHtmloptional replacement body.
notes_move
Moves a note to another folder. This can be in the same account or a different account.
Arguments:
noteIdpreferred stable note ID.titleexact title fallback.accountNameoptional source disambiguator.folderNameoptional source disambiguator.destinationAccountNameoptional.destinationFolderNameoptional.destinationAccountIdoptional.destinationFolderIdoptional.dryRundefaulttrue.
For cross-account moves, the returned note ID changes. Keep using the returned note.id.
notes_delete
Deletes a note. Defaults to dry-run.
Arguments:
noteIdpreferred stable note ID.titleexact title fallback.accountNameoptional disambiguator.folderNameoptional disambiguator.dryRundefaulttrue.
notes_create_folder
Creates a folder in an Apple Notes account.
Arguments:
namerequired folder name.accountNameoptional.accountIdoptional.
Reliability Notes
Use IDs for anything important.
Titles and folder names are useful for humans, but they are not unique. A good AI workflow is:
- Search notes.
- Show or inspect the matches.
- Use the returned
noteIdfor read, update, move, or delete.
Move and delete default to dryRun: true. That is deliberate. It lets the AI resolve exactly what it is about to touch before it changes anything.
Cross-account moves do not use Apple Notes' native move operation. Native AppleScript moves across accounts can trigger a Core Data cross-store save error. This server handles cross-account moves with a copy-then-delete strategy and returns the new destination note ID.
Deleted notes go to Recently Deleted. Normal search excludes Recently Deleted by default so old deleted notes do not show up as active knowledge.
Tested Workflow
This has been tested end-to-end through the Node bridge used by MCP clients:
- list accounts;
- list folders;
- create a note;
- read the note;
- search for the note;
- update the note;
- dry-run a move;
- move the note across accounts;
- verify the moved note's destination and content;
- dry-run delete;
- delete;
- verify no active matching note remains.
Final test result:
{
"ok": true,
"created": "x-coredata://2D043C23-37C8-49EB-B30B-76080C224F76/ICNote/p460",
"movedTo": "x-coredata://01C0A48D-207A-4C34-8F56-724B8CF4CACF/ICNote/p15",
"finalActiveMatches": 0
}
Development
Build:
npm run build
Run:
npm start
The server uses stdio, which is what most MCP clients expect.
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。