Logo vun Apple Notes MCP Server

Apple Notes MCP Server

Communautéit
sweetrb

MCP server for Apple Notes - create, search, update, and manage notes via Claude and other AI assistants

Editeursweetrb
Repositoryapple-notes-mcp
SproochJavaScript
Forks
25
Stären
131
Disponibel Tools
0
Transporttypstdio
Kategorien
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    Apple Notes MCP Server stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    131 Stären an 25 Forks aus dem verlinkte Repository.

Apple Notes MCP Server

A Model Context Protocol (MCP) server that enables AI assistants like Claude to read, create, search, and manage notes in Apple Notes on macOS.

npm version npm downloads node CI OpenSSF Scorecard platform: macOS License: MIT MCP

What is This?

This server acts as a bridge between AI assistants and Apple Notes. Once configured, you can ask Claude (or any MCP-compatible AI) to:

  • "Save this conversation as a note called 'Meeting Summary'"
  • "Find all my notes about the project deadline"
  • "Read my shopping list note"
  • "Move my draft notes to the Archive folder"
  • "What notes do I have in my Work folder?"

The AI assistant communicates with this server, which then uses AppleScript to interact with the Notes app on your Mac. All data stays local on your machine.

Quick Start

Using Claude Code (Easiest)

If you're using Claude Code (in Terminal or VS Code), just ask Claude to install it:

Install the sweetrb/apple-notes-mcp MCP server so you can help me manage my Apple Notes

Claude will handle the installation and configuration automatically.

Or register it yourself with one deterministic command:

bash
claude mcp add apple-notes -s user -- npx -y apple-notes-mcp

Using the Plugin Marketplace

Install as a Claude Code plugin for automatic configuration and enhanced AI behavior:

bash
/plugin marketplace add sweetrb/apple-notes-mcp
/plugin install apple-notes

This method also installs a skill that teaches Claude when and how to use Apple Notes effectively.

On the first tool call, macOS shows an Automation permission prompt ("Claude" wants access to control "Notes") — click OK. Optionally, grant Full Disk Access to the app that launches the server to enable the database-backed tools (get-checklist-state, get-note-metadata, get-note-link, checklist annotations in get-note-markdown, and full get-sync-status detail); see the Full Disk Access Setup Guide. The rest of the server is pure AppleScript and works without it.

Native tag, checklist, table, pin, and rich append operations use two packaged Apple Shortcuts. A third, Apple Notes MCP - Create Markdown Note, is optional: only create-note's format: "markdown" needs it, and only on macOS 26 or later. Run the explicit setup once:

bash
npx -y apple-notes-mcp setup

The command checks existing installations and opens only missing signed workflows; it opens the optional Create Markdown Note bridge only on macOS 26 or later. Confirm Add Shortcut in each macOS window, then verify with npx -y apple-notes-mcp setup --check or the MCP doctor tool. setup --check reports ready and doctor reports ok once the two required bridges are installed; both list the optional bridge's status separately. macOS does not support silent Shortcut import, so merely connecting an MCP client never opens setup windows or bypasses these confirmations.

After install and after every upgrade, open Shortcuts.app and run each installed bridge — Apple Notes MCP - Native Tags, Apple Notes MCP - Background Operations v5 and, if you installed it, the optional Apple Notes MCP - Create Markdown Note — once in the foreground, choosing Always Allow when Shortcuts asks for permission. The Create Markdown Note bridge stops before reaching Notes when run with no input, so start its run with the request in shortcuts/README.md. The server runs these Shortcuts in the background, where Shortcuts cannot display a first-run consent prompt: an unanswered one stalls every native write on that bridge until it times out, while doctor still reports the bridge installed. Quitting or relaunching Shortcuts.app or Notes.app does not clear it; the foreground run does, once per bridge.

Using the Codex Marketplace

The same plugin is available for Codex. Add the marketplace and install the plugin:

bash
codex plugin marketplace add sweetrb/apple-notes-mcp
codex plugin add apple-notes@apple-notes-mcp

The Codex plugin runs the published apple-notes-mcp server through npx and ships the same Apple Notes skill, so behavior matches the Claude Code plugin.

Other Hosts (Hermes, Antigravity)

Two more hosts can run the same apple-notes MCP server (npx -y apple-notes-mcp):

  • Hermes Agent (NousResearch) — Hermes has no plugin/marketplace drop-in, so there is nothing in this repo to install from. Register the server with the CLI:

    bash
    hermes mcp add apple-notes --command npx --args -y apple-notes-mcp

    Or add it to ~/.hermes/config.yaml by hand:

    yaml
    mcp_servers:
      apple-notes:
        command: npx
        args: ["-y", "apple-notes-mcp"]

    Restart your Hermes session afterward so the tools load.

  • Antigravity (Google) — add the server entry from .antigravity-plugin/mcp_config.json to ~/.gemini/config/mcp_config.json (or via Antigravity's MCP settings).

Using Claude Desktop

1. Install the server:

bash
npm install -g apple-notes-mcp

2. Add to Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

json
{
  "mcpServers": {
    "apple-notes": {
      "command": "npx",
      "args": ["-y", "apple-notes-mcp"]
    }
  }
}

3. Restart Claude Desktop and start using natural language:

"Create a note called 'Ideas' with my brainstorming thoughts"

On first use, macOS will ask for permission to automate Notes.app. Click "OK" to allow.

Requirements

  • macOS - Apple Notes and AppleScript are macOS-only
  • Node.js 20+ - Required for the MCP server
  • Apple Notes - Must have at least one account configured (iCloud, Gmail, etc.)

Features

FeatureDescription
Create NotesCreate notes with titles, content, and optional folder/account targeting
Search NotesFind notes by title or search within note content
Read NotesRetrieve note content and metadata
Update NotesModify existing notes (title and/or content)
Delete NotesRemove notes (moves to Recently Deleted)
Move NotesOrganize notes into folders (supports nested paths)
Folder ManagementCreate, list, and delete folders with full hierarchical path support
Multi-AccountWork with iCloud, Gmail, Exchange, or any configured account, including account IDs and default folders
Batch OperationsDelete or move multiple notes at once
Checklist StateRead checklist done/undone state directly from the Notes database (requires Full Disk Access)
ExportExport all notes as JSON or get individual notes as Markdown
AttachmentsList attachments, save them to disk, or fetch their bytes as base64
Notes.app UI StateReveal a note in Notes.app or read the current Notes.app selection
Sync AwarenessDetect iCloud sync in progress, warn about incomplete results
CollaborationDetect shared notes, warn before modifying
Diagnosticshealth-check plus a richer doctor (reachability, automation permission, accounts, Full Disk Access), sync status, and statistics

Read/list/get tools also return structured JSON (structuredContent) alongside the text, so agents can consume results without parsing prose.

MCP resources & prompts

Resources expose read-only context the client can attach without a tool call: notes://accounts, notes://folders, notes://stats, and the notes://note/{id} template (returns the note as Markdown). Prompts package common workflows: find-note, weekly-review, new-meeting-note.

AppleScript limitations

A few Notes UI features are not exposed to AppleScript. Some are recovered by reading Notes' own database instead; the rest genuinely cannot be supported. See docs/APPLESCRIPT-LIMITATIONS.md for the investigation and verification behind each:

  • Pinned notes — Notes has no scriptable pinned property via AppleScript. Pin state can now be read with the BETA get-note-metadata tool (from the NoteStore database), but it still cannot be set programmatically.
  • Note-to-note links — AppleScript exposes no link property or link element, so link relationships between notes cannot be read, and a link cannot be inserted into a note body. A shareable notes://showNote?identifier=<uuid> deep link is available via get-note-link.

Tool Reference

This section documents all available tools. AI agents should use these tool names and parameters exactly as specified.

Note Operations

create-note

Creates a new note in Apple Notes.

ParameterTypeRequiredDescription
titlestringYesThe title of the note. Automatically prepended as <h1> — do NOT include the title in content
contentstringYesThe body content of the note (do not repeat the title here)
tagsstring[]NoReturned-only metadata — NOT written to Notes.app. Apple Notes tags can't be set via AppleScript, so values passed here are echoed back in the response but do not appear on the created note. Use inline #hashtags in content instead (Notes.app turns those into real tags). Refused with format: "markdown"
folderstringNoFolder to create the note in. Supports nested paths like "Work/Clients". The folder must already exist — create it first with create-folder. Defaults to account root
accountstringNoAccount name (defaults to Notes.app's default account; matched exactly or by a unique prefix — an ambiguous prefix is refused). Must be an account Notes.app already has configured — see list-accounts
formatstringNoContent format: "plaintext" (default), "html", or "markdown". In all formats, the title is automatically prepended as the note's title line. In plaintext mode, newlines become <br>, tabs become <br>, and backslashes are preserved as HTML entities. "markdown" produces real Title/Heading/Subheading styles through a Shortcut; see Markdown notes

Example (tagged with inline hashtags):

json
{
  "title": "Meeting Notes",
  "content": "Discussed Q4 roadmap and budget allocation\n\n#work #meetings"
}

Example - Create in a specific folder:

json
{
  "title": "Client Meeting",
  "content": "Discussed project timeline",
  "folder": "Work/Clients"
}

Example - HTML formatting:

json
{
  "title": "Status Report",
  "content": "<h2>Summary</h2><p>All tasks <b>on track</b>.</p><ul><li>Feature A: complete</li><li>Feature B: in progress</li></ul>",
  "format": "html"
}

Note: The title is automatically prepended as <h1> in both plaintext and HTML formats. Do not include a <h1> title tag in the content parameter, or the title will appear twice.

Known limitation: with "plaintext" or "html", create-note sets the note body directly via AppleScript's body property, which does not apply real Notes paragraph styles for interior content — an <h2>/<h3> tag or a <span style="font-size: …px"> heading span in content renders as plain bold, styled text, not an actual Heading or Subheading (#172). Use format: "markdown" for real headings in a new note, or append-native's format: "markdown" on a note that already exists.

Markdown notes

format: "markdown" creates the note with Notes' own Markdown importer (the Create Note action's "Interpret as Markdown" option, macOS 26+), run through the packaged Apple Notes MCP - Create Markdown Note Shortcut. #, ## and ### become real Title, Heading and Subheading styles, and the note starts with the title line, with no seed line.

json
{
  "title": "Project Plan",
  "content": "## Goals\n\n- Ship the beta\n- Collect feedback\n\n### Links\n\n[Tracker](https://example.com/tracker)",
  "format": "markdown",
  "folder": "Work"
}
  • Notes interprets Markdown only in an iCloud account. The note is created in the iCloud account's default folder, then moved to folder in that account. folder must already exist and is checked before anything is created. If it exists only in another account, the note is still created and verified in the iCloud default folder, and the error names that account and the note's id so you can create the folder there and move-note it instead of creating the note again. account is refused with this format.
  • tags are refused with this format. Create the note without them, then add native tags to the returned id with add-native-tags.
  • content accepts the same bounded subset as append-native's Markdown: #/##/### headings, flat lists, **bold**, *italic* and inline links. It also refuses Markdown that Notes would rewrite and the server could not verify: _ emphasis (underscores inside a word, as in snake_case, and inside a link destination, as in [docs](https://example.com/_next/static), are fine), backslash escapes, character references such as &amp;, --- or === lines, indented headings or list items, 1) lists, closing #s, and formatting inside link labels. Content that needs one of these literally, such as a /_next path or a literal \*, has no Markdown form here: use format: "html" for that note (or append-native with format: "html" on an existing one), which keeps the characters but not the Heading and Subheading styles. Markdown punctuation in title is escaped, so the title stays literal.
  • The server finds the new note among the notes added to the default folder during the run by verifying each one's visible text, heading levels and links by exact-ID readback, and moves it only after exactly one verifies. On any uncertain result it names the note (or says to search for the title) and never retries.
  • It is gated like the other native operations; get-capabilities reports it as create-note-markdown. The Create Markdown Note Shortcut is optional and needed only for this format (macOS 26+); install and approve it as described in shortcuts/README.md.

Returns: Confirmation message with note title and ID. Save the ID for subsequent operations like update-note, delete-note, etc.


search-notes

Searches for notes by title or content.

ParameterTypeRequiredDescription
querystringYesText to search for
searchContentbooleanNoIf true, searches note body; if false (default), searches titles only
accountstringNoAccount to search in (defaults to Notes.app's default account; exact or unique-prefix match)
folderstringNoLimit search to a specific folder (supports nested paths like "Work/Clients")
modifiedSincestringNoISO 8601 date string to filter notes modified on or after this date (e.g., "2025-01-01")
limitnumberNoMaximum number of results to return. Defaults to 50 — a broad query reads several properties per match via AppleScript (~200ms/note), so an unbounded search over hundreds of matches can exceed Notes' 30s timeout and return an error instead of results. Pass a higher value to see more; the applied limit (and whether it truncated the results) is disclosed in the response.

Example - Search titles:

json
{
  "query": "meeting"
}

Example - Search content:

json
{
  "query": "budget allocation",
  "searchContent": true
}

Example - Search recent notes with limit:

json
{
  "query": "todo",
  "searchContent": true,
  "modifiedSince": "2025-01-01",
  "limit": 10
}

Returns: List of matching notes with titles, folder names, and IDs. Use the returned ID for subsequent operations like get-note-content, update-note, etc.


get-note-content

Retrieves the full content of a specific note.

ParameterTypeRequiredDescription
idstringNoNote ID (preferred - more reliable than title)
titlestringNoNote title (use id instead when available)
accountstringNoAccount containing the note (defaults to Notes.app's default account; exact or unique-prefix match, ignored if id is provided)

Note: Either id or title must be provided. Using id is recommended as it's unique and avoids issues with duplicate titles.

Example - Using ID (recommended):

json
{
  "id": "x-coredata://ABC123/ICNote/p456"
}

Example - Using title:

json
{
  "title": "Shopping List"
}

Returns: The HTML content of the note, its exact id, and a contentHash. Pass that hash back as expectedContentHash for a later update, append, or delete; the write is rejected if the note's body or rich metadata changed after this read. With Full Disk Access, embedded URLs omitted by AppleScript are restored and returned in links. The response also reports actual nativeTags, richContentComplete, and writable. Textual hashtags remain a separate field and are not proof that Notes registered native tags.

⚠️ The returned body can be lossy — do not write it back verbatim. Inline base64 images larger than APPLE_NOTES_MCP_MAX_INLINE_IMAGE_BYTES (default 256 KB) are replaced with [inline image omitted: …] text placeholders so an image-heavy note cannot blow the MCP message limit. structuredContent reports this as strippedImages (count) and truncated (boolean). When either is set, passing this body to an unguarded full-body writer would replace the real images with placeholder text. This server refuses update and append operations on attachment-bearing notes; edit them in Notes.app.


get-native-objects

Reads native object identities and ranges, checklist item IDs and state, actual native tags, and native table data from one exact note ID. Table output includes stable row and column identifiers. tableCellsComplete is false when Notes metadata cannot be decoded completely. This tool is read-only and requires Full Disk Access.


list-native-tags

Lists actual native Notes tags used within one explicit account and folder, mapping each tag to its matching note IDs. This differs from textual hashtag search. The response reports complete: false and per-note errors when some native metadata is unavailable. This tool is read-only and requires Full Disk Access.


native-tags-status

Checks whether exactly one configured Native Tags Shortcut is installed. An installed workflow may still need macOS permission on its first execution, and installation does not show whether that consent was given: run it once in the foreground in Shortcuts.app and choose Always Allow after install or upgrade (see Troubleshooting).


add-native-tags

Adds actual native Notes tag objects to one exact note using id, a fresh expectedContentHash, a distinctive existing scopeText, and tags. The operation verifies the note's original text, links, and native objects after the Shortcut runs. It refuses ambiguous title-and-scope matches and never retries an uncertain write. Install the signed workflow as described in shortcuts/README.md.


get-note-plaintext

Retrieves a note's body as plain text, with no HTML markup.

ParameterTypeRequiredDescription
idstringNoNote ID (preferred - more reliable than title)
titlestringNoNote title (use id instead when available)
accountstringNoAccount containing the note (defaults to Notes.app's default account; exact or unique-prefix match, ignored if id is provided)

Note: Either id or title must be provided. This reads the note's native plaintext property, so it skips the HTML-to-text conversion that get-note-content plus a Markdown pass would do. Use get-note-content when you need the HTML, or get-note-markdown when you want Markdown with checklist state.

Returns: The plain-text content of the note in structuredContent.plaintext, or error if not found.


get-note-details

Retrieves metadata about a note (without full content).

ParameterTypeRequiredDescription
titlestringYesExact title of the note
accountstringNoAccount containing the note (defaults to Notes.app's default account; exact or unique-prefix match)

Example:

json
{
  "title": "Project Plan"
}

Returns: JSON with note metadata:

json
{
  "id": "x-coredata://...",
  "title": "Project Plan",
  "created": "2025-01-15T10:30:00.000Z",
  "modified": "2025-01-20T14:22:00.000Z",
  "shared": false,
  "passwordProtected": false,
  "account": "iCloud"
}

get-note-by-id

Retrieves a note using its unique CoreData identifier.

ParameterTypeRequiredDescription
idstringYesThe CoreData URL identifier (e.g., x-coredata://...)

Returns: JSON with note metadata, or error if not found.


show-note

Reveals a note in Notes.app using its unique CoreData identifier.

ParameterTypeRequiredDescription
idstringYesThe CoreData URL identifier (e.g., x-coredata://...)
separatelybooleanNoOpen in a separate note window when supported by Notes.app

Returns: Confirmation that Notes.app accepted the show command.


update-note

Updates an existing note's content and/or title.

ParameterTypeRequiredDescription
idstringYesExact CoreData note ID returned by a read or search
expectedContentHashstringYescontentHash from the exact note version being replaced
newTitlestringNoNew title (if changing the title; ignored when format is "html")
newContentstringYesNew content for the note body
formatstringNoContent format: "plaintext" (default) or "html". When "html", content replaces the entire note body as raw HTML and newTitle is ignored (the first HTML element serves as the title)
allowLinkChangesbooleanNoSet to true only when intentionally changing or removing existing links

Title-only updates are rejected because Apple Notes titles are not unique.

Example - Using ID (recommended):

json
{
  "id": "x-coredata://ABC123/ICNote/p456",
  "expectedContentHash": "sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
  "newContent": "Updated content here"
}

Example - Update with HTML formatting:

json
{
  "id": "x-coredata://ABC123/ICNote/p456",
  "expectedContentHash": "sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
  "newContent": "<p>New findings with <b>bold</b> emphasis.</p><pre><code>console.log('hello');</code></pre>",
  "format": "html"
}

Returns: Confirmation with the exact ID, post-save contentHash, and verifiedVisibleText: true, or an error if the note changed before saving. Apple Notes normalizes HTML, so this proves the visible text after saving, not byte-identical rich formatting.

Note: newContent replaces the entire note body — it is not appended. To add to a note, prefer append-to-note, which does the read-and-concatenate for you and always round-trips the body as HTML. If you do read-modify-write by hand, note that get-note-content replaces oversized inline images with text placeholders (see get-note-content) — writing that body back bakes the placeholders in.

Rich-content safety: update-note refuses to replace a note when its rich metadata is unavailable or it contains attachments, native tags, inline objects, or checklists that AppleScript cannot preserve. Existing link destinations must remain present unless allowLinkChanges is explicitly set.


delete-note

Deletes a note (moves to Recently Deleted in Notes.app).

ParameterTypeRequiredDescription
idstringYesExact CoreData note ID returned by a read or search
expectedContentHashstringYescontentHash from the exact note version being deleted

Title-only deletion is rejected. If the note changed after the supplied hash was read, deletion is also rejected.

Example - Using ID (recommended):

json
{
  "id": "x-coredata://ABC123/ICNote/p456",
  "expectedContentHash": "sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
}

Returns: Confirmation message, or error if note not found.

⚠️ Safety: Irreversible from the agent's side — requires explicit user confirmation before calling. Prefer search-notes / list-notes first to confirm the exact id(s) being deleted.


move-note

Moves a note to a different folder. The note is relocated in place via Notes.app's native move, so its id, creation date, and all embedded attachments (files, images, scans, PDFs, audio) are preserved. The destination folder must already exist — create it first with create-folder.

ParameterTypeRequiredDescription
idstringYesExact CoreData note ID returned by a read or search
folderstringYesDestination folder name or nested path (e.g., "Work/Clients")

Title-only moves are rejected.

Example - Using ID (recommended):

json
{
  "id": "x-coredata://ABC123/ICNote/p456",
  "folder": "Archive"
}

Returns: Confirmation only after the same note ID is read back and its actual destination folder ID matches the requested folder.


append-to-note

Appends or prepends content to an existing note without replacing it. Always reads and writes as HTML, preserving all existing rich formatting.

ParameterTypeRequiredDescription
idstringYesExact CoreData note ID returned by a read or search
expectedContentHashstringYescontentHash from the exact note version being extended
contentstringYesText to append to the note body
positionstringNo"after" (default) appends to the end; "before" prepends to the start
separatorstringNoString placed between existing content and new content (default: two newlines → <div><br></div> in HTML)
formatstringNoFormat of the content being appended: "plaintext" (default) or "html"

Title-only appends are rejected.

Example - Append plaintext:

json
{
  "id": "x-coredata://ABC123/ICNote/p456",
  "expectedContentHash": "sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
  "content": "New item added today"
}

Example - Prepend HTML:

json
{
  "id": "x-coredata://ABC123/ICNote/p456",
  "expectedContentHash": "sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
  "content": "<div><b>Status:</b> done</div>",
  "format": "html",
  "position": "before"
}

Returns: Confirmation with the exact ID, post-save contentHash, and verifiedVisibleText: true. Apple Notes normalizes HTML, so this proves the visible text after saving, not byte-identical rich formatting. Warns when the note is shared with collaborators.

Safety: The append is rejected if the note changed since it was read, rich metadata is unavailable, or the note contains attachments. Existing link destinations are verified after saving.

Notes containing native objects (a table, a checklist, native tags) cannot be spliced, so they are routed to the native end-append bridge — see append-native. That path additionally requires scopeText, keeps the default blank-line separator and position: "after", and accepts a fixed HTML subset rather than anything Notes.app can render:

Native append
Elements<a> <b> <br> <code> <del> <div> <em> <h1> <h2> <h3> <i> <li> <ol> <p> <s> <span> <strong> <table> <tbody> <td> <th> <thead> <tr> <tt> <u> <ul>
Attributeshref on <a> (https:, http:, notes:, applenotes:, mailto: only) and a font-size style on <span>, e.g. <span style="font-size: 18px"> — the form Notes itself stores a heading as
Refusedevery other element and attribute, by name, naming the accepted subset; <table> here (use create-table); comments, doctype and processing instructions

Ordinary notes take the guarded HTML path and are not restricted to that subset.


get-note-link

Returns the notes://showNote?identifier=<uuid> deep-link URL for a note. The URL opens the note in Notes.app on iOS and macOS and can be stored in Reminders tasks or shared links.

ParameterTypeRequiredDescription
idstringNoNote ID (preferred - more reliable than title)
titlestringNoNote title (use id instead when available)
accountstringNoAccount containing the note (defaults to Notes.app's default account; exact or unique-prefix match, ignored if id is provided)

Note: Either id or title must be provided. Using id is recommended. Password-protected notes cannot be linked.

Example:

json
{
  "id": "x-coredata://ABC123/ICNote/p456"
}

Returns: notes://showNote?identifier=<uuid> URL string, plus the note id and title.

Note: Requires Full Disk Access for the app that launches the server so the Notes SQLite database is readable. On macOS 12–15 the tool also falls back to the AppleScript note link property. Run the doctor tool to verify access.


list-notes

Lists all notes, optionally filtered by folder, date, and limit.

ParameterTypeRequiredDescription
accountstringNoAccount to list notes from (defaults to Notes.app's default account; exact or unique-prefix match)
folderstringNoFilter to notes in this folder only (supports nested paths like "Work/Clients")
modifiedSincestringNoISO 8601 date string to filter notes modified on or after this date (e.g., "2025-01-01")
limitnumberNoMaximum number of notes to return

Example - All notes:

json
{}

Example - Notes in a folder:

json
{
  "folder": "Work"
}

Example - Recent notes with limit:

json
{
  "modifiedSince": "2025-06-01",
  "limit": 20
}

Returns: List of notes as {title, id} pairs — notes: Array<{title, id}>, plus count. The human-readable line is - <title> [id: <id>].

Use the returned id for any follow-up read/update/move/delete rather than re-resolving the title: titles are not unique, and a by-title lookup resolves a duplicated title to the same one note every time, silently skipping the others.

Changed in 2.7.0: notes was previously string[] (titles only). Callers that treated the array as strings must now read .title.


get-selected-notes

Reads the currently selected note(s) from the Notes.app UI.

Parameters: None

Returns: Selected note metadata, including IDs for follow-up operations. Returns an empty list when Notes.app has no selected note.


Folder Operations

list-folders

Lists all folders in an account with full hierarchical paths.

ParameterTypeRequiredDescription
accountstringNoAccount to list folders from (defaults to Notes.app's default account; exact or unique-prefix match)

Example:

json
{}

Returns: List of folders with IDs, paths, account names, and shared state. Nested folders are shown as full paths (e.g., Work/Clients/Omnia). Duplicate folder names are disambiguated by their full path. Literal slashes in folder names are escaped as \/ (e.g., Spain\/Portugal 2023).


create-folder

Creates a new folder, including a whole nested hierarchy in one call.

ParameterTypeRequiredDescription
namestringYesFolder name, or a nested path separated by / (e.g. "Retro Tech/PC/CPUs"). Every intermediate folder is created; segments that already exist are skipped
accountstringNoAccount to create folder in (defaults to Notes.app's default account; exact or unique-prefix match)

Example:

json
{
  "name": "Work Projects"
}

Example - Create a nested hierarchy:

json
{
  "name": "Work/Clients/Omnia"
}

Returns: Confirmation message. The call is idempotent — an already-existing folder (or path segment) is skipped rather than treated as an error, so it is safe to call before every create-note that targets a folder.


get-folder-by-id

Reads one exact folder's current name and parent ID. Use these values with rename-folder; this avoids relying on ambiguous folder names or paths.


rename-folder

Renames an existing folder in place using its exact id, expectedName, expectedParentId, and newName. The operation preserves the folder ID, notes, and descendants. It refuses stale metadata and a conflicting sibling name.


delete-folder

Deletes a folder.

ParameterTypeRequiredDescription
namestringYesName or path of the folder to delete (supports nested paths like "Work/Old")
accountstringNoAccount containing the folder (defaults to Notes.app's default account; exact or unique-prefix match)

Example:

json
{
  "name": "Old Projects"
}

Returns: Confirmation message, or error if folder not found or not empty.

⚠️ Safety: Irreversible — requires explicit user confirmation before calling. Prefer list-folders first to confirm the exact folder path being deleted.


show-folder

Reveals a folder in Notes.app using its unique CoreData identifier.

ParameterTypeRequiredDescription
idstringYesThe folder's CoreData identifier (from list-folders)
separatelybooleanNoOpen in a separate window when supported by Notes.app

Returns: Confirmation that Notes.app accepted the show command.


Account Operations

list-accounts

Lists all configured Notes accounts.

Parameters: None

Example:

json
{}

Returns: List of accounts with names, IDs, upgraded state, and default folder metadata.


get-default-location

Returns the default account and folder Notes.app uses for newly created notes.

Parameters: None

Returns: Default account and folder metadata, including IDs and shared state.


show-account

Reveals an account in Notes.app using its unique CoreData identifier.

ParameterTypeRequiredDescription
idstringYesThe account's CoreData identifier (from list-accounts)
separatelybooleanNoOpen in a separate window when supported by Notes.app

Returns: Confirmation that Notes.app accepted the show command.


Batch Operations

batch-delete-notes

Deletes multiple notes at once by ID.

ParameterTypeRequiredDescription
notesobject[]YesArray of {id, expectedContentHash} snapshots to delete (max 500 per request)

Returns: Summary of successes and failures.

⚠️ Safety: Irreversible — requires explicit user confirmation before calling. Prefer search-notes / list-notes first to confirm the exact ids being deleted.


batch-move-notes

Moves multiple notes to a folder.

ParameterTypeRequiredDescription
idsstring[]YesArray of note IDs to move (max 500 per request)
folderstringYesDestination folder name or nested path (e.g., "Work/Clients"). Must already exist — create it with create-folder
accountstringNoAccount containing the folder

Returns: Summary of successes and failures. Each success is reported only after the note's actual container folder ID matches the destination folder ID.


Export Operations

export-notes-json

Exports notes as JSON — metadata, HTML content, and plaintext, grouped by account and folder — one page at a time. A whole library rarely fits in one MCP message (note bodies embed images as base64), so each call returns a page and says where the next one starts.

ParameterTypeRequiredDescription
offsetnumberNo0-based position to start from, counting notes in account → folder → note order (default 0). Pass the previous page's page.nextOffset
limitnumberNoMaximum notes in this page (default 50, max 500). A page holds fewer when it reaches the response size limit
modifiedSincestringNoISO 8601 date string; export only notes modified on or after this date (e.g., "2025-01-01"). Keep the same value while paging

Example - First page:

json
{}

Example - A later page of an incremental backup:

json
{
  "offset": 50,
  "modifiedSince": "2025-06-01"
}

Returns: exportDate, version, accounts (every account and folder, holding the notes that fall in this page), summary (totalNotes in this page, totalFolders, totalAccounts), and page:

FieldDescription
offset / limitThe window that was applied
totalAvailableNotes in the library, after modifiedSince
returnedNotes in this page
nextOffsetWhere the next page starts; absent on the last page
hasMoretrue until the last page — call again with offset set to nextOffset
stoppedAtSizeLimittrue when the page closed early to stay under the response size limit

Size limit: each response stays under APPLE_NOTES_MCP_EXPORT_MAX_BYTES (default 8 MB), below the 10 MB per-message limit of MCP SDK stdio clients, which drop the connection on anything larger without passing on any error text. A note too large to fit on its own is still returned: its oversized inline images are replaced with placeholders (strippedImages), or failing that its HTML body, and if necessary its plaintext, is left empty with contentOmitted: true. Read such a note with get-note-content, and its files with list-attachments / save-attachment. Lower limit if your MCP client caps tool output below that size.

Paging: positions are worked out on every call, so notes created, deleted, or moved between calls can shift a page. Page through promptly, or use modifiedSince for incremental backups.


get-note-markdown

Gets a note's content as Markdown instead of HTML. If the note contains checklists and Full Disk Access is granted, checklist items are automatically annotated with [x] (done) or [ ] (undone).

ParameterTypeRequiredDescription
idstringNoNote ID (preferred)
titlestringNoNote title
accountstringNoAccount containing the note

Returns: Note content converted to Markdown format. Checklist items include [x]/[ ] prefixes when database access is available.


get-checklist-state

Reads checklist done/undone state for a note. This bypasses the AppleScript limitation where body of note strips checklist state, by reading directly from the NoteStore SQLite database.

Requires: Full Disk Access for the MCP host process (see Full Disk Access Setup).

ParameterTypeRequiredDescription
idstringYesNote ID (use search-notes to find it first)

Example:

json
{
  "id": "x-coredata://ABC123/ICNote/p456"
}

Returns: Checklist items with done/undone state and progress count:

Checklist for "Shopping List" (2/4 done):
[x] Buy milk
[x] Get bread
[ ] Pick up laundry
[ ] Call dentist

get-note-metadata (BETA)

Reads note metadata that AppleScript cannot expose, by querying the NoteStore SQLite database directly: pinned state, checklist flags, trash/recovery state, the preview snippet, and the password hint. The available fields vary by macOS version.

Requires: Full Disk Access for the MCP host process (see Full Disk Access Setup).

BETA: the NoteStore schema changes between macOS releases, so some fields can be absent on older or newer systems. The database is only ever read, never written.

ParameterTypeRequiredDescription
idstringYesNote ID (use search-notes to find it first)

Returns: A metadata object in structuredContent holding any of pinned, hasChecklist, hasChecklistInProgress, recoveringFromTrash, passwordProtected, passwordHint, snippet, widgetSnippet, and smartFolderQuery. Unlike most read tools, it also resolves trashed notes that AppleScript can no longer find.


add-attachment

Adds one nonempty local file of at most 64 MiB to an exact note using id, the latest expectedContentHash, and an absolute path. The server never retries the insertion. It verifies that existing rich content survived and compares the fetched attachment bytes with the source before reporting success.


list-attachments

Lists attachments in a note.

ParameterTypeRequiredDescription
idstringNoNote ID (preferred)
titlestringNoNote title
accountstringNoAccount containing the note

Returns: List of attachments with IDs, names, content identifiers, URLs when available, created/modified dates, and shared state.

⚠️ Safety: A lookup failure is reported as an error, never as an empty list — so an empty result reliably means the note has no attachments and is safe to replace wholesale. Treat an error as "unknown", not "none".


save-attachment

Saves a note attachment to disk.

ParameterTypeRequiredDescription
noteIdstringYesCoreData note ID (from search-notes/list-notes)
attachmentIdstringYesAttachment ID (from list-attachments)
savePathstringYesAbsolute destination file path. Must be under your home directory, a temp directory, or /Volumes

Returns: Confirmation with the saved path, name, and content type (also in structuredContent).


fetch-attachment

Returns a note attachment's bytes as base64, without writing to disk (the read counterpart to save-attachment).

ParameterTypeRequiredDescription
noteIdstringYesCoreData note ID (from search-notes/list-notes)
attachmentIdstringYesAttachment ID (from list-attachments)

Returns: The attachment name, content type, byte count, and base64 payload in structuredContent.base64.


show-attachment

Reveals one note attachment in Notes.app. Attachments are elements of a note, so this takes both the note id and the attachment id (the same pair used by save-attachment / fetch-attachment).

ParameterTypeRequiredDescription
noteIdstringYesCoreData note ID (from search-notes/list-notes)
attachmentIdstringYesAttachment ID (from list-attachments)
separatelybooleanNoOpen in a separate window when supported by Notes.app

Returns: Confirmation that Notes.app revealed the attachment.


Diagnostics

health-check

Verifies Notes.app connectivity and permissions.

Parameters: None

Returns: Status of all health checks (app installed, permissions, account access).


doctor

Run a full setup diagnostic: Notes.app reachability, the Automation permission, configured accounts, and Full Disk Access — each reported as ok / warn / fail with an actionable message. This is the richer counterpart to health-check; reach for it first when something isn't working.

Parameters: None

Returns: A per-check report (structuredContent carries the raw {healthy, checks[]}). The Full Disk Access check tells you whether checklist-state features will work — see Full Disk Access Setup.


get-notes-stats

Gets comprehensive statistics about your notes.

Parameters: None

Returns: Total counts, per-account breakdown, folder statistics, and recently modified counts.

The structuredContent also includes a coverage object — { complete, scanned, covered, warnings[] }. If complete is false, one or more accounts (or the recent-activity scan) could not be read and the counts reflect only the scopes that succeeded; the text output adds a "⚠️ Partial results" line. This lets you tell a genuinely empty library apart from a partial failure.


get-sync-status

Checks iCloud sync status.

Parameters: None

Returns: Whether sync is active, pending uploads, and last activity time.


list-shared-notes

Lists all notes shared with collaborators.

Parameters: None

Returns: List of shared notes with warnings about collaboration.


Native background operations

Install the signed workflows once as described in shortcuts/README.md, then run each once in the foreground in Shortcuts.app and choose Always Allow — again after every upgrade — so no first-run consent prompt is left for a background run that cannot display it. Native writes never use UI automation or write directly to the Notes database. Every operation on an existing note requires an exact note ID, a fresh expectedContentHash, and a distinctive existing scopeText so the Shortcut and server can independently resolve the same note. Creating a note from Markdown is create-note with format: "markdown".

get-capabilities

Reports which background operations are implemented, live-verified, installed, and currently available, with a specific reason for each unavailable operation.

append-native

Appends bounded plaintext, semantic HTML, or Markdown while preserving existing native objects. The regular append-to-note tool routes protected notes here when scopeText is supplied. Use a distinctive phrase of plain words without punctuation, hashtags, or paths because Notes search may not resolve them literally. format: "html" accepts the fixed subset tabulated under append-to-note; content outside it is refused by name, with the accepted subset in the error. format: "markdown" accepts the same bounded subset as format: "html"'s Markdown-shaped content (#/##/### headings, flat lists, emphasis, and inline links) but is sent through Notes' own native Markdown importer rather than converted to HTML first, so #/##/### produce real Title/Heading/Subheading — Notes' HTML importer only distinguishes two heading levels and renders ### the same as ##. Markdown that the importer would rewrite, so the appended text could not be verified, is refused before anything is written; the list is under Markdown notes. A transport failure names the Shortcut it was waiting on, so a missing or unapproved bridge is identified rather than guessed at; a timeout also says it may be an unanswered fir

Installatioun

TypingMind
{
  "mcpServers": {
    "apple-notes-mcp": {
      "command": "npx",
      "args": [
        "apple-notes-mcp"
      ]
    }
  }
}

Apple Notes MCP Server MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Apple Notes MCP Server verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Apple Notes MCP Server als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu Apple Notes MCP Server an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "apple-notes-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "apple-notes-mcp"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu Apple Notes MCP Server. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu Apple Notes MCP Server.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Apple Notes MCP Server?
Apple Notes MCP Server
Jo. Ech hunn et gelies.
Dat hunn ech mat Apple Notes MCP Server fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server Apple Notes MCP Server benotzt?

Apple Notes MCP Server ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Apple Notes MCP Server MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Apple Notes MCP Server mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat Apple Notes MCP Server MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Apple Notes MCP Server verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech Apple Notes MCP Server MCP mat TypingMind?

Apple Notes MCP Server leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt Apple Notes MCP Server MCP an TypingMind zur Verfügung?

Apple Notes MCP Server stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Apple Notes MCP Server MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Apple Notes MCP Server eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇