evernote-mcp

evernote-mcp

A self-hosted Evernote MCP server that lets any MCP client search, read, create, and update notes in your live Evernote account, with notes never passing through third-party servers.

Category
访问服务器

README

evernote-mcp

A self-hosted Evernote MCP server, native to the 2026-07-28 stateless spec.

Point any MCP client at your own machine and it can search, read, create and update notes in your live Evernote account. Your notes never pass through anyone else's server: the only two parties are your client and Evernote.

Built on the official mcp Python SDK 2.0. The 2026-07-28 spec dropped the initialize handshake and session state, so this server answers a single stateless POST per call. Clients still on the old spec keep working through the SDK's fallback path, verified against mcp 1.27.

Tools

Tool What it does
list_notebooks Every notebook with guid, name, stack, default flag
search_notes Evernote's own search grammar, passed through unmodified
read_note One note by guid, body converted from ENML to markdown
create_note Title plus markdown body, optional notebook
update_note Replace a note's title, body, or both, by guid

Deliberately absent in v1: attachments, tags, sync, and anything that deletes. No tool in this server can remove a note.

search_notes takes Evernote query strings verbatim, so notebook:Recipes intitle:pasta updated:day-7 -tag:archived works exactly as it does in the Evernote app. An empty query returns the most recently updated notes.

Setup

Requires Python 3.11+ and uv.

git clone https://github.com/jayzuccarelli/evernote-mcp
cd evernote-mcp
make sync
cp .env.example .env

1. Get an Evernote token

You need a JSON file with at least token and noteStoreUrl:

{
  "token": "S=s123:U=...",
  "noteStoreUrl": "https://www.evernote.com/shard/s123/notestore"
}

Two ways to produce it:

  • Developer token. Evernote issues these from your account settings for personal use. Pair it with the note store URL for your shard.
  • OAuth. Run the standard Evernote OAuth flow with your own consumer key. The access token response carries edam_webApiUrlPrefix; the note store URL is that prefix with notestore appended.

Save the file as ~/.evernote-token.json, or point EVERNOTE_TOKEN_FILE somewhere else.

2. Set a bearer token

EVERNOTE_MCP_TOKEN is the secret that guards your server. It is unrelated to the Evernote credential.

uv run python -c "import secrets; print(secrets.token_urlsafe(32))"

Put it in .env. Leave it unset and the server accepts unauthenticated calls, which is only safe bound to localhost.

3. Run

make run

The server listens on http://127.0.0.1:3402/mcp. Add it to a client:

claude mcp add --transport http evernote http://127.0.0.1:3402/mcp \
  --header "Authorization: Bearer $EVERNOTE_MCP_TOKEN"

Exposing it beyond localhost

Put it behind a reverse proxy that terminates TLS. With Tailscale Funnel:

tailscale funnel --bg --set-path /evernote 3402

Then set both of these in .env:

PUBLIC_URL=https://your-host.ts.net/evernote
TRUST_PROXY=true

PUBLIC_URL is what the server advertises in its RFC 9728 protected resource metadata, so OAuth-aware clients discover the right issuer. TRUST_PROXY relaxes the DNS-rebinding Host header check, which a proxy forwarding a public hostname would otherwise trip. Bearer auth still gates every request.

Markdown and ENML

Evernote stores notes as ENML, an XHTML subset. This server converts on the way out and back on the way in, so tools speak markdown.

The conversion is not lossless. Headings, bullets, checkboxes, links, bold, italic and paragraphs round trip. Tables, images, inline styles and colours do not. Attachments show up as [attachment: image/png] placeholders on read and are dropped on write.

update_note replaces the body wholesale. Read first, edit, then write back if you want to preserve anything.

Development

make check   # ruff lint + format check, then import and tool-registry smoke test

make check runs against tests/fake-token.json, so it needs no Evernote account and touches no network.

License

MIT

推荐服务器

Baidu Map

Baidu Map

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

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

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

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

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

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

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

官方
精选
本地
TypeScript
VeyraX

VeyraX

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

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

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

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

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

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

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

官方
精选