Apple Notes on Steroids

Apple Notes on Steroids

MCP server for Apple Notes enabling read, search, write, and sync of notes with high fidelity, including styles, attachments, and bidirectional Markdown sync.

Category
访问服务器

README

<img src="icon.png" alt="" width="96">

Apple Notes on Steroids

An MCP server for Apple Notes. Read, search, write and sync notes at full fidelity, including the styles Apple's own import path throws away.

Requirements

macOS with Apple Notes, Node 18 or newer, and up to three permission grants:

Grant Buys Needed
Automation talking to Notes at all always, prompted on first run
Accessibility true styles and attachments on write optional
Full Disk Access reading Notes' own store: checked state, quotes, link targets, highlights. Also how a note holding attachments is safely updated, since the store says where they sit optional

The server works with Automation alone, at reduced fidelity, and says so in its answers. The optional two are granted in System Settings, Privacy & Security, to the exact app running the server, so they need re-granting after that app updates.

Connect

Any MCP client that runs local stdio servers works: Claude Code, Claude Desktop, Codex CLI, Cursor and the rest. The one constraint is that the server must run on the Mac where Notes lives.

{ "mcpServers": { "apple-notes-on-steroids": { "command": "npx", "args": ["-y", "github:krisxsee/apple-notes-on-steroids-mcp"] } } }

In Claude Code it is also a plugin:

claude plugin marketplace add krisxsee/apple-notes-on-steroids-mcp
claude plugin install apple-notes-on-steroids

In Claude Desktop, no terminal needed: download the .mcpb from the latest release, double-click it, install.

From source: npm install && npm run build, then point the client at dist/index.js. To sync, set APPLE_NOTES_MD_DIR to the folder of .md files, or pass dir per call.

Verify

npm run verify

Creates one note in "MCP Tests" holding every style the server claims to write, reads it back character for character, and never touches a note that existed before.

Tools

Tool What it does
list_folders Every folder with path and note count.
list_notes Notes, newest first. Optional folder, limit.
search_notes Titles by default; search_body: true also scans bodies, capped at 300 notes.
get_note One note by id or name. format: "markdown" reads Notes' own store, the only place checked state, quotes, link targets and highlights exist; when the store is out of reach it falls back to the HTML and says so with rich: false. format: "html" gives the raw HTML.
create_note New note from a Markdown body. attach puts files in it; true_styles applies what the importer cannot.
append_note Adds to the end. true_styles pastes at the caret instead of rewriting the body.
update_note Replaces a note's body, keeping its attachments. attach adds more. Destructive for that note.
list_attachments What a note carries besides text, one entry per mark and in the same order.
get_attachment One attachment as an image, by index. Drawings come back as Notes' own render.
sync_now One pass over a folder of Markdown files. See Sync.
sync_status Dry run of sync_now.
export_note Writes a note to a new .md file with its media. Creates only.
import_note Creates a note from a .md file. Creates only.

No delete tool, on purpose.

Formatting

Bodies are Markdown, both ways. Two write paths produce a note: the HTML importer takes everything it can, instantly and silently, and a pasteboard hand-off supplies what it cannot.

Feature State
Bold, italic, strikethrough, underline both ways
Inline code both ways, at the size of the line around it
Links, bare and labelled both ways
Nested bullet and numbered lists both ways, four spaces per level
Tables both ways
Headings both ways. # is Title, ## Heading, ### Subheading; deeper collapses to Subheading
Code fences both ways. Notes cannot hold the language tag, but a pull keeps the one the file already has
Block quote both ways, single level, which is all Notes has
==highlight== both ways, orange, with inline code in mint so the two never read alike
- [ ], - [x], nested both ways, checked state included
Horizontal rule both ways, written as em dashes because Notes has no rule
Images, drawings, scans, any file read fully; written by pasting the file, since the importer cannot make one
[[Wikilinks]] a real note-link pill when the note exists, an ↗︎ obsidian:// link into the vault when only the file does, literal text otherwise. Pulled back as [[title]]
Callouts, footnotes plain text, no Notes equivalent

Sync

One direction per file, and Notes is the centre. A file's own name says which note it belongs to, and one property says which way it flows.

apple-note-sync Direction What happens
push file → note the note's body is replaced from the file
pull file ← note the file's body is replaced from the note, media included
off paused nothing

A pass only touches notes that already exist. A name matching no note, or more than one, is reported and neither side is written. Rename a note and the pair is lost until you rename the file to match.

One direction cannot have a conflict, so there is no conflict resolution. One guard: a pull that finds the file edited since the last pull refuses and reports it conflicted, both sides left standing; merge, push once, flip back. .apple-notes-sync.json is a cache used only to skip work; delete it and the next pass reaches the same place.

Media pulls in beside the .md file that links it, with ordinary Markdown. A push reconciles those links against the note: a link added attaches the file, one removed detaches it. A drawing is never removed, because nothing outside Notes reads its strokes.

export_note and import_note create the other side. Both refuse to overwrite.

Safety

  • No delete tool.
  • Sync never propagates deletions.
  • Notes in "Recently Deleted" are excluded from listings, search and folder resolution, and are never written to.
  • Locked notes: metadata reads, body reads return a placeholder, writes fail with LOCKED.
  • Ambiguous names return candidates rather than a guess.
  • The live check works only on notes it created.
  • The store is opened read-only. Writing goes through Notes itself, always.

Design

Four ideas hold it together. The source map lives in CLAUDE.md.

Nothing is addressed by position. A position is a second model of the note kept beside the note, and it drifts. Text is what both sides can see.

The store is the only witness. A paste changes what a paragraph is and not one character of what it says, so the editor proves nothing.

Losing state must never read as having no state. Empty is a fact about the world; unreadable is a fact about this pass. Conflating them lets one side overwrite the other.

Never destroy what cannot be put back. An image removed still exists as a file. A drawing does not.

Development

npm test

npm run verify covers what only macOS can answer.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选
mcp-server-qdrant

mcp-server-qdrant

这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。

官方
精选
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选