Standard Notes
Give secure read/write access to your Standard Notes vault — end-to-end encrypted, local stdio only, zero cloud middleman.
README
<p align="center"> <img src="./banner@2x.png" alt="mcp-standardnotes" width="100%"> </p>
mcp-standardnotes
Give Claude secure read/write access to your Standard Notes vault — end-to-end encrypted, local stdio only, zero cloud middleman.
Ask Claude to summarize your notes, draft new ones, organize tags, search across your vault — all while your master key stays on your machine. Works with Claude Code, Claude Desktop, and any MCP-compatible client.
Disclaimer. This is an unofficial third-party integration. Not affiliated with, endorsed by, or sponsored by Standard Notes Ltd. "Standard Notes" is a trademark of Standard Notes Ltd.
Why
- 🔒 End-to-end encrypted. All decryption happens locally using audited libsodium primitives (Argon2id + XChaCha20-Poly1305 IETF). Your password never leaves RAM; your master key never leaves your machine.
- 🔌 Local stdio only. No network port is ever opened by this server.
- 🔑 OS keychain for session storage. macOS Keychain, Linux libsecret, Windows Credential Vault — never plaintext files.
- ☁️ Works with the official cloud or self-hosted Standard Notes servers.
Features
| Tool | What it does |
|---|---|
notes_list / notes_search / notes_get |
Browse and search your notes (filter by tag with tag: "<uuid-or-title>") |
notes_create / notes_update / notes_delete |
Write notes (markdown, super, code, rich-text, task, spreadsheet, plain-text) |
notes_create_many |
Batch-create up to 50 notes in one sync push |
notes_stats |
Vault stats: counts, sizes, oldest/newest/largest note |
tags_list / tags_get / tags_create / tags_update / tags_delete |
Full tag CRUD |
tags_attach / tags_detach |
Link/unlink tags to notes |
sync |
Force a sync with the server |
notes_create and notes_update accept an optional tags: string[] (tag UUIDs) to link tags at write time.
Requirements
- Node.js ≥ 20
- A Standard Notes account on protocol 004 (default for any account created or upgraded since 2020)
- macOS, Linux, or Windows with a working OS keychain
Quickstart
1. Install
npm install -g mcp-standardnotes
Or run from a clone if you prefer:
git clone https://github.com/lozit/mcp-standardnotes.git
cd mcp-standardnotes
npm install && npm run build
2. Log in once
mcp-standardnotes-login # if installed globally
# or, from a clone:
npm run login
You'll be prompted for email and password. The password derives your master key in memory (Argon2id) and is never written to disk. An encrypted session is stored in your OS keychain; subsequent runs reuse it automatically.
3. Hook it up to Claude
Claude Code — add to ~/.claude.json or .mcp.json:
{
"mcpServers": {
"mcp-standardnotes": {
"type": "stdio",
"command": "mcp-standardnotes",
"env": { "SN_EMAIL": "you@example.com" }
}
}
}
If you cloned instead of npm install -g, replace command with the absolute path to node and add args: ["/absolute/path/to/mcp-standardnotes/dist/index.js"].
Then /mcp to reconnect.
Claude Desktop (macOS) — edit ~/Library/Application Support/Claude/claude_desktop_config.json with the same structure, and use an absolute path to your Node ≥ 20 binary (Claude Desktop does not inherit nvm). See docs/troubleshooting.md if you hit SyntaxError: Unexpected token '??='.
Any other MCP client — run node dist/index.js with SN_EMAIL set in the environment. Transport is stdio.
Self-hosting Standard Notes? See docs/self-hosted.md for the docker-compose recipe and how to pin your TLS certificate.
Configuration
| Variable | Default | Description |
|---|---|---|
SN_EMAIL |
required | Your SN account email. Must match what you used with npm run login. |
SN_SERVER_URL |
https://api.standardnotes.com |
Sync server URL. Change for self-hosted instances. |
KEYCHAIN_SERVICE |
mcp-standardnotes |
Override the keychain service name (useful for multiple accounts). |
SN_CERT_FINGERPRINT |
unset | SHA-256 TLS cert pin for self-hosted servers (64 hex chars, colons optional). See docs/self-hosted.md. |
Security at a glance
- Password in RAM only during key derivation. Never logged, never stored.
- Session + master key hex → OS keychain only. Never plaintext files.
- stdio transport only. No HTTP port, ever.
- All logs go to stderr, routed through a redactor that masks passwords, keys, JWTs, and token-like strings.
- All tool inputs validated by zod.
npm auditHIGH/CRITICAL is a merge blocker in CI.- Only the protocol 004 framing is implemented locally; all cryptographic primitives come from
libsodium-wrappers-sumo.
Full threat model and deep-dive: docs/protocol-004.md.
Troubleshooting
Common issues and fixes: docs/troubleshooting.md.
Logout
SN_EMAIL=you@example.com mcp-standardnotes-logout
# or, from a clone:
SN_EMAIL=you@example.com npm run logout
Roadmap
Upcoming work tracked in ROADMAP.md.
Contributing
Contributions welcome. See CONTRIBUTING.md for setup, tests, and PR checklist.
License
MIT — use it, fork it, ship it.
Credits
- Standard Notes for the encryption design and public API.
- Model Context Protocol and Anthropic for the MCP SDK.
- libsodium by Frank Denis, exposed via libsodium-wrappers-sumo.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。