Apple Notes MCP
Provides tools for searching and editing Apple Notes on macOS, including hybrid semantic/full-text search, note retrieval, creation, updating, appending, moving, and backup, with folder scoping.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Apple Notes MCP what did I decide about the pricing model last spring?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Apple Notes MCP
Let Claude, Cursor, or Codex search and edit your Apple Notes — by meaning, entirely on your Mac.
You ▸ What did I decide about the pricing model back in spring?
Claude ▸ [search-notes] "Pricing v3" (Apr 14) — you settled on usage-based
with a floor, after rejecting per-seat in "Pricing v2".You didn't name the note. There's no folder called "pricing." No API key was used, and nothing left your laptop.
Features
Search finds notes you can't remember the words for
Every note is embedded on-device with all-MiniLM-L6-v2 into
LanceDB, alongside a full-text index. A
query runs both and fuses the two rankings with Reciprocal Rank Fusion.
Why both: keyword search fails when you remember the idea but not the phrasing. Vector search fails on exact strings — an error code, an invoice number, a person's name. Fusing them ranks a note that scores mid-range on both above one that spikes on only one, so you don't have to guess which kind of query you're making.
Writes that can't quietly destroy a note
Six write tools, with three guarantees:
Guarantee | Why it matters |
Every mutation snapshots the old body to disk first, and returns the path | An agent editing your notes is unreviewed by definition. You get an undo file even when the edit was wrong. |
Ambiguous titles refuse to write — two notes sharing a title is an error, not a coin flip | Silently overwriting the wrong note is unrecoverable in a way an error message isn't. |
| "Add this to my todos" must never replace the todo list. Separating them makes the destructive option an explicit choice. |
Reading an untrusted note can't execute code
The obvious way to drive Apple Notes is to interpolate a title into a script:
const title = "${title}" // ← arbitrary code executionA title containing " closes that literal, and the rest runs as JavaScript for
Automation — shell commands, file reads, exfiltration. Note titles are not
trusted input: they arrive from shared notes, mail-to-Notes, imports, and sync
from other devices.
This server removes the vulnerability class instead of escaping around it. The
JXA scripts are static files shipped in the package, titles and bodies are
passed as argv and read inside run(argv), and subprocess always runs
with an argument list and shell=False. No user-controlled text ever enters
any program source. Full review in SECURITY.md.
Fully local
No API keys, no account, no telemetry. The only network request in the tool's life is a one-time ~90 MB model download — after that it works on a plane.
Built to survive macOS updates
Notes are read through Apple's automation API, not by parsing the private
NoteStore.sqlite. Direct sqlite reads are faster, but Apple reshapes that
schema between releases and stores bodies as gzipped protobuf. Via the automation
API, macOS's own permission prompt is the consent gate and an OS update doesn't
silently corrupt your index.
Folder scoping everywhere
get-note, update-note, append-note, backup-note, and move-note all take
an optional folder. Pass it and same-titled notes in other folders or iCloud
accounts stop shadowing your target.
Related MCP server: MCP Apple Notes
Requirements
macOS (Apple Notes and osascript are macOS-only) · Python 3.10+ · ~500 MB disk
for the model and its torch dependency.
Setup
1. Install
uv tool install applenotes-mcpbrew install uv && uv tool install applenotes-mcp # recommended, isolated
# or pip, inside a virtualenv
python3 -m venv ~/.venvs/notes && ~/.venvs/notes/bin/pip install applenotes-mcpThe package isapplenotes-mcp — no hyphen after "apple". The name
apple-notes-mcp on PyPI is a different, unrelated project, so
uvx apple-notes-mcp fetches the wrong thing.
2. Register it with your client
Every client runs the same command, uvx applenotes-mcp. Find your row:
Client | How |
Claude Code |
|
Claude Code — plugin (recommended) | see below — registers the server and teaches Claude to use it |
Cursor |
|
Codex CLI |
|
Claude Desktop | Settings → Developer → Edit Config |
VS Code / Copilot |
|
Zed |
|
Windsurf |
|
Cursor, Claude Desktop, and Windsurf take this exact JSON:
{
"mcpServers": {
"apple-notes": { "command": "uvx", "args": ["applenotes-mcp"] }
}
}Codex uses TOML:
[mcp_servers.apple-notes]
command = "uvx"
args = ["applenotes-mcp"]VS Code nests under servers, Zed under context_servers. Ready-to-paste files
for every client are in integrations/.
Claude Code plugin
One step for the server plus an apple-notes skill:
/plugin marketplace add ashishakkumar/apple-notes-mcp
/plugin install apple-notes-mcp3. Teach your agent to use it well
Optional, but the highest-leverage step. Step 2 connects the tools; this explains
when to reach for them — search before asking which note, why append-note
beats update-note, what to do with an ambiguous title. Without it, agents tend
to ask you for a note title instead of just searching.
Client | File | Put it in |
Claude Code | ships with the plugin, or copy to | |
Cursor |
| |
Codex & everything else | append to your |
4. Grant permission and index
Ask your assistant: "Index my Apple Notes."
macOS prompts for permission to control Notes. Approve it — nothing works until you do. (Later: System Settings → Privacy & Security → Automation.)
The first run downloads the model once, then embeds every note. Seconds for a few hundred notes, a couple of minutes for thousands.
Ask something real: "What did I write about the Q3 budget?"
Re-run index-notes after adding or editing notes — the index is a snapshot, not
a live view.
claude mcp list # Claude Code
# any client — does the server start and speak MCP?
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"t","version":"0"}}}' \
| uvx applenotes-mcpA JSON reply naming apple-notes means the server is fine, and any remaining
problem is client config.
Tools
Read
Tool | Does |
| Hybrid semantic + full-text search. The one you'll use most. |
| One note in full, by exact title. Optional |
| Every folder name. |
| Titles inside one folder. |
| How many notes are indexed. |
| Rebuild the index from scratch. |
Write — each snapshots the old body to ~/.local/share/apple-notes-mcp/backups/ first.
Tool | Does |
| Add HTML to the end of a note. Prefer this over |
| Replace a note's body wholesale. |
| New note in the default folder. |
| New note in a named folder. Fails if it doesn't exist. |
| Move a note to another folder. |
| Snapshot on demand, before a risky multi-step edit. |
Bodies are HTML on a single line, capped at 2 MB.
What to know before indexing
Indexing reads every note in full. That's the point, but be deliberate.
The index is unencrypted at
~/.mcp-apple-notes/data, protected only by file permissions and FileVault. Treat it as sensitive as your notes.Prompt injection is inherent to RAG. A note can contain text aimed at the assistant reading it. No MCP server can neutralize that.
Path | Contents |
| LanceDB vector + full-text index |
| Pre-mutation snapshots ( |
Purge everything: rm -rf ~/.mcp-apple-notes ~/.local/share/apple-notes-mcp
Troubleshooting
Symptom | Fix |
| Automation permission missing. System Settings → Privacy & Security → Automation → your client → enable Notes. |
| Same. Quit and reopen the client after granting. |
First search hangs for a minute | One-time model download. Instant afterwards. |
Search misses a note you just wrote | Re-run |
|
|
Won't start on Linux or Windows | It can't — Apple Notes is macOS-only. |
Bonus: conversation-tag for Ghostty
plugin/ is an optional macOS + Ghostty extra:
it tags each terminal tab with a pixel-art sprite and title pulled from today's
Apple Notes todo list, so six parallel Claude sessions stop looking identical.
Built on this server, installed via its own install.sh (it writes a GPU shader,
which the plugin system can't do). See plugin/README.md.
Development
git clone https://github.com/ashishakkumar/apple-notes-mcp && cd apple-notes-mcp
uv venv
uv pip install --group test # pytest + light runtime deps
uv pip install -e . --no-deps # skips torch; the tests stub the embedder
uv run pytestThe suite stubs _run_jxa, the single boundary to macOS, so it runs on any
platform and covers injection safety, UTF-8 byte caps, ambiguity refusal,
backup-before-mutate ordering, path traversal in backup filenames, and RRF
fusion. CI additionally exercises mcp 1.x and 2.x and completes a real stdio
handshake.
Credits
Python port of mcp-apple-notes
by Rafal Wilinski, rewritten to close the injection issues in the original and
add write tools, backups, and folder scoping.
MIT — see LICENSE.
Available Tools
12 toolsappend-noteA
Append HTML to the body of an existing Apple Note matched by exact title. Content must be HTML without newlines. The current body is snapshotted to disk before being modified. Fails (and leaves the note untouched) if zero or multiple notes share the title within the resolved scope (the whole Notes app if folder is omitted, otherwise just that folder). Pass folder whenever you know which folder the target note lives in.
Inputs: title (required), content (required), folder. Returns: result
backup-noteA
Snapshot the current HTML body of a note (matched by exact title) to disk and return the file path. Useful before risky multi-step edits. Fails if zero or multiple notes share the title within the resolved scope. Pass folder to scope the lookup to a single folder.
Inputs: title (required), folder. Returns: result
create-noteB
Create a new Apple Note. Content must be HTML without newlines.
Inputs: title (required), content (required). Returns: result
create-note-in-folderA
Create a new Apple Note inside a specific folder. Content must be HTML without newlines. Fails if the folder does not exist — use list-folders to check first.
Inputs: title (required), folder (required), content (required). Returns: result
get-noteA
Get a note's full content and details by exact title. Optional folder scopes the title lookup to that folder — pass it whenever you know which folder the target note lives in to avoid shadowing by homonyms in other folders/accounts.
Inputs: title (required), folder. Returns: result
index-notesA
Index all Apple Notes for semantic search. Tell the user this can take from a few seconds to a few minutes depending on how many notes they have.
Inputs: no named parameters. Returns: result
list-folder-notesB
List the titles of all notes inside a named Apple Notes folder.
Inputs: folder (required). Returns: result
list-foldersA
Return the names of all Apple Notes folders.
Inputs: no named parameters. Returns: result
list-notesB
Count the notes currently in the local index.
Inputs: no named parameters. Returns: result
move-noteA
Move an existing Apple Note (matched by exact title) into the named destination folder. Optional source_folder scopes the title lookup to that folder, so a homonym in another folder doesn't trigger ambiguity. Fails if the note is missing, ambiguous within the resolved scope, or the destination folder does not exist.
Inputs: title (required), folder (required), source_folder. Returns: result
search-notesA
Search notes by meaning and by text (hybrid vector + full-text search).
Inputs: query (required). Returns: result
update-noteA
Replace the body of an existing Apple Note matched by exact title. Content must be HTML without newlines. The current body is snapshotted to disk before being overwritten. Fails (and leaves the note untouched) if zero or multiple notes share the title within the resolved scope (the whole Notes app if folder is omitted, otherwise just that folder). Pass folder whenever you know which folder the target note lives in — it eliminates spurious 'multiple notes share that title' errors caused by homonyms in other accounts/folders.
Inputs: title (required), content (required), folder. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Most tools have clear, distinct purposes (get vs search, update vs append). The only potential confusion is between list-notes (which counts indexed notes) and list-folder-notes (which lists titles in a folder), and between create-note and create-note-in-folder, but the descriptions clarify these differences.
All tool names follow a consistent kebab-case verb-noun pattern (e.g., list-notes, get-note, update-note). Even the multi-word create-note-in-folder follows the same readable convention, making the set highly predictable.
With 12 tools, the server is well-scoped for Apple Notes management. It covers listing, indexing, searching, creating, updating, appending, backing up, and folder operations without feeling bloated or sparse.
The server provides strong read, create, and update capabilities, but lacks a delete-note tool, which is an obvious gap for a notes management server. Additionally, there is no way to list all notes across folders (only count via list-notes or list by folder), limiting full inventory management.
Related MCP Connectors
Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
Save, search and edit your private notes by talking to your AI assistant.
Securely search, create, and organize your Mem notes and collections from AI assistants.
Mac & Windows: let ChatGPT, Claude & Cursor use your email, calendar, iMessage, Teams, files.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables semantic search and RAG (Retrieval Augmented Generation) over your Apple Notes.420ISC
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants like Claude to search and reference your Apple Notes using semantic search and RAG capabilities, with fully local execution and no API keys required.7,035 npm-
- FlicenseAqualityDmaintenanceA 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.247 npm-

simplenote-mcpofficial
AlicenseNot gradedqualityBmaintenanceEnables AI tools to read and optionally write Simplenote notes via local database or API, supporting offline use on macOS.369 npm33MIT