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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.