Skip to main content
Glama
Apple Notes MCP Server
by sweetrb

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoSet to enable verbose diagnostic logging to stderr.
VERBOSENoSet to enable verbose diagnostic logging to stderr.
APPLE_NOTES_MCP_BROKERNoSet to "off" in a client's environment to keep that client in-process instead of using the permission broker.
APPLE_NOTES_MCP_MAX_BUFFERNoMaximum bytes captured from a single AppleScript invocation.67108864
APPLE_NOTES_MCP_TIMEOUT_MSNoTotal AppleScript operation timeout, including retry attempts and delays.30000
APPLE_NOTES_MCP_ANCHOR_FILENoAbsolute path of the paragraph anchor registry.~/Library/Application Support/apple-notes-mcp/paragraph-anchors.json
APPLE_NOTES_MCP_CONFIG_FILENoPath to the JSON server settings file.~/Library/Application Support/apple-notes-mcp/config.json
APPLE_NOTES_MCP_MAX_RETRIESNoMaximum attempts for a read-only AppleScript call that fails with a transient error.2
APPLE_NOTES_MCP_TEMPLATE_DIRNoAbsolute directory of the saved Markdown template library.~/Library/Application Support/apple-notes-mcp/templates
APPLE_NOTES_MCP_ANCHORS_TOKENNoToken for apple-notes-mcp anchors serve. Must be at least 32 characters.
APPLE_NOTES_MCP_PRIVATE_STORENoTesting only: points the private helper at a copy of NoteStore.sqlite.
APPLE_NOTES_MCP_TAGS_SHORTCUTNoName or UUID of the installed Native Tags bridge Shortcut to run.Notes MCP Tags
APPLE_NOTES_MCP_ENABLE_PRIVATENoSet to "1" to allow the opt-in private helper.
APPLE_NOTES_MCP_RETRY_DELAY_MSNoBase delay before the first retry; subsequent retries back off exponentially.1000
APPLE_NOTES_MCP_PASTEBOARD_NAMENoTesting only: makes add-attachment-from-pasteboard read a private named pasteboard instead of the general clipboard.
APPLE_NOTES_MCP_BLOCKS_MAX_BYTESNoLargest block payload one get-note-blocks page returns.4194304
APPLE_NOTES_MCP_EXPORT_MAX_BYTESNoLargest response export-notes-json sends; a page closes early to stay under it.8388608
APPLE_NOTES_MCP_MARKDOWN_SHORTCUTNoName or UUID of the installed Create Markdown Note bridge Shortcut to run.Notes MCP Markdown
APPLE_NOTES_MCP_PUBLIC_HELPER_DIRNoWhere setup --public-helper installs the public native helper and its checksum manifest.~/Library/Application Support/apple-notes-mcp/public-helper
APPLE_NOTES_MCP_PRIVATE_HELPER_DIRNoWhere setup --native-helper installs the private helper and its checksum manifest.~/Library/Application Support/apple-notes-mcp/private-helper
APPLE_NOTES_MCP_BACKGROUND_SHORTCUTNoName or UUID of the installed Background Operations bridge Shortcut to run.Notes MCP Background v6
APPLE_NOTES_MCP_IGNORE_NOTES_INTENTSNoSet to "1" to stop the server reading Notes' App Intents metadata.
APPLE_NOTES_MCP_MAX_ATTACHMENT_BYTESNoMaximum size of an attachment that fetch-attachment will base64-encode inline.26214400
APPLE_NOTES_MCP_MAX_INLINE_IMAGE_BYTESNoPer-image cap on the base64 payload kept inline in a get-note-content response.262144
APPLE_NOTES_MCP_ALLOW_PRIVATE_SAVE_PATHSNoSet to "1" to allow writing exported files in hidden directories or in ~/Library outside iCloud Drive and ~/Library/CloudStorage.
APPLE_NOTES_MCP_PUBLIC_HELPER_TIMEOUT_MSNoPer-call timeout for the public native helper.30000
APPLE_NOTES_MCP_PRIVATE_HELPER_TIMEOUT_MSNoPer-call timeout for the private helper.20000
APPLE_NOTES_MCP_ALLOW_PRIVATE_CONTENT_PATHSNoSet to "1" to allow reading or attaching files in hidden directories or in ~/Library outside iCloud Drive and ~/Library/CloudStorage.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get-folder-by-idA

Use when: reading the exact folder name, parent, and account before a guarded rename or delete-folder-by-id. Returns: folder id, current name, parent id, accountId, and isRoot (true when the folder sits at the account root; pass expectedRoot: true to delete-folder-by-id then, otherwise parentId as expectedParentId). Do not use when: listing folders by path (list-folders). Safety: read-only.

rename-folderA

Use when: renaming one previously read folder in place. Returns: the unchanged folder id, new name, and parent id after readback. Do not use when: creating, moving, or deleting a folder. Safety: requires the expected current name and parent; refuses stale metadata and sibling conflicts.

add-attachmentA

Use when: adding one local file to an exact note without replacing its body. Returns: the new attachment id, byte count, attachment name, and post-write content hash after exact byte verification. Do not use when: reading or exporting an existing attachment. Safety: reads only a regular file in home, temp or /Volumes, refusing hidden paths (~/.ssh, .env) and ~/Library outside iCloud Drive and CloudStorage unless the server sets APPLE_NOTES_MCP_ALLOW_PRIVATE_CONTENT_PATHS=1; requires a fresh rich revision, copies at most 64 MiB through a private temporary file, never retries insertion, removes the duplicate copy Notes.app's AppleScript inserts (#321), and verifies existing content plus fetched bytes. On macOS 27 Notes' AppleScript does not list PDF attachments; with Full Disk Access the new attachment is verified through the read-only NoteStore database instead (verifiedBy: database), otherwise the outcome is reported as uncertain. A PDF that Notes shows twice cannot be cleaned up and is reported as an error: delete the extra copy in Notes.app.

create-note-with-attachmentA

Use when: creating a new note that holds one local file, in one call. Returns: the new note id plus the add-attachment result (attachment id, bytes, name, content hash). Do not use when: the note already exists (add-attachment). Safety: checks the file and filename before creating anything, with the same read scope as add-attachment (home, temp or /Volumes; no hidden paths or ~/Library outside iCloud Drive and CloudStorage), creates the note through Notes.app like create-note, then attaches with the same byte verification as add-attachment. If the attachment step fails before the file is inserted, the error names the new note's id; attach to it with add-attachment instead of creating another note. If insertion started but could not be verified, the outcome is uncertain: read the note with list-attachments before attaching again.

add-attachment-from-pasteboardA

Use when: the user copied an image, a PDF, or a file (screenshot, Copy Image, Finder Copy) and wants it attached to an exact note. Returns: the add-attachment result (attachment id, bytes, name, content hash) plus source: what was taken from the pasteboard (kind, type, default filename). Do not use when: the pasteboard holds text (use append-to-note), several copied files (refused; use add-attachment per file), or you have a file path (use add-attachment). Safety: checks the note and revision before reading the pasteboard; reads nothing when macOS would show its paste alert unless allowPasteAlert is true (error pasteboardCode pasteboard_access_denied); reads the pasteboard once and freezes its bytes into a private temporary file before attaching, never writes to the pasteboard, then runs add-attachment's checks: fresh rich revision, at most 64 MiB, no insertion retry, existing content and exact bytes verified. Needs the MCP host to run in the logged-in GUI session.

delete-folder-by-idA

Use when: deleting one exact, empty, ordinary folder by id, with a plan-then-apply handshake. Returns: a plan (status planned, wouldDelete, identity fields, zero counts, revision) or, on apply, status deleted with verified readback. Do not use when: the folder holds notes or subfolders, or you only have a name or path (delete-folder). Safety: requires the exact id plus expectedName, expectedAccountId, and expectedParentId or expectedRoot. Call with dryRun true, then repeat the same guards with dryRun false and expectedRevision. Always refuses Recently Deleted, smart folders, the account's default and other system folders, shared folders, and non-empty folders; there is no override. Not atomic: the guard is a pre-check followed by an AppleScript delete. The Notes.app-visible checks repeat inside the delete script, but folder type is read from the local store just before it. Needs Full Disk Access and fails closed without it.

list-markdown-templatesA

Use when: choosing a Markdown export template, or checking which saved templates exist. Returns: the built-in templates, the saved templates (name, display name, description, size, modified date), the library directory, and how many unusable files were skipped. Do not use when: you need a template's rules (show-markdown-template). Safety: read-only; never opens Notes.

show-markdown-templateA

Use when: reading a built-in or saved template, to copy it as the start of a new one or to see what an export will do. Returns: the template in its portable form (as saved, overrides only), its source, and with expanded: true every rule filled in. Do not use when: listing names (list-markdown-templates). Safety: read-only.

validate-markdown-templateA

Use when: checking a template before saving it or exporting with it. Returns: valid true, or valid false with every problem as {path, message}, where path is a JSON path such as $.rules["inline.bold"].after. Do not use when: you want to store it (save-markdown-template validates too). Safety: read-only. Pass exactly one of name (a saved or built-in template), template (JSON object or text) or templateFile. templateFile reads only a regular .json file in home, temp or /Volumes, refusing hidden paths (~/.docker, .env) and ~/Library outside iCloud Drive and CloudStorage unless the server sets APPLE_NOTES_MCP_ALLOW_PRIVATE_CONTENT_PATHS=1; errors never quote the file.

save-markdown-templateA

Use when: storing a template so export-notes-markdown can use it by name. Returns: name, path, bytes and whether an existing template was replaced. Do not use when: exporting once (pass templateFile to export-notes-markdown instead). Safety: writes one file in the template library only (APPLE_NOTES_MCP_TEMPLATE_DIR, default ~/Library/Application Support/apple-notes-mcp/templates, mode 0600). Validates first; an invalid template is refused with every JSON path. Create-only: an existing name is refused with [template-exists] unless force is true. Built-in names are reserved. templateFile follows the same read scope as validate-markdown-template.

delete-markdown-templateA

Use when: removing a saved Markdown template the user no longer wants. Returns: the name and the path of the removed file. Do not use when: the template is built in (standard-markdown, obsidian cannot be deleted). Safety: permanently removes one file from the template library; never touches Notes.

analyze-svgA

Use when: checking whether an SVG file can be represented as editable monoline strokes, and what that conversion would approximate or drop. Returns: classification (safe, lossy, unsupported), importable, defaultWriteAllowed, requiredLosses (geometry-approximation, paint-approximation, drop-content), issues with element locations, counts and work budgets, the source SHA-256, and analysisDigest, a SHA-256 over the canonical analysis and normalized drawing. includeDrawing adds the drawing. Do not use when: you want to attach the SVG file itself to a note (add-attachment). Safety: read-only and local. Opens no Notes data and makes no network request. Reads only a regular file in home, temp or /Volumes, refusing hidden paths (~/.ssh, .env) and ~/Library outside iCloud Drive and CloudStorage unless the server sets APPLE_NOTES_MCP_ALLOW_PRIVATE_CONTENT_PATHS=1; a file whose root element is not is refused without quoting it. Scripts, event handlers, style elements, animation, DOCTYPE/entities and external resources are refused with svgCode svg_unsafe; malformed files with svg_invalid; oversized work with svg_complexity_limit.

native-tags-statusA

Use when: checking whether the Native Tags Shortcut is installed before a tag write. Returns: the configured Shortcut name, unique installed identifier, and installed state. Do not use when: listing tags on notes (list-native-tags). Safety: read-only; installation does not by itself prove Notes permission or a successful live mutation.

add-native-tagsA

Use when: adding real clickable Apple Notes tags to one exact, freshly read note. Returns: verified native tags, additions, and the post-write content hash. Do not use when: textual #hashtags are sufficient or the note cannot be selected uniquely by its existing title and scope text. Safety: requires exact ID, fresh revision, and a distinctive existing scope phrase; verifies original text, links, and native objects after the Shortcut runs and never retries automatically.

get-capabilitiesA

Use when: checking native background-edit support or which feature groups this Mac supports before calling a tool. Returns: bridge installation, implementation, verification, availability, and specific limitations per operation; plus runtimeOS and an OS-version-aware features matrix (available, osSupported, minimumMacOSVersion, requirements, missing, unverified, machine reason code) per feature group. Do not use when: checking only the Native Tags bridge (native-tags-status). Safety: read-only; does not open Notes or run a mutation.

append-nativeA

Use when: appending formatted content to a native-object note without replacing its body. Returns: exact-ID preservation and appended-content readback. Do not use when: the existing note can be safely handled by append-to-note or the scope phrase is ambiguous. Safety: requires a fresh revision and unique existing scope phrase of plain words; avoid punctuation, hashtags, and paths because Notes search may not resolve them literally. Supports bounded plaintext, semantic HTML, and Markdown without external fetching or automatic retries. HTML subset: Native append accepts , with href on and a font-size style on as the only attributes; a native table is refused here — use create-table; everything else needs update-note.

create-checklist-itemA

Use when: appending one real unchecked Notes checklist item. Returns: the created checklist identity after exact-note readback. Do not use when: plain text is sufficient or more than one item is requested. Safety: preserves existing text, links, native objects, checklist identities, and formatting. If a checklist already exists, requires one contiguous group at the end of the note; otherwise refuses before running the bridge.

create-checklist-itemsA

Use when: appending several real unchecked Notes checklist items to one note, in order. Returns: each landed item's native identity and text, the final order check, and the new revision; on a stop, which items landed, the item whose outcome is uncertain, and the items not attempted. Do not use when: one item is enough (create-checklist-item) or plain text is sufficient. Safety: runs the verified single-item bridge once per item, chaining each verified revision into the next; requires any existing checklist to be one contiguous group at the end of the note before dispatch. Checks after every item that exactly one new unchecked item with that text and a new identity appeared and that earlier items kept theirs, and stops at the first uncertain result without retrying. Each item takes a few seconds, so a full batch can run about a minute; if the call times out on the client side, read the note before retrying and send only items that are not present.

create-tableA

Use when: appending one native Notes table from a rectangular array of strings, or an empty table when rows is omitted. Returns: the native table identity and decoded cells after readback. Do not use when: a text table is acceptable or the rows are not rectangular. Safety: never substitutes text; preserves existing rich content and reports failure unless the native table is verified.

set-note-pinnedA

Use when: setting one exact note's pinned state. Returns: the verified requested state and new revision. Do not use when: only reading pinned metadata (get-note-metadata). Safety: checks expectedPinned and a fresh content revision before changing metadata; never rewrites the body.

remove-native-tagsA

Use when: removing specified native tags from one exact note. Returns: verified remaining tags and new revision. Do not use when: deleting a global tag definition or changing Smart Folder rules. Safety: preserves unrelated tags and native objects and never retries an uncertain mutation.

replace-native-tagA

Use when: replacing one native tag across an explicit list of freshly read notes. Returns: per-note results and remaining work after any failure. Do not use when: renaming global tag definitions or Smart Folder rules. Safety: adds and verifies the new tag before removing the old one and stops on the first uncertain result.

insert-note-linkA

Use when: appending a real Notes deep link to a native-object note. Returns: verified link destination and label after exact-note readback. Do not use when: only retrieving a deep link (get-note-link). Safety: retrieves the real target URL, preserves existing rich content, and creates a static label rather than a dynamic-title object.

native-helper-statusA

Use when: checking whether the opt-in, read-only native private helper is enabled, built, current, and working on this macOS before calling native-note-state or native-checklist-state. Returns: enabled flag, installation state (path, manifest, stale/modified checks), the live probe (macOS and Notes versions, framework, store access), and per-feature availability with a machine reason. Do not use when: checking the Shortcuts bridges (native-tags-status, get-capabilities). Safety: read-only. The helper is read-only by design (write support was deliberately deferred by the maintainer); the probe opens the Notes store read-only and only when the helper is enabled and installed.

native-note-stateA

Use when: you need a note's native title, modification date, folder identifier, lock/trash/shared/editable flags, or iCloud upload state as Notes' own data model reports them. Returns: identifier, title, modificationDate, folderIdentifier, lock/trash/shared/editable flags, revision (an opaque change token; compare two reads to detect a change), and cloudSync versions. Do not use when: reading note content (get-note-content, get-note-markdown). Safety: read-only; the helper opens the store with Core Data's read-only option and has no write action. Requires APPLE_NOTES_MCP_ENABLE_PRIVATE=1 and a built helper.

native-checklist-stateA

Use when: reading a note's exact native checklist todo identifiers and done state, including ambiguous style runs. Returns: identifier, revision change token, items in first native-style occurrence order, total, checked, and syncHostRunning. Each item has todoIdentifier (32 lowercase hex digits), uuid, index, text and done; line and styled offsets use UTF-16. contiguous=false means the styled envelope includes gaps, consistent=false means runs disagree on done, and spansLines=true means the identity spans multiple lines. Do not use when: reading ordinary checkbox-like text (get-note-content) or changing checklist items. Flags describe native identity ambiguity; text is the first visible styled character's line. Safety: read-only; requires APPLE_NOTES_MCP_ENABLE_PRIVATE=1, Full Disk Access, and a current built helper. Locked or unavailable native bodies are refused. The helper has no write action.

create-noteA

Use when: the user wants to create a brand-new Apple Note. Returns: the new note's title and id — reuse the id for follow-up reads/edits. Do not use when: editing an existing note (use update-note). Note: the title is prepended as an ; true Apple Notes checklists cannot be created via AppleScript (see the content field). A 'folder' must already exist — create-folder first (it is idempotent), since this tool does not create it. A smart folder is refused (code unsupported); it cannot hold notes.

search-notesA

Use when: finding notes by a keyword in the title (or body with searchContent=true) and you need their ids. Returns: matching notes with title, folder, and id; source says whether a body search read the Notes database or fell back to AppleScript. When the note text came from the database, each result has matchedIn (title, body, or both); includeWordCount adds wordCount. Do not use when: you already have a note id (use get-note-content), want every note (use list-notes), or need boolean or metadata filters (use query-notes). Prefer this first to obtain ids for subsequent read/update/delete/move calls. Note: with Full Disk Access, body search reads the Notes database (fast; the most recent 5000 notes, Recently Deleted excluded); without it, it falls back to AppleScript, which scans every body and can time out on broad terms.

query-notesA

Use when: finding notes with a boolean expression over text and metadata — e.g. folder:Work has:checklist -checklist:done, (title:invoice OR tag:finance) modified:>=2026-07-01, pinned words:>250. Reads the Notes database directly, so it is fast and can match title OR body in one call. Syntax: bare words and "quoted phrases" match title or body (case-insensitive substring); fields title:, body:, text:, folder:, account:, tag: (values may be quoted, e.g. folder:"Work Projects"); facets has:link|attachment|checklist|drawing|image|video|audio|pdf|table|scan|url|map|tag (has:url is a link preview card, has:map a map); checklist:open|done; flags pinned, locked, shared, quicknote (or is:pinned); quote a flag word such as "quicknote" to search it as text; words:>250 and created:/modified: with =, >, >=, <, <= and YYYY-MM-DD local dates. AND is implicit; OR, NOT, leading -, and parentheses are supported; operators are case-insensitive and a quoted "and" searches the literal word. Returns: matching notes (most recently modified first) with id, title, folder, account, modified date, snippet, and matchedIn (where the positive text terms occur: title, body, or both; absent when the body is unreadable or the query has no text term), plus scan/match counts; includeWordCount adds wordCount. Ids work with get-note-content and every other id-based tool. Do not use when: Full Disk Access is unavailable (use search-notes). Scans the most recent scanLimit notes (default 500); raise it for older notes. Safety: read-only; never writes the database. Excludes Recently Deleted and folderless notes unless includeDeleted is true. Locked notes match on title and metadata only; body predicates (including negated ones such as -body:x) never match them.

get-note-contentA

Use when: reading the full body text of one known note, by id (preferred) or title. Returns: the exact note id, content, contentHash revision token, parsed hashtags, nativeTags, restored links, richContentComplete/writable, and strippedImages/truncated when the body was capped. Read the warning when writable is false. Do not use when: you only need metadata (get-note-details) or Markdown with checklist state (get-note-markdown). Note: password-protected notes must be unlocked in Notes.app first. Safety: inline images larger than APPLE_NOTES_MCP_MAX_INLINE_IMAGE_BYTES (default 256 KB) are replaced with '[inline image omitted: ...]' text placeholders, so the returned body is lossy whenever truncated is true. For an attachment-bearing note, update-note refuses a full-body replacement; append-to-note with scopeText appends natively at the end and leaves attachments in place; add-attachment adds a file; move-note and delete-note work as usual. Make any other edit in Notes.app. Notes.app returns images inside the body as base64, so a note with a very large image can time out; the error then names the cause, and a larger timeoutSeconds gives the read more time.

get-note-plaintextA

Use when: reading one note's body as plain text with no HTML, by id (preferred) or title. Returns: the note's plaintext exactly as Notes exposes it. Do not use when: you need the HTML body (get-note-content) or Markdown with checklist state (get-note-markdown). Note: this reads the note's native plaintext property, so it skips the HTML-to-text conversion; password-protected notes must be unlocked in Notes.app first.

get-note-by-idA

Use when: you have a note id and need its metadata only. Returns: id, title, created, modified, shared, passwordProtected. Do not use when: you need the body text (get-note-content) or only have a title (get-note-details).

get-note-detailsA

Use when: you have a note title (not an id) and need its metadata. Returns: id, title, created, modified, shared, passwordProtected, account. Do not use when: you have an id (get-note-by-id) or need the body text (get-note-content). Use the returned id for reliable follow-up operations.

show-noteA

Use when: the user wants to reveal a known note in Notes.app by id. Returns: confirmation that Notes.app accepted the show command. Do not use when: you only need note content (get-note-content) or metadata (get-note-by-id). Note: this opens or focuses the Notes UI.

get-note-linkA

Use when: you need the notes:// deep-link URL for a note so it can be stored in a Reminders task, shared, or opened directly. Returns: a notes://showNote?identifier= URL that opens the note in Notes.app on iOS and macOS. Do not use when: you only need the note's CoreData id (get-note-by-id) or want to reveal the note on screen (show-note). Note: the primary path reads the note's identifier from the Notes database, so it needs Full Disk Access for the responsible process (run doctor to identify it); macOS 12-15 can fall back to the AppleScript 'note link' property, which macOS 26+ no longer exposes. Password-protected notes cannot be linked.

show-folderA

Use when: the user wants to reveal a known folder in Notes.app by id. Returns: confirmation that Notes.app accepted the show command. Do not use when: you only need the folder list (list-folders). Note: this opens or focuses the Notes UI. Get the id from list-folders.

show-accountA

Use when: the user wants to reveal a known account in Notes.app by id. Returns: confirmation that Notes.app accepted the show command. Do not use when: you only need the account list (list-accounts). Note: this opens or focuses the Notes UI. Get the id from list-accounts.

get-native-objectsA

Use when: inspecting native objects, checklist identities, or tables in one exact note. Returns: native object IDs and ranges, checklist IDs and state, actual native tags, decoded tables, and the current rich content hash. Do not use when: you only need the note body (get-note-content) or AppleScript attachment metadata (list-attachments). Safety: read-only; requires Full Disk Access and reports incomplete table metadata instead of guessing.

get-note-tablesA

Use when: reading the native tables in one exact note as data or Markdown. Returns: one page of whole tables in body order as GitHub-flavored Markdown (first row as header) plus JSON rows with stable row/column ids, tableCellsComplete, and page info. Default limit 500 and maxBytes 4 MiB; while page.hasMore is true, call again with offset set to page.nextOffset. The byte budget includes the full serialized tool response, including repeated Markdown. Do not use when: you need the whole note (get-note-markdown / get-note-content) or native object ranges and checklist ids (get-native-objects). Safety: read-only; reads the NoteStore database and requires Full Disk Access. A cell that cannot be decoded is null in rows, listed in incompleteCells, and marked [undecoded cell] in Markdown; it is never guessed. A table larger than an empty page returns metadata only with complete: false and contentOmitted: true; increase maxBytes (max 8 MiB) or export the note to a file. Cell text only: links and styling inside cells are not rendered.

get-note-blocksA

Use when: you need a note's structure, not just its text: paragraph styles (title, heading, subheading, body, monospaced, bulleted/dashed/numbered list, checklist with done state), indent, alignment, block quote, inline formatting (bold, italic, underline, strikethrough, superscript, subscript, color, highlight, links) and attachment positions, by exact id. Returns: one page of blocks in body order (default 500, stopped early under APPLE_NOTES_MCP_BLOCKS_MAX_BYTES, default 4 MB), whole-note summary counts, undecodedFields, and page info; while page.hasMore is true, call again with offset set to page.nextOffset. Offsets and lengths count UTF-16 code units. Do not use when: you want the editable HTML body (get-note-content) or Markdown (get-note-markdown). Safety: read-only; decodes the NoteStore database directly and requires Full Disk Access. Password-protected notes are refused. Link URLs are returned as stored; linkSafe is false for schemes other than http(s), notes, applenotes and mailto.

list-note-paragraphsA

Use when: you need a note's paragraphs with their style and stored paragraph ID, for example to choose one to link to. Returns: one page of non-empty paragraphs in body order, each with blockIndex (as in get-note-blocks), text, style, paragraphId, paragraphIdStatus (unique, shared, missing) and, only when unique, a direct applenotes:// url that opens that paragraph; plus counts per status and page info (call again with offset set to page.nextOffset while page.hasMore is true). Do not use when: you need inline formatting (get-note-blocks). Safety: never changes Notes; reads the NoteStore database directly and requires Full Disk Access. Without recordAnchors it writes nothing; with recordAnchors it also writes the local anchor registry file (mode 0600), so the tool is not marked read-only. Paragraph IDs repeat often (Notes copies them when a paragraph is split), so shared IDs get no url. Title lookups ignore Recently Deleted. Password-protected notes are refused.

get-paragraph-linkA

Use when: you need a link that opens Notes at one paragraph (for example a heading) of a note. Returns: a direct applenotes://showNote?identifier=&paragraphID= url and the selected paragraph, only when that paragraph's stored ID is present and appears in no other paragraph of the note. Otherwise an error whose structuredContent.reason says why: paragraph-id-shared, paragraph-id-missing, no-match, ambiguous-paragraph (pass occurrence or a longer snippet), occurrence-out-of-range, ambiguous-note, encrypted. Do not use when: you want a link to the whole note (get-note-link). Safety: never changes Notes or a paragraph ID, so a paragraph without a unique ID cannot be linked. Requires Full Disk Access. Without recordAnchor it writes nothing; with recordAnchor it also writes the local anchor registry file (mode 0600), so the tool is not marked read-only. A later edit in Notes can replace the ID and break the link.

create-paragraph-anchorA

Use when: you want a reference to one paragraph that can be found again after the note is edited, for example before sharing a paragraph link that should keep working. Returns: the anchor (anchorId, note identifier, paragraph ID and its status, normalized text, fingerprints of the paragraph and its neighbours, block index, created time), whether it is new, and the paragraph's current direct url when its ID is unique. Do not use when: you only need a link right now (get-paragraph-link). Safety: reads the NoteStore database (Full Disk Access) and never changes Notes. Writes one local file, the anchor registry (APPLE_NOTES_MCP_ANCHOR_FILE, default ~/Library/Application Support/apple-notes-mcp/paragraph-anchors.json, mode 0600), which stores the paragraph's text. Unlike get-paragraph-link, a paragraph with a shared or missing ID can be anchored. Recording the same paragraph again returns the existing anchor.

resolve-paragraph-anchorA

Use when: you have an anchorId and need the paragraph's current link, or want to check that an anchored paragraph still exists after edits. Returns: status (resolved, needs-reminting, ambiguous, low-confidence, not-found, note-not-found, note-deleted, note-unreadable), method (paragraph-id, exact-text, text-and-neighbours), confidence from 0 to 1, the matched block (blockIndex, text, paragraphId, paragraphIdStatus) and what changed. url is present only when status is resolved. Do not use when: you have no anchor yet (create-paragraph-anchor, or get-paragraph-link with recordAnchor). Safety: reads the NoteStore database (Full Disk Access); never changes Notes. Fails closed: equally good candidates give ambiguous and no url. needs-reminting means the paragraph was found but its stored ID is shared or missing, so no safe link exists for it; this server cannot give it a new ID. refresh rewrites the stored anchor (local registry only) after a match with confidence 0.8 or more.

list-paragraph-anchorsA

Use when: you need the recorded paragraph anchors, all of them or those of one note. Returns: one page of anchors in the order recorded (anchorId, noteIdentifier, paragraphId, text, blockIndex, created time), the total, and the registry path. Do not use when: you need an anchor's current location (resolve-paragraph-anchor). Safety: read-only; reads only the local anchor registry, never Notes.

get-paragraph-anchorA

Use when: inspecting one recorded anchor as stored. Returns: the stored anchor record. Do not use when: you need the paragraph's current location or link (resolve-paragraph-anchor). Safety: read-only; reads only the local anchor registry, never Notes.

prune-paragraph-anchorsA

Use when: cleaning up anchors that no longer resolve, or removing specific anchors. Returns: the stale anchors found (anchorId, status, message), how many were examined, and the ids removed (none on a dry run). Do not use when: an anchor is only ambiguous or needs reminting; it still points at something. Safety: dryRun defaults to true, so nothing is removed until you call again with dryRun false. Removes entries from the local anchor registry only; never changes Notes. Without anchorIds it resolves every anchor in scope (Full Disk Access) and treats not-found and note-not-found as stale unless statuses says otherwise. A note in Recently Deleted gives note-deleted, which is not pruned by default because the note can be restored.

get-note-structureA

Use when: you want one read-only overview of a note by exact id: decoded text, a block summary, every link with its kind (inline hyperlink, rich link card, native note link, native section link, with target note and paragraph UUIDs when the URL carries them), native tags, attachments with the same kind, body order and preview list-attachments reports (gallery and recording children nested), and metadata: deepLink, isShared, isLocked, isPinned, inRecentlyDeleted, lastViewed, wordCount, charCount, attachmentCount, checklistTotal/checklistDone, hasDrawing, firstImage. Returns: the structure object. For a password-protected note, metadata and attachment rows only (bodyDecoded false, body-derived fields null). lastViewed is null with lastViewedStatus never-viewed, not-recorded, malformed or unsupported when Notes holds no real view date. Do not use when: you need per-paragraph formatting (get-note-blocks) or the editable HTML body (get-note-content). Safety: read-only; reads the NoteStore database and the Notes data folder directly and requires Full Disk Access. Link URLs are returned as stored; check linkSafe before emitting them into HTML.

list-note-linksA

Use when: you need the links in one note (by exact id) or across a folder (with its subfolders by default), an account, or the whole library, with each link's kind: inline (a hyperlink on text), card (a rich link preview), note (a native link chip to another note) or section (a native link chip to a heading or paragraph). Returns: one page of links, newest-modified note first, each with its URL, label, linkSafe, target note and paragraph UUIDs for Notes deep links, card previewPath, and its source noteId, note title, folder path (as list-folders prints it) and account; plus per-kind counts and page info (call again with offset set to page.nextOffset while page.hasMore is true). Do not use when: you want one note's full structure (get-note-structure) or its formatting (get-note-blocks). Safety: read-only; reads the NoteStore database directly and requires Full Disk Access. Inline links need every body in scope decoded, so they are included only with includeInline (default true for id, false for a folder, account or library scan). Recently Deleted is skipped unless the note is requested by id.

list-native-tagsA

Use when: listing actual native Notes tags, either in one folder (pass folder) or as an account-wide inventory with note counts (omit folder; account then optionally narrows it, else every account is counted). Returns: folder mode maps each tag to exact matching note IDs, plus completeness and per-note errors; inventory mode returns each tag with noteCount and per-account counts, sorted by count. Do not use when: searching textual #hashtags in note bodies (search-notes). Safety: read-only; requires Full Disk Access and discloses partial reads.

update-noteA

Use when: replacing the body of one exact Apple Note after reading it by id. Returns: exact id, new content hash, and visible-text readback verification. Do not use when: you only have a title, the note changed since the read, or the note has attachments. Safety: requires the exact note id and expectedContentHash from get-note-content. The server checks rich metadata revision, atomically checks the AppleScript body, blocks native objects/checklists, and verifies actual link destinations after saving. Optional ifFolderId, ifAncestorFolderId, and forbiddenAncestorFolderIds are re-checked inside the same AppleScript as the write. Preserve returned HTML links unless allowLinkChanges is explicitly requested. Notes.app normalizes HTML, so rich formatting is not claimed as byte-identical.

append-to-noteA

Use when: adding content to one exact note after reading it by id. Returns: exact id, new content hash, and visible-text readback verification. Do not use when: you only have a title or the note changed since the read. Safety: protected native-object notes use native end-append with scopeText; ordinary notes retain guarded HTML editing. Optional ifFolderId, ifAncestorFolderId, and forbiddenAncestorFolderIds are re-checked inside the write AppleScript for ordinary notes, and as a separate read just before a native append. Notes.app normalizes HTML, so rich formatting is not claimed as byte-identical. Native-append HTML subset (protected notes only; ordinary notes accept any HTML Notes.app renders): Native append accepts , with href on and a font-size style on as the only attributes; a native table is refused here — use create-table; everything else needs update-note. Native append also requires scopeText, the default blank-line separator and position 'after'.

insert-linkA

Use when: adding one web, mail or Notes link to an exact note, either as the raw URL (mode 'raw') or as label text that links to the URL (mode 'hyperlink'). Returns: exact id, the route used, whether Notes stored a link on the inserted text, the stored destination read back from the note, and the new content hash. Do not use when: linking to another note by id (insert-note-link fetches its real deep link), or you want a rich URL preview card (not available: no public automation route creates one). Safety: same guards as append-to-note (fresh expectedContentHash, attachment block, existing links must survive). Notes with native objects use native end-append and need scopeText; there only position 'end' with a blank line is supported. The link is placed in its own paragraph at the end or directly after the title; placing it inside an existing paragraph is not supported.

delete-noteA

Use when: moving one exact note to Recently Deleted after reading and reviewing it. Returns: confirmation with the exact id. Do not use when: you only have a title or the note changed since review. Safety: requires id and expectedContentHash from get-note-content. The body comparison and delete happen in one AppleScript, so a newer edit is preserved. Refuses a note already in Recently Deleted, where a delete would be permanent. Optional ifFolderId, ifAncestorFolderId, and forbiddenAncestorFolderIds are re-checked inside that AppleScript too. Copy-then-retire: pass guardNoteId and expectedGuardContentHash (the verified copy's contentHash) to delete only while the copy still has that revision, is unlocked, is outside Recently Deleted, and is not a Quick Note; requireActiveNoteId requires the same of a second note without fingerprinting it. The guard needs Full Disk Access to rule out a Quick Note. The copy's body, lock state, and folder are checked again inside the delete AppleScript, but the pair is not one transaction.

move-noteA

Use when: moving one exact note to a different folder by id. Returns: confirmation and exact-ID readback. Do not use when: you only have a title or want to move many notes (batch-move-notes). Note: Notes.app's native move preserves the note id, creation date, body, and attachments. The destination folder must already exist and cannot be a smart folder (refused with code unsupported before the move). Optional ifFolderId, ifAncestorFolderId, and forbiddenAncestorFolderIds (which also covers the destination) are re-checked inside the move AppleScript.

list-notesA

Use when: enumerating notes in an account or folder; supports modifiedSince and limit for large collections. Returns: each note's title and id (ids are safe to use for follow-up reads/edits even when titles are duplicated — see search-notes for keyword-based lookup instead). Do not use when: you need content (get-note-content), or date order, incremental sync cursors, or word counts (list-recent-notes). Note: excludes notes in Recently Deleted unless includeRecentlyDeleted is true, which flags them inRecentlyDeleted. Warns if iCloud sync is active and results may be partial.

get-selected-notesA

Use when: the user asks what note(s) are currently selected in Notes.app. Returns: selected note metadata with ids for follow-up operations. Do not use when: searching all notes (search-notes) or listing a folder (list-notes). Note: reads Notes.app UI selection; it may be empty if Notes is closed or no note is selected.

list-foldersA

Use when: listing all folders, with full nested paths, for an account. Returns: folder names/paths. Do not use when: listing notes (list-notes). Note: smart folders are listed too (AppleScript lists them like ordinary folders) and are marked smartFolder: true when Full Disk Access lets the server read the Notes database; they cannot hold notes. Warns if iCloud sync is active.

list-smart-foldersA

Use when: listing Smart Folders and the rules that define them. Returns: each smart folder's name, ids, account, and parent, its rules decoded as match ("all"/"any"/"none") plus filters (each with a readable description), the stored query with the outer deleted wrapper removed, and the raw stored query JSON. With includeMatchingNotes, also the notes Notes.app currently shows in each folder. Do not use when: listing all folders with paths (list-folders, which lists smart folders alongside ordinary ones) or searching notes (search-notes). Safety: read-only; reads the NoteStore database and requires Full Disk Access. includeMatchingNotes asks Notes.app (Automation permission) for each folder's current contents rather than re-evaluating the rules. Unrecognized rules are kept as "unknown" filters and set fullyDecoded false.

create-folderA

Use when: creating a folder, including nested paths like 'Work/Clients' (intermediate folders are created, existing ones skipped). Returns: confirmation. Note: a path segment that names a smart folder is refused (code unsupported) before anything is created; smart folders cannot hold folders. Do not use when: creating a note (create-note).

delete-folderA

Use when: deleting an existing folder by name or nested path. Returns: confirmation. Do not use when: deleting a note (delete-note). Safety: requires explicit user confirmation. Deletion fails if the folder still contains notes — list or move those notes first.

list-accountsA

Use when: discovering which Notes accounts exist (iCloud, Gmail, Exchange, etc.) before targeting one. Returns: account names. Do not use when: you already know the account, or are working by note id (ids are account-independent).

get-default-locationA

Use when: discovering where Notes.app will create new notes by default. Returns: default account and default folder metadata. Do not use when: you already have an explicit account/folder target.

list-shared-notesA

Use when: finding notes shared with collaborators. Returns: shared notes with title, account, and id. Do not use when: searching all notes (search-notes). Note: edits or deletes to these notes affect all collaborators.

get-sync-statusA

Use when: checking whether iCloud sync is in progress before trusting read results. Returns: sync active/idle, pending upload count, and seconds since last change. Do not use when: you need note data — this is a read-only diagnostics tool.

health-checkA

Use when: a quick check that Notes.app is reachable and (optionally) Full Disk Access is granted for checklist features. Returns: pass/fail per check. Do not use when: you need detailed, actionable setup diagnostics (use doctor). Read-only.

doctorA

Use when: diagnosing setup problems (Notes.app automation permission, account state, Full Disk Access) with actionable guidance. Returns: a detailed report plus structured fields, including runtimeOS and the same OS-version-aware features matrix as get-capabilities. Do not use when: you just need a quick pass/fail (health-check). Read-only.

get-notes-statsA

Use when: summarizing the library — total notes, per-account/folder counts, and recent activity. Returns: aggregate statistics; flags partial coverage when some scopes were unreadable. Do not use when: you need individual notes (list-notes/search-notes). Read-only.

list-attachmentsA

Use when: listing the attachments of one note, by id (preferred) or title. With includePaths, also where each attachment's files are on disk; with firstImage, only the note's lead visual. Returns: each attachment's name, content type, and id (use with save-attachment/fetch-attachment). includePaths adds identifier, uti, kind, bodyIndex, assetPaths (the attachment's own files), previewPath (Notes' largest rendered thumbnail, always an image file), and paths. firstImage returns {firstImage, orderSource}: the first image in body order even when its asset has not downloaded (path null), else the first scan or drawing, else null. Do not use when: you want the attachment bytes (fetch-attachment) or files on disk (save-attachment, export-attachments). Note: includePaths and firstImage need the note id and Full Disk Access; they read NoteStore and the Notes data folder read-only. Treat the returned paths as local data: copy files out with export-attachments rather than handing raw paths on.

batch-delete-notesA

Use when: moving several reviewed notes to Recently Deleted. Returns: per-note success or conflict. Do not use when: deleting a single note. Safety: every entry requires an exact id and the content hash from get-note-content. Any note changed since review is preserved and reported as a conflict. A note already in Recently Deleted is refused, since deleting it there would be permanent.

batch-move-notesA

Use when: moving multiple notes by id into one destination folder. Returns: per-id success/failure counts after destination-folder verification. Do not use when: moving a single note (move-note). Safety: optional folder preconditions apply independently to every note, checked live immediately before its move in the same AppleScript; a scope mismatch leaves that note unchanged and other items continue. Each moved note's actual container ID is compared with the destination folder ID before success is reported. The destination folder must already exist (create-folder); a smart folder is refused for the whole call (code unsupported) before any note moves.

save-attachmentA

Use when: writing one note attachment to a file on disk. Returns: the saved path. Do not use when: you want the bytes in-memory as base64 (fetch-attachment). Safety: writes a file; savePath must be absolute and under the home directory, a temp dir, or /Volumes, and not inside the Notes data folder. Get the ids from list-attachments first.

list-paper-attachmentsA

Use when: finding the Paper drawings (com.apple.paper) and classic drawings in one note, and whether Notes has a rendered image of each. Returns: per drawing its attachmentId, identifier, uti, kind (paper or drawing), handwritingSummary (Notes' recognized handwriting text, or null), bundlePresent, fallbackImagePath, previewPath, and raster {source, format, width, height} (the validated image export-paper-image would copy, or null). Do not use when: you want every attachment (list-attachments) or the image file itself (export-paper-image). Safety: read-only; reads NoteStore and the Notes data folder without opening Notes.app and requires Full Disk Access. Strokes are not decoded: Notes' Paper bundle has no public reader, so the raster is Notes' own rendering.

export-paper-imageA

Use when: saving Notes' rendered image of a Paper drawing or classic drawing to a file. Returns: savedPath, format (png or jpeg), width, height, bytes, source (fallback: Notes' full rendering; preview: its largest thumbnail, used only when no full rendering exists), and the drawing's attachmentId and handwritingSummary. Do not use when: the attachment is a photo or file (save-attachment or export-attachments). Safety: writes one new file; savePath must be absolute, under the home directory, a temp dir, or /Volumes, outside the Notes data folder, must not exist yet, and must end in the image's extension (.png, or .jpg/.jpeg). The image header is validated before and after copying. Pass attachmentId (from list-paper-attachments) when the note has more than one drawing. Requires Full Disk Access; Notes.app is not opened.

export-attachmentsA

Use when: copying every file attachment of one note (or only its lead visual) into a directory on disk. Returns: per attachment its id, kind, exportedTo, and exportedKind: "asset" for the real file, "fallback" for Notes' own full rendering of it (a drawing's PNG or a scan's PDF, named with that format's extension), "preview" when the asset never downloaded and only Notes' rendered thumbnail was available, or null when nothing was on disk; inBody: false marks an attachment no longer shown in the note body. Do not use when: exporting one attachment to an exact path (save-attachment) or reading bytes inline (fetch-attachment). Safety: writes files; exportDir must be absolute and under the home directory, a temp dir, or /Volumes, and not inside the Notes data folder. Existing files are never replaced: name collisions get -2, -3, ... suffixes. Reads NoteStore and the Notes data folder read-only; requires Full Disk Access. Notes.app is not opened.

fetch-attachmentA

Use when: retrieving one note attachment's bytes inline as base64 (no file written). Returns: name, content type, byte count, and base64 data. Do not use when: you want it saved to disk (save-attachment). Note: get the ids from list-attachments first.

show-attachmentA

Use when: the user wants to reveal one note attachment in Notes.app. Returns: confirmation that Notes.app revealed the attachment. Do not use when: you want the bytes (fetch-attachment) or a file on disk (save-attachment). Note: this opens or focuses the Notes UI. Get the ids from list-attachments first.

export-notes-jsonA

Use when: exporting notes as structured JSON for backup, migration, or bulk processing. Returns: one page of notes (default 50) with metadata, HTML content, and plaintext, grouped by account and folder, plus page info; while page.hasMore is true, call again with offset set to page.nextOffset. Do not use when: you need one note (get-note-content) or only titles and ids (list-notes). Note: a page stops early to stay under the response size limit (APPLE_NOTES_MCP_EXPORT_MAX_BYTES, default 8 MB), and a note too large on its own comes back with strippedImages or contentOmitted set. Read-only.

get-note-markdownA

Use when: reading a note as Markdown, with checklist items annotated [x]/[ ] when Full Disk Access is granted. Returns: the note's Markdown. Do not use when: you need the raw HTML/plaintext body (get-note-content) or only metadata (get-note-details). Note: falls back to plain lists (no checkmarks) without Full Disk Access.

export-notes-markdownA

Use when: exporting one note (by exact id) or a folder's notes as one Markdown document rendered from the decoded note body: headings, bulleted/dashed/numbered lists with indent, checklists with state, block quotes, monospaced blocks, bold/italic/strikethrough/underline/highlight, links, tables, and attachments in body order. Returns: the Markdown inline (capped by APPLE_NOTES_MCP_EXPORT_MAX_BYTES), or with outputPath a receipt {format, count, bytes, output}; plus attachment counts and skipped notes (for example password-protected ones). Do not use when: you need the legacy HTML-converted Markdown of one note (get-note-markdown) or a restorable backup (export-notes-json). A folder document separates notes with '---' and is a presentation format, not something to import back. Safety: read-only against Notes; requires Full Disk Access. outputPath is create-only (an existing file is refused with [output_exists]); assetsDir copies attachment files without replacing existing ones (collisions get -2, -3 suffixes). Without assetsDir, attachments render as labeled placeholders. Templates: pass template ('standard-markdown' reproduces the default output; 'obsidian' adds YAML front matter and copies attachments beside outputPath) or templateFile (a JSON template; hidden paths and ~/Library outside iCloud Drive and CloudStorage are refused unless the server sets APPLE_NOTES_MCP_ALLOW_PRIVATE_CONTENT_PATHS=1) to control how every block, inline style, attachment, per-note header/footer and separator renders. Templated receipts add template, warnings (e.g. missing_asset) and assetFiles; an invalid template is refused with [invalid-template] and every problem's JSON path.

export-notes-htmlA

Use when: exporting one note (by exact id) or a folder's notes as one standalone HTML file rendered from the decoded note body, with semantic tables and images, drawings, scans, audio, files and link cards in body order. Returns: a receipt {format, count, bytes, output} plus embedded or sidecar asset counts, attachment counts and skipped notes. The HTML itself is never returned inline. Do not use when: you want Markdown (export-notes-markdown) or a restorable backup (export-notes-json). A folder document is a presentation format, not something to import back. Safety: read-only against Notes; requires Full Disk Access. outputPath is required and create-only ([output_exists] if it exists). Assets are embedded as data URLs (each up to 10 MiB) unless embedAssets is false, which copies them to a sidecar directory (assetsDir, default .assets) with relative URLs and never replaces existing files. No file: URLs or Notes library paths are written; missing assets show a visible unavailable marker. Drawings: by default every drawing keeps Notes' PNG. With vectorDrawings true, classic PencilKit drawings are rendered as SVG through the public native helper (setup --public-helper); Paper drawings keep the PNG. A drawing that cannot be decoded falls back to the PNG and is counted in vectorDrawings.fallbackReasons; it never fails the export.

get-checklist-stateA

Use when: reading the checked/unchecked state of a note's checklist items, by id. Returns: each item's text and done state plus checked/total counts. Do not use when: you only have a title (get the id via search-notes first) or want the full body text (get-note-content). Note: requires Full Disk Access; reads the NoteStore database directly.

get-audio-transcriptsA

Use when: reading the transcript (and summary, if any) that Notes already computed for the audio recordings in one note, by id. Returns: one entry per top-level audio attachment in body order, with attachmentId, durationSeconds, status (ok, none when no transcript is stored, or undecodable with a reason), joined transcript text, wordCount, speakers and summary when stored, and optional word-level segments. Do not use when: you need the audio file itself (save-attachment) or the note body (get-note-content). This tool does not transcribe; it only reads what Notes stored. Safety: read-only; requires Full Disk Access and reads the NoteStore database. Password-protected notes are refused. Large responses drop segments first, then shorten text, to stay under APPLE_NOTES_MCP_EXPORT_MAX_BYTES.

get-note-metadataA

[BETA] Use when: reading note metadata AppleScript cannot expose — pinned state, checklist flags, trash/recovery state, preview snippet, password hint — by id. Returns: a metadata object; fields vary by macOS version and are omitted when unavailable. Do not use when: you need the body (get-note-content) or per-item checklist state (get-checklist-state). Note: reads the NoteStore SQLite database read-only and requires Full Disk Access. BETA — the database schema changes between macOS releases, so some fields may be absent. Works on trashed notes that AppleScript can no longer resolve.

list-special-notesA

Use when: listing pinned notes, Quick Notes, notes in Recently Deleted, or password-protected (locked) notes — sets AppleScript cannot enumerate. Returns: metadata rows newest first (id, identifier, title, folder path, account, created, modified, and pinned/locked/quickNote/inRecentlyDeleted flags; snippet except for locked notes; passwordHint for kind locked), plus total before limit. supported is false when this macOS version's database cannot answer that kind. Do not use when: you need note content (get-note-content) or a folder listing (list-notes). Note: reads the NoteStore SQLite database read-only and requires Full Disk Access. Pinned and Quick Notes listings cover notes in folders outside Recently Deleted; the locked listing includes trashed and folderless locked notes, flagged as such. Never reads locked note bodies.

get-note-drawingsA

Use when: reading the strokes of a note's classic PencilKit drawings (com.apple.drawing / com.apple.drawing.2 attachments), by note id, as JSON or SVG. Returns: per drawing its attachment id, status (ok/error with a code), stroke count, bounds, and strokes (ink type, sRGB color, width, points) and/or a standalone SVG document; overall status ok/partial/error/none. Do not use when: the drawing is a modern Paper sketch (com.apple.paper is not decoded here) or you want the attachment file itself (save-attachment). Note: read-only. Needs Full Disk Access and the public native helper built once with apple-notes-mcp setup --public-helper (compiled locally with PencilKit; no Notes writes).

transcribe-note-audioA

Use when: you need the words spoken in a note's voice recordings or audio attachments, transcribed now on this Mac, by note id. Returns: per audio attachment a status (ok / partial / error / indeterminate), duration, word count, per-take results, and the transcript; overall status ok / partial / error / indeterminate / none. Do not use when: you only need the audio file (save-attachment) or a note has no audio. Note: read-only; recognition runs entirely on-device (never sent to a server). Needs Full Disk Access and the public native helper built once with apple-notes-mcp setup --public-helper. Long recordings take time: pass attachmentId to transcribe one at a time. An indeterminate result means the helper timed out; retrying may succeed. Never prompts: code permission_required means the user must allow the host app under System Settings > Privacy & Security > Speech Recognition; permission_not_requested (before macOS 26) means the host app has never asked for that access, so it is not listed there yet. asset_unavailable can mean the language's speech model is not installed; pass downloadAssets: true only if the user agrees to the download.

list-recent-notesA

Use when: syncing notes incrementally from the Notes database, or listing notes by modification date. Pass since (a modifiedCheckpoint cursor or ISO 8601) to page through changes oldest first; omit it for the newest notes first. Returns: metadata rows (id, identifier, title, folder path, account, created, modified, modifiedCheckpoint, pinned, locked, inRecentlyDeleted, markedForDeletion), plus optional wordCount/charCount (wordCounts) and bodyPreview/textDecoded (bodyPreview); order, saturated, and nextSince drive sync. Do not use when: you need full content (get-note-content) or keyword search (search-notes). Note: read-only NoteStore access; requires Full Disk Access. Sync rule: store nextSince and pass it as the next since; every since call advances, and saturated true means more changes may follow, so call again. For a first full sync start from since 1970-01-01. The cursor can miss edits iCloud delivers later with an older timestamp from another device, and deletions are invisible unless includeDeleted is true.

list-folder-treeA

Use when: you need the folder hierarchy with note counts, per account, in one read. Returns: accounts, each with nested folders (id, identifier, name, path, kind folder/smart/trash, noteCount direct, totalNoteCount including subfolders, children) and the account's noteCount. Do not use when: you only need folder paths (list-folders) or notes (list-notes, list-recent-notes). Note: read-only NoteStore access; requires Full Disk Access. includeDeleted adds folders awaiting deletion (markedForDeletion) and folders whose account is gone.

Prompts

Interactive templates invoked by user choice

NameDescription
find-noteSearch Apple Notes for a topic and summarize the best match
weekly-reviewReview notes changed recently and surface follow-ups
new-meeting-noteDraft and create a structured meeting note

Resources

Contextual data attached and managed by the client

NameDescription
accounts
folders
stats

TDQS

A3.9/5.0

Scored across 89 tools

Disambiguation3/5

The descriptions are exceptionally thorough with explicit 'Do not use when' cross-references, which rescues much of the surface. However, many near-parallel read tools remain easy to confuse: get-note-by-id vs get-note-details vs get-note-metadata vs native-note-state vs get-note-structure, and list-notes vs list-recent-notes vs query-notes vs search-notes vs list-special-notes vs list-shared-notes. An agent must read long guards to pick correctly.

Naming Consistency4/5

Names are consistently kebab-case with a verb_noun shape (get-note-content, create-note, export-notes-markdown, add-attachment). Minor deviations appear in noun-first status tools (native-tags-status, health-check, doctor) and in verb choice drift (get- vs show- vs reveal semantics), but the pattern stays predictable.

Tool Count1/5

89 tools is far beyond a well-scoped surface; whole subsystems (five paragraph-anchor tools, many overlapping note-read variants, template tooling, SVG analysis) inflate the set. Even for a rich domain like Notes, this is an extreme mismatch that burdens selection.

Completeness4/5

Lifecycle coverage is genuinely deep: CRUD on notes and folders, attachments, tags, checklists, tables, exports in Markdown/HTML/JSON, and diagnostics. Minor gaps exist, notably no attachment-removal tool and no import path back into Notes, but agents can largely work around these.

Maintenance

ActivityActive
ResponsivenessUsually handled