Apple Notes (sweetrb)

Productivity and workflow

MCP server for Apple Notes - read, search, create, edit, organize, and export notes on macOS via Claude and other AI assistants.

Your AI app calls the Apple Notes (sweetrb) MCP server, which does the work through tools like recently-deleted, geometry-approximation, paint-approximation and drop-content and sends the result back to the chat.

About Apple Notes (sweetrb)

Apple Notes (sweetrb) is a community MCP server from sweetrb, filed in our directory under productivity and workflow. MCP server for Apple Notes - read, search, create, edit, organize, and export notes on macOS via Claude and other AI assistants.

Apple Notes (sweetrb) runs on your own machine: your AI app starts it with the command npx -y apple-notes-mcp and talks to it over standard input and output.

The README for Apple Notes (sweetrb) lists tools such as tags, content, unique and shared, which your AI app can call once the server is connected.

At a glance

Publisher
sweetrb (community)
Runs
Locally on your machine
Install from
Node.js package on npm: apple-notes-mcp
Written in
TypeScript
License
MIT
GitHub stars
206

Tools Apple Notes (sweetrb) gives your AI app

  • tagsAre refused with this format. Create the note without them, then add.
  • contentAccepts the same bounded subset as append-native's Markdown:.
  • uniqueNo other paragraph in the note carries this ID. The paragraph also.
  • sharedOther paragraphs carry the same ID (sharedWith counts them).
  • missingNo ID is stored.
  • containsA snippet of the paragraph. Case, runs of spaces, and Unicode.
  • matchThe whole paragraph, compared the same way.
  • blockIndexFrom list-note-paragraphs.
  • text(decoded body), textLength, wordCount, charCount (Unicode.
  • links, each with a kind: inline (a hyperlink on text), card (a rich.
  • deepLink, isShared (the note or any enclosing folder is shared),.
  • ifFolderIdThe note must currently be in exactly this folder.
  • ifAncestorFolderIdThe note must be inside this folder or any of its.
  • forbiddenAncestorFolderIds(up to 50): the note must not be inside any of.
  • pinnedAnd quick-notes cover notes in folders outside Recently Deleted. Folderless Quick Note drafts, which Notes.app never shows, are left out.
  • recently-deletedLists notes in each account's Recently Deleted folder and skips tombstones already waiting to sync away.
  • lockedLists every password-protected note, including trashed and folderless ones, so a misplaced locked note can still be found. Their flags and folder say where each
  • attachmentId(usable with save-attachment), identifier, typeUti, and durationSeconds when known.
  • statusOk (a transcript is stored), none (no transcript is stored, for example a recording Notes has not transcribed, or an audio file attached from elsewhere), or und
  • segments, only when includeSegments is set, with segmentsTruncated when the cap cut them short.
  • partialSome text came back, but a take failed or the helper stopped at its deadline (code: "incomplete").
  • errorNothing was transcribed; code says why (assetunavailable when the audio file is not on this Mac or the language's speech model is not installed, permissionrequi
  • indeterminateThe helper did not answer in time, so the outcome is unknown and a retry may succeed.
  • none(overall only): the note has no audio.

Tool names as the Apple Notes (sweetrb) README lists them. Your AI app shows the live list once Apple Notes (sweetrb) is connected.

How to set up Apple Notes (sweetrb)

  1. Install Node.js on the machine that runs your AI app, because Apple Notes (sweetrb) starts with npx and downloads its package on first run.
  2. Check the Apple Notes (sweetrb) README for keys or settings; the registry lists none that Apple Notes (sweetrb) requires.
  3. Add Apple Notes (sweetrb) to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Apple Notes (sweetrb) tools to confirm the connection.
  5. Run one read-only task with Apple Notes (sweetrb) first, such as a call to tags, before you allow anything that writes or sends.

Apple Notes (sweetrb) compared with similar servers

  • Bear Notes by vasylenko has fewer GitHub stars than Apple Notes (sweetrb) (206 against 206); both are community servers, and both run locally. The Bear Notes README lists 13 tools to Apple Notes (sweetrb)'s 30.
  • Gistpad by lostintangent has more GitHub stars than Apple Notes (sweetrb) (208 against 206); both are community servers, and both run locally. The Gistpad README lists 30 tools to Apple Notes (sweetrb)'s 30.
  • Trainingpeaks by JamsusMaximus has fewer GitHub stars than Apple Notes (sweetrb) (205 against 206); both are community servers, and both run locally.

Before you connect Apple Notes (sweetrb)

  • Give Apple Notes (sweetrb) its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Apple Notes (sweetrb) tool call until you trust what it does with them.
  • Treat text that Apple Notes (sweetrb) fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Apple Notes (sweetrb) on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Apple Notes (sweetrb)

How marketing and sales teams put Apple Notes (sweetrb) to work, by company size. Pick the size closest to yours and start Apple Notes (sweetrb) on one use case.

Small business

  • A busy owner can use Apple Notes (sweetrb) to turn a brain dump into tasks with due dates, and get a short list of what matters today.
  • Small marketing teams can ask Apple Notes (sweetrb) what slipped last week and which campaign tasks have no owner yet.
  • Apple Notes (sweetrb) runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing ops can connect Apple Notes (sweetrb) to build launch checklists from a template and post status updates without a weekly meeting.
  • Team leads can use Apple Notes (sweetrb) to see where work piles up across projects and move it before deadlines slip.
  • Start with tags and content, the tools Apple Notes (sweetrb) lists first, and add more once the team trusts the results.

Enterprise

  • Enterprise PMOs can use Apple Notes (sweetrb) to roll up status across many teams into one view for leadership, with links back to each source task.
  • Large orgs can give Apple Notes (sweetrb) scoped access per workspace, so an agent helps one department without reading another's plans.
  • Apple Notes (sweetrb) is a community server, so have security review the code and pin a version before Apple Notes (sweetrb) touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Apple Notes (sweetrb) README

From sweetrb/apple-notes-mcp on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Apple Notes MCP Server

A Model Context Protocol (MCP) server that lets Claude (Claude Code and Claude Desktop), Codex, and other MCP clients read, search, create, edit, organize, and export notes in Apple Notes on macOS. It runs locally on your Mac and talks to Notes through AppleScript, Apple Shortcuts, and read-only access to the Notes database.

Beyond creating and editing notes, it manages folders and accounts, native tags, checklists, tables, pinned notes, links, and attachments. It can also export notes as Markdown (through templates you can edit in a local web editor), HTML (with classic drawings as SVG), or JSON, read audio transcripts and drawings, link to single paragraphs with anchors that survive edits, and run a query language across your whole library.

Contents

  • What is This? · Setup on your Mac · Requirements · macOS compatibility · Features
  • Tool Reference: notes, folders, accounts, batch, export, attachments, and media, diagnostics, native background operations, private helper
  • Usage Patterns · Installation choices and upgrades · Server settings · Full Disk Access · Public native helper · Permission broker
  • Security and Privacy · Known Limitations · Troubleshooting · Recurring macOS permission prompts · Development

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. Some features also use packaged Apple Shortcuts (native tags, checklists, tables, pinning) or read the Notes database read-only (queries, checklist state, transcripts). Notes operations and speech recognition run locally. If you explicitly enable downloadAssets: true, the public helper may download speech models; what your MCP client does with tool results is up to that client.

Setup on your Mac

Apple Notes MCP runs on the Mac that holds your Notes library. Your assistant starts a local MCP server over stdio, and the server uses AppleScript, signed Apple Shortcuts, and read-only database access. Choose one client setup below, then complete the macOS permissions and optional feature setup you need.

Version boundary: these instructions describe v2.15.1, including the optional permission broker. Normal client registration starts an in-process server unless a matching broker is already installed and answering. Broker installation is a separate opt-in step.

Manual client entries, setup commands, and the source checkout below select v2.15.1. Run setup from the same release as the server your client actually launches. The Claude Code plugin bundles its server; the Codex plugin manifest launches an unpinned npm package even when its marketplace is pinned. For reproducible Codex setup, use the manual registration below instead of the plugin. When upgrading, update the selected version consistently in the client and setup commands.

Run each setup target separately and use the exact options shown. Version 2.15.1 does not reject all unknown or mixed setup flags; a misspelled target can fall through to Shortcut setup and open import windows.

Requirements
  • macOS with Notes.app and at least one configured Notes account. Features depend on the installed macOS version and account type; inspect get-capabilities before relying on optional features.
  • Node.js 20 or newer. The npx examples also need npm, normally included with Node.js.
  • A client that can launch a local stdio MCP server on this Mac. The configurations below cover Claude Code, Claude Desktop, Codex, Hermes, and Antigravity.
  • Automation permission to control Notes.app for AppleScript operations. Database-backed operations also need Full Disk Access for the process macOS holds responsible for the server.
  • Apple Shortcuts for native writes such as native tags, checklists, tables, pinning, and rich append. The optional native Markdown creation route needs macOS 26 or newer and an iCloud account.
  • An Apple developer toolchain only if you choose to build an optional native helper or permissions window. The public helper builds with older SDKs too; only a macOS 26 or newer SDK compiles in its SpeechAnalyzer route (see macOS compatibility).
macOS compatibility

What works depends on the macOS release. get-capabilities reports this for the Mac it runs on (features.<name>.minimumMacOSVersion, osSupported, and a reason such as requires_macos_13), so check it there rather than relying on this table alone. The server is developed and tested on current macOS; rows for older releases come from each feature's declared minimum and Apple's API availability, not from testing on those releases.

Feature macOS 12 macOS 13–15 macOS 26 and later
AppleScript core: create, read, search, update, move and delete notes and folders (applescriptCore) Yes Yes Yes
Notes database reads with Full Disk Access: queries, structure, checklist state, exports, attachments (fullDiskAccessReads) Yes Yes Yes
get-note-link without Full Disk Access Yes, AppleScript fallback Yes, AppleScript fallback No, needs Full Disk Access
Listing bridge Shortcuts (doctor, setup --check, shortcutsBridges) Yes, by name (12's shortcuts list cannot show identifiers) Yes Yes
Native Tags and Background Operations bridges: native tags, checklists, tables, pinning, note links, append-native (nativeTagsBridge, backgroundOperationsBridge) No: they call Notes App Intents actions, which macOS 12 does not have Minimum declared; untested Yes
Markdown note creation through the Markdown bridge (markdownNoteBridge) No No Yes, iCloud account only
Public native helper build (setup --public-helper) Builds with the SDK that release's Xcode or Command Line Tools provide; not tested on macOS 12 itself Builds Builds
Classic drawing decode (get-note-drawings, needs the helper and Full Disk Access) Yes Yes Yes
On-device transcription (transcribe-note-audio, needs the helper and Full Disk Access) SFSpeechRecognizer: needs a Speech Recognition grant for the app that launches the server, and an on-device model for the locale Same as macOS 12 SpeechAnalyzer, no grant needed, when the helper was built with a macOS 26 or newer SDK; otherwise as on macOS 12
Stored audio transcripts (get-audio-transcripts) With Full Disk Access With Full Disk Access With Full Disk Access

Before macOS 13, setup does not open the Tags or Background bridge for import, and setup and setup --check report both as skipped with requires_macos_13.

The public helper compiles its SpeechAnalyzer route only when the SDK provides it. With an older SDK the same helper builds without it and transcribes through SFSpeechRecognizer on every release, even on macOS 26 and later. Node.js 20 or newer is required everywhere.

On macOS 12 the privacy panes are under System Preferences → Security & Privacy → Privacy, not System Settings. macOS never prompts for Full Disk Access on any release: nothing will ask, and you add the app or executable yourself (see which process needs it).

Python is not an Apple Notes MCP runtime dependency. The package includes its compiled JavaScript server and signed Shortcut files. Python is used by developer scripts that regenerate those workflows, not by normal installation or MCP tool calls.

You do not need an Apple ID password, API key, or NotesCTL installation to configure this server. A client's own login and tool-approval policy are separate from macOS privacy permissions.

1. Choose one client registration

Use either a plugin or a manual MCP entry for the same client. Registering both can load duplicate servers or leave you using a different package version than expected. Adding a client entry does not grant macOS permissions or import Shortcuts.

Claude Code

For the plugin, run these commands inside a Claude Code session:

/plugin marketplace add sweetrb/apple-notes-mcp#v2.15.1
/plugin install apple-notes@apple-notes-mcp

The plugin bundles the server and the Apple Notes skill. For a manual MCP registration instead, run this in your terminal:

claude mcp add apple-notes -s user -- npx -y apple-notes-mcp@latest

Check the connection with /mcp in Claude Code. claude mcp get apple-notes inspects the manually registered server. Project-scoped .mcp.json entries require workspace/server approval and can override a user-scoped entry.

Claude Desktop

Open Settings → Developer → Edit Config. Merge the following server entry into ~/Library/Application Support/Claude/claude_desktop_config.json, preserving any existing servers:

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

Fully quit and reopen Claude Desktop. This npx route does not require a preceding global npm installation. If the desktop app cannot find npx, use an absolute executable path or the fixed Node configuration below. The desktop app may have a different PATH from your interactive shell.

Codex

For the plugin and its Apple Notes skill:

codex plugin marketplace add sweetrb/apple-notes-mcp --ref v2.15.1
codex plugin add apple-notes@apple-notes-mcp

For a manual MCP registration instead:

codex mcp add apple-notes -- npx -y apple-notes-mcp@latest

The equivalent entry in ~/.codex/config.toml is:

[mcp_servers.apple-notes]
command = "npx"
args = ["-y", "apple-notes-mcp@latest"]

If codex is not on your terminal's PATH, use the desktop client's Settings → MCP servers → Add server: choose STDIO, enter npx with arguments -y and apple-notes-mcp@latest, save, and restart the server.

Restart the relevant local Codex session or client. Use /mcp in the CLI or the client's MCP settings to inspect the connection. codex mcp list lists manually configured servers. The desktop client, CLI, and IDE extension share the Codex configuration; select local execution on the Mac containing your Notes library.

The plugin's server entry runs the published npm package through unpinned npx, despite the marketplace ref above. Its server may therefore differ from v2.15.1. Use the manual entry to pin the runtime for these instructions, or run setup from the release matching the plugin's actual server. This is a different distribution path from the Claude Code plugin's bundled server.

Hermes

Register a local stdio server:

hermes mcp add apple-notes --command npx --args -y apple-notes-mcp@latest

Or merge this entry into ~/.hermes/config.yaml:

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

Restart the Hermes session. This repository supplies an MCP configuration route for Hermes; see its CLI commands and MCP configuration reference.

Antigravity

In the IDE, open MCP Servers → Manage MCP Servers → View raw config. Merge the same mcpServers JSON entry shown for Claude Desktop into the global ~/.gemini/config/mcp_config.json, or use the workspace configuration at .agents/mcp_config.json. Refresh or restart the client so it loads the server. Google's MCP guide describes the current menu and configuration paths.

The repository's .antigravity-plugin/mcp_config.json supplies an unpinned stdio server entry; the JSON above pins the audited release. Use command and args; this package does not provide a remote serverUrl.

Gemini Spark (macOS Local MCP)

In Gemini macOS builds that offer Local MCP, open Connected Apps, click + Custom, and select Local MCP in "Set up a custom connected app". Fill in the form with:

Field Value
Server Name Apple Notes
Description Read, search, create, edit, organize, and export Apple Notes on this Mac.
Command npx -y apple-notes-mcp@latest

You can print these instructions from the installed server:

npx -y apple-notes-mcp setup --gemini-spark

The command only prints the guide. It exits before loading server configuration, checking Notes, or running the other setup commands, and it doesn't register the app or change permissions. Exit 0 means the guide was printed, not that Gemini connected. Run it by itself; combining it with other setup options exits 2.

Keep Sandbox settings at Default initially, then click Next and review the discovered tools and permission requests before connecting. If Gemini can't launch the server, inspect Show Logs and check whether npx is available to the app. For a stable local installation, npm install -g apple-notes-mcp provides the apple-notes-mcp command; you can also use absolute paths to your Node executable and the installed build/index.js if the app can't find them. Keep that installation available, and update the command if you move it or replace Node.

Gemini's sandbox and macOS permissions are separate. Review any additional filesystem access the launcher needs; Full Access isn't a required setup step. Automation of Notes.app enables the AppleScript tools, while database tools need the runtime's Full Disk Access. Shortcut operations need the packaged bridge setup above. After connecting, ask Gemini to run get-capabilities for tool availability, then doctor for Notes access diagnostics before attempting a write. A successful terminal check doesn't verify the permissions of Gemini's process.

This integration uses the Mac app's Local MCP command interface and the server's existing stdio transport. Availability depends on your Gemini build. Google's custom apps documentation currently describes URL-based setup in the web app; it doesn't document this local form. Cloud MCP, Gemini web/mobile, and a hosted HTTP endpoint aren't supported by this server. These instructions apply to Gemini Spark, separately from Gemini CLI and Antigravity.

Other MCP clients and remote execution

A local MCP client can use the command npx with arguments -y and apple-notes-mcp@latest. Follow that client's stdio configuration format: JSON mcpServers, TOML, and YAML are not interchangeable.

Apple Notes MCP has no built-in HTTP, SSE, WebSocket, or OAuth MCP endpoint. A cloud-only client cannot access your Mac's Notes library merely by installing the npm package in a Linux container or entering a URL. A separately managed transport bridge or client feature that delegates tool execution to your Mac needs its own configuration and security review; it is not part of this package's supported setup. GUI reveal and clipboard tools also need your logged-in desktop session.

The optional anchors serve command is a paragraph-link resolver, and templates edit is a template editor. Neither is a remote MCP server.

2. Verify the server and macOS access

In the configured client, ask it to run get-capabilities and then doctor. get-capabilities inspects feature availability without opening Notes or running the bridges. doctor also sends a read-only Apple event to Notes and may trigger the macOS Automation prompt. Run these from the actual client because a successful terminal check does not establish that a different desktop app has the same permissions.

Access or component What it enables How to complete it
Automation of Notes.app AppleScript reads and writes Allow the macOS prompt for the responsible app to control Notes. Inspect Privacy & Security → Automation if access was denied.
Full Disk Access Database reads, rich-content inspection and safety checks, query tools, native object reads, and database-backed exports macOS never prompts for it. Add the responsible executable/app under Privacy & Security → Full Disk Access (macOS 12: System Preferences → Security & Privacy → Privacy), fully quit and relaunch the host, then rerun doctor.
Shortcut installation and consent Native tag, checklist, table, pin, link, and append routes Import the bridges and complete their foreground consent steps below.
Public helper and, where required, Speech Recognition Classic drawing decoding and on-device audio transcription Build the optional helper; follow the permission result from doctor or the tool.

Which process needs Full Disk Access? macOS never shows a Full Disk Access prompt, so nothing will ask; you add the entry yourself. For a brokered session, grant the signed Apple Notes MCP Broker.app access; doctor reports whether that session uses it. Without the broker, Claude Desktop needs the exact Node executable printed by doctor; granting Claude.app alone does not reach the server in that launch path. Add that exact path: a Node found some other way (which node in a shell, another install, or a Homebrew symlink) can be a different binary. For a terminal-launched client, the terminal app is normally the responsible app; for an editor-launched server, check that editor. Most other desktop clients stay responsible for the servers they launch, so grant the client app itself (and the Node path from doctor if that alone does not work). Use the actual running client's diagnostics instead of assuming that all clients share grants.

Client sandbox access is a separate boundary. A sandboxed client must be able to launch the executable and reach its files; a brokered client also needs access to the broker's local Unix socket. Full Disk Access and Automation grants do not expand the client's sandbox. Diagnose a launch or socket-access refusal in the client before changing macOS privacy permissions.

To inspect setup from a terminal without opening permission panes or requesting Automation access:

npx -y apple-notes-mcp@latest setup --permissions --check --json

The Automation result is intentionally unknown in this mode. When you are at the Mac and want to check it, this command sends a read-only Apple event and may show the macOS consent prompt:

npx -y apple-notes-mcp@latest setup --permissions --once --probe-automation

For an interactive checklist that also opens the relevant settings panes:

npx -y apple-notes-mcp@latest setup --permissions --open --probe-automation

The command checks permissions; it does not grant them. --check and SSH sessions suppress the Automation probe even when --probe-automation is supplied. Without the probe, exit status 0 does not establish Automation access.

Full Disk Access is optional if you only need operations that can safely run through AppleScript, but many capabilities and safety checks depend on it. It can also be required by guards on existing-note writes, including rich-content and revision verification; it is not merely an enhancement for read tools. Do not interpret an unavailable database-backed feature as an empty result. In particular, sync results without database visibility do not prove that iCloud sync is idle. Use the tool reference and get-capabilities for individual requirements, and see the Full Disk Access guide.

3. Enable the native Shortcut features you need

Run explicit setup on your Mac:

npx -y apple-notes-mcp@latest setup

Approve Add Shortcut for the missing signed workflows that macOS opens:

  • Notes MCP Tags
  • Notes MCP Background v6
  • Notes MCP Markdown, offered only on macOS 26 or newer and optional for native Markdown creation

Releases before 2.16.1 installed these as Apple Notes MCP - Native Tags, Apple Notes MCP - Background Operations v6 and Apple Notes MCP - Create Markdown Note. Those still work. To switch to the short names, run setup after deleting the old ones in Shortcuts.app. Delete Apple Notes MCP - Background Operations v5 in any case; the server no longer uses it.

Then check installation:

npx -y apple-notes-mcp@latest setup --check

The first two bridges determine this check's readiness; the optional Markdown bridge is reported separately. Keep only one installed copy of each named bridge. The server refuses duplicate bridge names.

After installation or upgrade, run each installed bridge once in the foreground in Shortcuts.app and answer its access prompts. Choose Always Allow if you want that bridge to run unattended. For the Markdown bridge, use the first-run request in shortcuts/README.md; running it without input stops before it asks Notes for access. That request creates a disposable check note.

An installed bridge is not proof of consent: shortcuts list, setup --check, and doctor cannot observe the first-run consent state. A background native write can stall on an unanswered prompt. After a timeout or an indeterminate write result, read the exact note before retrying because the write may already have happened.

4. Build optional helpers

These commands are separate from registering the MCP client. If xcrun swiftc or clang is unavailable, install Apple's Command Line Tools with xcode-select --install before building a helper. The public helper compiles its macOS 26 SpeechAnalyzer/SpeechTranscriber route only when the SDK declares those APIs; with an older SDK it builds with the SFSpeechRecognizer route only. A build against the macOS 15.4 SDK targeting macOS 12 compiles; running it on macOS 12 itself is untested.

Public native helper

Needed for get-note-drawings and transcribe-note-audio. Brokered sessions do not load external helpers; set APPLE_NOTES_MCP_BROKER=off for this client and restart it before using these tools:

npx -y apple-notes-mcp@latest setup --public-helper
npx -y apple-notes-mcp@latest setup --public-helper --check

It compiles locally, signs ad hoc, verifies its handshake, and records source and binary checksums. The server refuses stale or modified helpers; rerun setup after a relevant package upgrade. This helper uses public Apple frameworks and does not open or write the Notes database. The server still needs Full Disk Access to read the drawing/audio assets it passes to the helper.

On older macOS versions, speech transcription needs Speech Recognition access for the responsible host. The helper never requests this silently. On macOS 26 and newer, the SpeechAnalyzer route has been observed to work without a prior grant; explicit denial or restriction still blocks it. Inspect the returned capability/permission status on your Mac.

Private helper setup

Optional read-only NotesShared state inspection, disabled by default. Brokered sessions do not load this helper; set APPLE_NOTES_MCP_BROKER=off for this client and restart it first:

npx -y apple-notes-mcp@latest setup --native-helper
npx -y apple-notes-mcp@latest setup --native-helper --check

To enable it, set the string environment value APPLE_NOTES_MCP_ENABLE_PRIVATE=1 for the server and restart the client. Inspect native-helper-status before using native-note-state. This released helper opens the store read-only and cannot provide deep native writes. Apple's private API may change with macOS updates; the remaining server features do not require this helper.

Optional checklist window

Optional graphical presentation of the checklist:

npx -y apple-notes-mcp@latest setup --permissions-window
npx -y apple-notes-mcp@latest setup --permissions --window

It displays the command's checks and opens settings on request. It does not become the permission owner or replace the client process.

5. Confirm the capabilities you intend to use

After restarting the client, run doctor and get-capabilities again. Confirm that the specific routes you need are available, not just that the server connected. Private helper status, public helper readiness, Markdown creation, and the native-write bridges are separate checks.

Use read-only operations first, such as listing accounts/folders and reading a note you select. If you want to exercise a write route, use a dedicated disposable note and verify the result by its exact ID. A successful plain note creation does not validate native tables, checklists, or Markdown creation; test the feature you plan to use.

Keep the server's revision and scope checks enabled. Updates, appends, and deletes use exact IDs and content hashes; native routes may also require a distinctive existing scopeText. Full-body updates refuse rich notes they cannot preserve. Follow the returned error and capability information instead of falling back to a lower-level write.

Features

Feature Description
Create Notes Create notes from plaintext, HTML, or Markdown, with optional folder/account targeting (Markdown creation uses an optional Shortcut on macOS 26 or later)
Search Notes Find notes by title or search within note content
Query Language query-notes combines text, folder, account, tag, attachment, checklist, flag, word-count, and date conditions with AND/OR/NOT, read from the Notes database (requires Full Disk Access)
Read Notes Retrieve note content as HTML, plain text, or Markdown, plus metadata that AppleScript does not expose (pinned, Quick Note, locked, Recently Deleted)
Note Structure Decode a note into typed paragraph blocks, list its paragraphs and links, and get a direct link to one paragraph (requires Full Disk Access)
Update Notes Replace, append to, or prepend to an existing note, guarded by a content hash so a note that changed since it was read is never overwritten
Delete Notes Remove notes (moves to Recently Deleted)
Move Notes Organize notes into folders (supports nested paths)
Folder Management Create, list, rename, and delete folders with full hierarchical path support; read the folder tree with note counts and Smart Folder rules
Multi-Account Work with iCloud, Gmail, Exchange, or any configured account, including account IDs and default folders
Batch Operations Delete or move multiple notes at once
Native Tags List, add, remove, and replace real Notes tags (not just #hashtag text)
Checklists Read checklist done/undone state from the Notes database, and append real checklist items through a Shortcut
Tables Read native tables as Markdown and JSON, and append new native tables
Pinning Read pinned state and pin or unpin a note
Links Get a note's notes:// deep link, insert web, mail, or note-to-note links, and list the links in a note or folder
Export Export notes as paginated JSON, or render a note or folder as Markdown (with reusable templates) or standalone HTML
Attachments Add files to notes (from a path or the pasteboard), list attachments with their on-disk paths, find a note's lead image, save or batch-export them, or fetch their bytes as base64
Audio and Drawings Read the transcripts Notes stored for recordings, transcribe audio on-device, and decode drawings to strokes and SVG
Incremental Sync list-recent-notes pages through notes by modification time with an exact cursor
Notes.app UI State Reveal a note, folder, account, or attachment in Notes.app, or read the current Notes.app selection
Sync Awareness Detect iCloud sync in progress, warn about incomplete results
Collaboration Detect shared notes, warn before modifying
Diagnostics health-check plus a richer doctor (server version, reachability, automation permission, accounts, Full Disk Access), sync status, statistics, and get-capabilities for the Shortcut bridges

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

Some clients (Claude Desktop among them) pass the model only a result's text and drop structuredContent. So every result that has structuredContent also ends with one more text block holding the same data as a single JSON line:

structuredContent: {"id":"x-coredata://…/ICNote/p123","contentHash":"sha256:…","writable":true,…}

That line carries every token a follow-up call needs: the contentHash revision token for expectedContentHash, new ids, nativeTags, writable, page.nextOffset, and an error's code, committed and indeterminate. A long value the text above already shows in full, such as the body from get-note-content, appears as "[shown in full above]" instead of twice. If the line would still exceed 16 KB, fields larger than 1 KB (usually a list already printed above) are left out and named in _omitted. Tools whose text already is that JSON get no extra block. structuredContent itself is unchanged.

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 is read from the NoteStore database by the BETA get-note-metadata tool and list-special-notes, and set through the Background Operations Shortcut by set-note-pinned.
  • Note-to-note links, AppleScript exposes no link property or link element. Links are instead read from the NoteStore database by list-note-links, and inserted by insert-note-link (through a Shortcut) or insert-link. 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.

Identifier forms

Every tool that takes a note id (id, noteId, ids, linkedNoteId, or the id inside a batch entry) accepts any of three forms of the same note:

Form Example shape Needs Full Disk Access
AppleScript id (canonical) x-coredata://<store-uuid>/ICNote/p123 No
Notes UUID (identifier) 8-4-4-4-12 hex digits, as in notes://showNote?identifier= links Yes
Numeric Core Data key 123 (the digits after p) Yes

The server turns a UUID or numeric key into the canonical id before the tool runs, reading the Notes database read-only. A numeric key or UUID resolves only to a note, never to a folder or attachment. Without Full Disk Access those two forms fail with an error that says so, while x-coredata ids keep working as before. Folder-id inputs (show-folder, get-folder-by-id, rename-folder) accept a folder's UUID or numeric key the same way, resolving only to folders.

When Full Disk Access is granted, list and read tools also return stable identifiers next to each id: notes carry identifier, folderIdentifier, and accountIdentifier; folders carry identifier, parentIdentifier (nested folders only), and accountIdentifier; accounts carry identifier. These fields come from one batched read-only query per call and are omitted when the database cannot be read. Tools that return them: search-notes, list-notes, get-selected-notes, list-shared-notes, get-note-content, get-note-by-id, get-note-details, list-folders, get-folder-by-id, list-accounts, and get-default-location.

Error results

A failed call returns isError: true with the same human-readable text as before, plus structuredContent carrying a stable machine-readable code (also repeated in the trailing structuredContent: text line, for clients that drop structuredContent). Branch on code, not on the prose, which may be reworded.

code Meaning
not_found The note, folder, account, attachment, or checklist does not exist
ambiguous More than one item matched; use an exact id
permission_denied macOS refused Automation access to Notes.app
full_disk_access_missing The Notes database is not readable; grant Full Disk Access
shortcut_not_installed A native-write bridge Shortcut is not installed exactly once
timeout_indeterminate The operation timed out; for a write, the outcome is unknown
verification_failed The write ran, but exact-ID readback did not confirm it
revision_conflict The note changed since it was read
validation_error The request was rejected before anything ran
unsupported Not supported for this note or in this mode, such as a locked note
notes_unavailable Notes.app is not running, busy, or not responding
operation_failed The server could not classify the failure; read the text

Two optional booleans describe a write's outcome when it is known. indeterminate: true means the outcome is uncertain: read the target by exact id before any retry, and never retry blindly. committed: true means the write took effect even though its verification failed; committed: false means nothing was written (for example a revision_conflict). An absent flag means unknown. An argument that fails the input schema is rejected before the tool runs, with code: "validation_error" and committed: false. The exception is a Notes UUID or numeric key that could not be resolved to an id: it carries not_found, or full_disk_access_missing when the database is unreadable.

Note Operations

Read the rest of the Apple Notes (sweetrb) README on GitHub

Questions about Apple Notes (sweetrb)

What is the Apple Notes (sweetrb) MCP server?

MCP server for Apple Notes - read, search, create, edit, organize, and export notes on macOS via Claude and other AI assistants. Apple Notes (sweetrb) is maintained by sweetrb on GitHub at sweetrb/apple-notes-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Apple Notes (sweetrb) MCP server?

Add Apple Notes (sweetrb) to your AI app's MCP config with the command npx -y apple-notes-mcp. In Claude Code, run claude mcp add --transport stdio apple-notes -- npx -y apple-notes-mcp. To run Apple Notes (sweetrb) this way you need Node.js installed.

Does Apple Notes (sweetrb) need an API key?

The registry lists no required keys for Apple Notes (sweetrb). Check the Apple Notes (sweetrb) README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Apple Notes (sweetrb) an official MCP server?

No. Apple Notes (sweetrb) is a community server maintained by sweetrb. Community servers can be excellent; read the code and the open issues before you give Apple Notes (sweetrb) access to company data.

What license is Apple Notes (sweetrb) under?

Apple Notes (sweetrb) is released under the MIT license, according to its GitHub repository. The license covers the code of Apple Notes (sweetrb); the service it connects to has its own terms.