export-notes-json

MCP tool from Apple Notes MCP by sweetrb

Exports all notes as a JSON structure.

How to use it

export-notes-json is exposed by the Apple Notes MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the export-notes-json tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Apple Notes MCP

$claude mcp add apple-notes -s user -- npx -y apple-notes-mcp
FULL APPLE NOTES MCP LISTING

Other tools in Apple Notes MCP (35)

append-to-note

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

batch-delete-notes

Deletes multiple notes at once by ID.

batch-move-notes

Moves multiple notes to a folder.

create-folder

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

create-note

Creates a new note in Apple Notes.

delete-folder

Deletes a folder.

delete-note

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

doctor

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

fetch-attachment

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

get-checklist-state

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

get-default-location

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

get-note

metadata (BETA)

get-note-by-id

Retrieves a note using its unique CoreData identifier.

get-note-content

Retrieves the full content of a specific note.

get-note-details

Retrieves metadata about a note (without full content).

get-note-link

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

get-note-markdown

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

get-note-plaintext

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

get-notes-stats

Gets comprehensive statistics about your notes.

get-selected-notes

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

get-sync-status

Checks iCloud sync status.

health-check

Verifies Notes.app connectivity and permissions.

list-accounts

Lists all configured Notes accounts.

list-attachments

Lists attachments in a note.

list-folders

Lists all folders in an account with full hierarchical paths.

list-notes

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

list-shared-notes

Lists all notes shared with collaborators.

move-note

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

save-attachment

Saves a note attachment to disk.

search-notes

Searches for notes by title or content.

show-account

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

show-attachment

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

show-folder

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

show-note

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

update-note

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