2026-11-27 16:19 UTC

Apple Notes MCP adds rich, conflict-checked editing for local AI agents

state: expiredheat: lowuncertainty: mediumrelevance: mediumapple-notes mcp productivity-agentsXiaofeng Han

What is this?

Xiaofeng Hanโ€™s open-source Apple Notes MCP project is a local macOS app and server that lets compatible AI agents search, read, create, edit, organize and export Apple Notes. Its README describes structured Markdown conversion, version-checked edits, backups and a process that asks Notes to upload changes to iCloud. It requires Apple silicon and macOS 26 or later, plus Full Disk Access and permission to automate Notes; locked notes are unavailable. The projectโ€™s feature comparisons are based on other projectsโ€™ READMEs, not hands-on testing, and the supplied sources do not independently verify its claims.

Why it matters

This is a capable local bridge for agents that need to work with an Apple Notes library, not a new foundation model or a broadly available cloud integration. Its standout claims are preserving rich formatting during targeted edits, guarding against conflicting changes, and syncing through Notes to iCloud. That could make personal knowledge workflows more practical, but macOS-version and hardware requirements, broad permissions, and reliance on private Apple frameworks limit its reach and raise maintenance and trust questions. The feature claims come from the projectโ€™s README and have not been independently verified here.

Current assessment

Xiaofeng Hanโ€™s open-source Apple Notes MCP project exposes search, reading, creation, editing, organization and export through MCP tools and a CLI; its README also describes a skill-based setup for agents. Claimed safeguards include version-checked writes, backups, rehearsing changes on a copy, and asking Notes to save changes for iCloud sync. It can read structured note content and attachment-derived text, but cannot access locked notes or remove existing attachments. The README says it requires Apple silicon, macOS 26 or later, Full Disk Access and Automation permission for Notes; editing uses Appleโ€™s private NotesShared framework. This offers a useful local integration for people whose notes are a source of context for coding and productivity agents, and a choice between MCP tools and on-demand CLI skills. However, the supplied primary evidence is the projectโ€™s own documentation; the HN post is its authorโ€™s launch description, not independent validation. Its READMEโ€™s competitor comparison is based on other projectsโ€™ documentation rather than hands-on tests. Compatibility, security of a tool with broad access to personal notes, and reliability across future macOS changes remain open questions. Other Apple Notes bridges already exist, so the notable angle is the claimed depth of structured editing and workflow safeguards, not the first connection of Notes to agents.

Measured heat

no measured readings yet โ€” the hourly heat pass fills this in

How the heat travelled

10-23 01:00โญ origin directly observedShow HN: Most feature complete Apple notes MCP bridge
hhhanxfus on hacker news
โ€”
10-23 01:00amplified on hacker news ๐Ÿ‘‘hn.story.50203225
hhhanxfus
peak 1 ยท 0 comments ยท 105% of case engagement
10-23 01:26our radar first saw it ยท +0.4hdiscovery anchor: hn.story.50203225โ€”

Evidence (1) โ€” โญ canonical anchor

sourceobjectauthorscorecomments
๐ŸŸง hn โญShow HN: Most feature complete Apple notes MCP bridge
Retrieved article excerpt

Open article ยท Retrieved 2026-10-23T01:28:21.534081+00:00

# Apple Notes MCP

**English** | [็ฎ€ไฝ“ไธญๆ–‡](https://github.com/xiaofeng-han/apple-notes-mcp/blob/main/README.zh-CN.md)

An MCP server that lets AI agents (Claude Code, Codex, Grok Build, OpenCode, Gemini CLI, pi, โ€ฆ) read and edit Apple Notes on macOS, with native formatting. Every tool is also a command-line command, so an agent can use a skill instead of the server. Its settings window finds the agents on your Mac and sets each one up either way with one click, installing the ones you are missing.

- **Reading** goes through Notes' own data model, with its database opened read-only: titles, headings, lists, checklists (ticked or not), tables, links, highlights (with their colors), tags, links to other notes, divider lines and attachments all come out as Markdown. Search also finds the text Notes recognized in images, scans and handwriting, and the transcripts of recordings.
- **Editing** happens in place, through Notes' private NotesShared framework, the way Notes itself edits: only what changed is written, character by character, so everything Markdown cannot show (colors, fonts, alignment) stays as it was, and edits made on other devices merge. Every change is rehearsed on a copy first and read back afterwards.
- **Syncing**: Notes does not upload changes made this way by itself, so after each change the server asks Notes (through AppleScript) to save and upload the note, and waits until iCloud has it. Notes never comes to the front.

Requires macOS 26 or later on Apple silicon; developed and tested on macOS 27.0.1. All code is written for this project, with no third-party dependencies. The permissions it needs are Full Disk Access (to read the Notes database) and Automation โ†’ Notes (to upload, move and delete).

## Tools

| Tool | What it does |
| --- | --- |
| `overview` | The folders with note counts, the smart folders and the tags; or the notes one per line (id, version, title, date, size, attachments, description) of a folder, a smart folder or Recently Deleted, narrowed by dates, tags, groups (`only`: pinned, shared, locked, quick-notes, math-notes, calls, checklists, unchecked, tagged, untagged, mentions) and attachment kinds, sorted by modified, created, last opened or title. `undescribed: true` lists notes that still need a description, with their opening text |
| `search` | Full-text search of titles, text and the text Notes found in attachments (recognized in images and scans, handwriting, recording transcripts), best matches first, with the text around each match; with the same narrowing as `overview` |
| `read_note` | A note as Markdown with its version: by id, several ids, or exact title; one section, or an outline with each section's size. The header says whether it is pinned or shared, and which notes link to it |
| `read_attachment` | An attachment from a `![โ€ฆ](attachment:id)` placeholder: images (scaled), scan pages, drawings, PDFs (text and file), audio (recordings with Notes' transcript and summary), a frame of a video, tables, links and files, with any text Notes recognized in it |
| `describe_note` | Saves one-line descriptions that `overview` shows, many notes per call |
| `create_note` | A new note from Markdown, in any folder, attaching files and link cards; or a copy of a note with everything in it (`copy_of`) |
| `edit_note` | Several changes in one call: exact replacements, Markdown inserted at the start, the end or under a heading (list items join that section's list), or a whole rewrite; ticking or unticking checklist items by their text, ticking or unticking them all, moving ticked items to the bottom or deleting them; pinning |
| `move_note` | Moves a note, or several, to another folder of its account, or back out of Recently Deleted |
| `delete_note` | Moves a note, or several, to Recently Deleted |
| `manage_folder` | Creates, renames, moves (into another folder, or to the top level) or deletes a folder (an empty one, or with `recursive` and `expected_notes` everything in it); creates, renames or deletes a smart folder of the notes with some tags; exports a folder and its folders as Markdown with the original attachments, to a new folder or a `.zip` |
| `manage_tag` | Renames a tag in every note that has it, or takes it out of every note (with `expected_notes`) |

### Markdown

One note paragraph is one Markdown line, so a model can change a line without anything else moving.

| In Notes | In Markdown |
| --- | --- |
| Title, heading, subheading | `#` , `##` , `###` |
| Bulleted, dashed, numbered list | `*` , `-` , `1.`  (two spaces per indent level) |
| Checklist | `- [ ]`  / `- [x]` |
| Block quote | `>`  per level |
| Monospaced | lines between ```` ``` ```` |
| Bold, italic, strikethrough | `**โ€ฆ**`, `*โ€ฆ*`, `~~โ€ฆ~~` |
| Underline, highlight | `<u>โ€ฆ</u>`, `<mark>โ€ฆ</mark>` (purple); `<mark class="pink">โ€ฆ</mark>` for pink, orange, mint, blue |
| Link | `[text](url)` |
| Tag | `#name` (a real Notes tag; literal text that would read as one is written `\#name`) |
| Link to a note | `[text](note:1A2B3C4D)`; empty text takes the note's title |
| Divider line | `---` alone on a line |
| Table | `| a | b |` rows; `<br>` for a line break in a cell |
| Attachment | `![image](attachment:1A2B3C4D)` (a placeholder to keep in place) |
| New file, new link card | `![name](/path/to/file)` (also `~/โ€ฆ` or `file://โ€ฆ`); `![](https://โ€ฆ)` |

### Rules

- Every change to a note (`edit_note`, `move_note`, `delete_note`) needs the `version` that `read_note`, `overview` or `search` gave, a hash of the note as Markdown. If the note changed since it was read (on another device, or by another agent), the change is refused instead of overwriting that change; each write answers with the new version. Before every edit the note's stored body is saved under `~/Library/Application Support/AppleNotesMCP/backups/<note id>/` (the last 20).
- Attachments stay where they are: an edit that would drop a placeholder, or add one that is not in the note, is refused. Tables, tags, links to notes and divider lines are the exception: they can be added and removed, like text. New files and link cards come from `![name](/path)` and `![](https://โ€ฆ)`; a file is taken only from the home folder (not `~/Library` or a hidden folder), a temporary folder or an external drive, because this app can read every file.
- A smart folder holds no notes of its own: `overview` and `search` take it to list or search the notes its rule picks, and no note can be moved into it.
- Locked notes cannot be read or changed. Shared notes can be edited (the edits merge with the other people's), but are not deleted here, and a move into or out of a shared folder needs `allow_shared` (after asking the user).
- `delete_note` and a recursive folder delete only move notes to Recently Deleted, and refuse a note already there (deleting it again would erase it for good). A recursive delete needs `expected_notes`, the number of notes the caller saw, and checks everything before it changes anything.
- An export goes only to a path that does not exist yet, outside `~/Library`.
- Any tool can be turned off for all AI assistants in the settings window (see [Choosing the tools](https://github.com/xiaofeng-han/apple-notes-mcp#choosing-the-tools)).

## Command line

Every tool is also a command, so the app works from a terminal and from an agent's shell, which is what the [skill](https://github.com/xiaofeng-han/apple-notes-mcp#server-or-skill) uses. A command is a noun and a verb. Its flags come from the tool's input fields, so they are the fields of the tools above. `apple-notes-mcp help` prints the whole tree:

```
apple-notes-mcp
โ”œโ”€โ”€ --stdio                     Serve MCP on stdin and stdout (what agents start)
โ”œโ”€โ”€ --settings                  Open the settings window (also what opening the app does)
โ”œโ”€โ”€ --self-check                Print a diagnosis
โ”œโ”€โ”€ --version                   Print the version
โ”œโ”€โ”€ help [COMMANDโ€ฆ]             This tree, or a command's flags (also --help, -h)
โ”œโ”€โ”€ setup                       Ask to control Notes, and show where to give Full Disk Access
โ”œโ”€โ”€ skill                       Print the SKILL.md that teaches an agent this command line
โ”œโ”€โ”€ agents
โ”‚   โ”œโ”€โ”€ list                    Which agents are here and set up (the default)
โ”‚   โ”‚       [--skill] [--folder DIR]
โ”‚   โ”œโ”€โ”€ set-up (IDโ€ฆ | --all)    Register the server with them, or install the skill
โ”‚   โ”‚       [--restart] [--skill] [--folder DIR]
โ”‚   โ””โ”€โ”€ install IDโ€ฆ             Install them, then set them up
โ”‚           [--dry-run] [--restart] [--skill] [--folder DIR]
โ”œโ”€โ”€ notes
โ”‚   โ”œโ”€โ”€ list                    List notes, newest first, one line each (id | version | title | date | size | description) (the default)
โ”‚   โ”‚       --folder string --tag stringโ€ฆ --only stringโ€ฆ --attachment stringโ€ฆ --modified-after string
โ”‚   โ”‚       --modified-before string --created-after string --created-before string
โ”‚   โ”‚       --sort modified|created|title|opened --[no-]undescribed --limit int
โ”‚   โ”œโ”€โ”€ search QUERY            Full-text search of titles, text and the text Notes found in attachments, best matches first
โ”‚   โ”‚       --match all|any --folder string --tag stringโ€ฆ --only stringโ€ฆ --attachment stringโ€ฆ
โ”‚   โ”‚       --modified-after string --modified-before string --created-after string --created-before string
โ”‚   โ”‚       --sort modified|created|title|opened --limit int
โ”‚   โ”œโ”€โ”€ read [ID]               Print notes as Markdown, each with the version that notes edit takes
โ”‚   โ”‚       --id stringโ€ฆ --title string --section string --[no-]outline
โ”‚   โ”œโ”€โ”€ create MARKDOWN         Create a note from Markdown; its first line is the title
โ”‚   โ”‚       --folder string
โ”‚   โ”œโ”€โ”€ copy ID                 Copy a note with everything in it, into its own folder or --folder
โ”‚   โ”‚       --folder string
โ”‚   โ”œโ”€โ”€ edit ID --version string  Change a note in one go: --replace pairs, --insert Markdown, or --rewrite the whole note; --[no-]pinned
โ”‚   โ”‚       --replace json --insert string --at string --rewrite string --check stringโ€ฆ --uncheck stringโ€ฆ
โ”‚   โ”‚       --checklist check_all|uncheck_all|move_checked_down|delete_checked --[no-]pinned
โ”‚   โ”œโ”€โ”€ delete [ID]             Move a note to Recently Deleted (notes move brings it back; notes list --folder "Recently Deleted" lists them)
โ”‚   โ”‚       --notes json --version string
โ”‚   โ”œโ”€โ”€ move [ID] FOLDER        Move a note to another folder, or back from Recently Deleted
โ”‚   โ”‚       --[no-]allow-shared --notes json --version string
โ”‚   โ””โ”€โ”€ describe --descriptions json  Save one-line descriptions of notes, which notes list shows; many notes at once
โ”œโ”€โ”€ tags
โ”‚   โ”œโ”€โ”€ rename TAG NAME         Rename a tag in every note that has it
โ”‚   โ””โ”€โ”€ delete TAG --expected-notes int  Take a tag out of every note that has it (ask the user first); the notes stay
โ”œโ”€โ”€ attachments
โ”‚   โ””โ”€โ”€ read ID                 Open an attachment from a ![โ€ฆ](attachment:ID) placeholder: print its text, save its images, audio and files
โ”‚           --[no-]text-only --output-dir string
โ”œโ”€โ”€ folders
โ”‚   โ”œโ”€โ”€ list                    The folders, with how many notes each holds (the default)
โ”‚   โ”‚       --depth int
โ”‚   โ”œโ”€โ”€ create PATH             Create a folder; a path such as Projects/Ideas makes it inside another
โ”‚   โ”‚       --tag stringโ€ฆ --match any|all
โ”‚   โ”œโ”€โ”€ rename FOLDER NAME      Rename a folder
โ”‚   โ”‚       --[no-]allow-shared
โ”‚   โ”œโ”€โ”€ move FOLDER INTO        Move a folder into another, or to the top level with ""
โ”‚   โ”‚       --[no-]allow-shared
โ”‚   โ”œโ”€โ”€ delete FOLDER           Delete an empty folder, or with --recursive --expected-notes N everything in it (ask the user first)
โ”‚   โ”‚       --[no-]recursive --expected-notes int
โ”‚   โ””โ”€โ”€ export FOLDER TO        Write a folder and its folders as Markdown with the original attachments, to a new folder or .zip
โ””โ”€โ”€ call TOOL [JSON | -]        Run any tool on a JSON object of its arguments; call alone lists the tools
```

- **Flag names:** a field's flag has dashes for underscores, so `modified_after` is `--modified-after`.
- **True-or-false fields:** `--outline` tur
hhhanxfus10

Interpretation history

Decision trace