upnote-mcp
A read-only MCP server that enables searching, retrieving, and managing local UpNote notes, notebooks, and tags via SQLite and UpNote's official URL scheme.
README
upnote-mcp
upnote-mcp is a read-only MCP server for reading local UpNote data from SQLite over stdio.
This is an unofficial project and is not affiliated with, endorsed by, or maintained by UpNote.
Features
search_notes: search notes by title, body text, or summarylist_recent_notes: list the most recently updated noteslist_notes_this_week: list notes updated during the current weeklist_notes_this_month: list notes updated during the current monthfind_notes: combine period, keyword, and tag filters in one callfind_and_open_note: find matching notes and open the most recent match in UpNoteopen_note: open a note in the UpNote app by note IDget_note: fetch the full contents of a note by note IDopen_notebook: open a notebook in the UpNote app by notebook IDlist_notebooks: list notebooks with note countscreate_note: create a new note through UpNote's official URL schemelist_tags: list tagssearch_by_tag: list notes for a tag
This project is intentionally read-only. It does not write to the UpNote database. Safe note creation and open actions are performed through UpNote's official URL scheme instead of direct database writes.
Package Name
This package is prepared to be published as @bellx2/upnote-mcp.
Requirements
macOSbuninstalled on the machine that runs the server- UpNote desktop app installed
- Default UpNote database path:
~/Library/Containers/com.getupnote.desktop/Data/Library/Application Support/UpNote/upnote.sqlite3
If your database lives somewhere else, set UPNOTE_DB.
Install
bun install
Run
bun run start
For normal use, prefer the published package:
bunx @bellx2/upnote-mcp
or:
npx @bellx2/upnote-mcp
npx support still depends on bun being installed, because this package uses Bun-specific APIs such as bun:sqlite.
For development with file watching:
bun run dev
Environment Variables
UPNOTE_DB: absolute path toupnote.sqlite3
Example:
export UPNOTE_DB="$HOME/Library/Containers/com.getupnote.desktop/Data/Library/Application Support/UpNote/upnote.sqlite3"
Permissions
On first run, your MCP client may show permission prompts for command execution and local file access.
This is expected because the server:
- launches through
bun - reads your local UpNote SQLite database
- may open the UpNote app for
open_note,open_notebook, orcreate_note
If you deny these permissions, note search and retrieval will not work. After granting access, you may need to restart the MCP server in Cursor or Claude Desktop.
MCP Config Example
Recommended: published package
Cursor
{
"mcpServers": {
"upnote": {
"command": "bunx",
"args": ["@bellx2/upnote-mcp"]
}
}
}
Claude Desktop
{
"mcpServers": {
"upnote": {
"command": "bunx",
"args": ["@bellx2/upnote-mcp"]
}
}
}
Local development checkout
Cursor
{
"mcpServers": {
"upnote": {
"command": "/absolute/path/to/bun",
"args": ["run", "/absolute/path/to/upnote-mcp/src/index.ts"]
}
}
}
Claude Desktop
{
"mcpServers": {
"upnote": {
"command": "/absolute/path/to/bun",
"args": ["run", "/absolute/path/to/upnote-mcp/src/index.ts"]
}
}
}
Example Workflows
Try prompts like:
Search UpNote for "travel" and show me the first resultShow me my 10 most recent UpNote notesShow me this week's notesShow me this month's notesFind this week's AI notesOpen this week's AI noteFind this month's notes tagged meetingOpen the latest note tagged meetingList my UpNote tags and open the note that matches the tag "meeting"Find notes about "launch", summarize them, and create a new UpNote note with the summaryList notebooks and open the one named "Research"
Tool Reference
search_notes
Input:
{
"query": "travel",
"limit": 5
}
list_recent_notes
Input:
{
"limit": 10
}
list_notes_this_week
Input:
{
"limit": 20
}
list_notes_this_month
Input:
{
"limit": 20
}
find_notes
Input:
{
"period": "this_week",
"query": "AI",
"limit": 10
}
Or:
{
"period": "this_month",
"tag": "meeting",
"limit": 10
}
find_and_open_note
Input:
{
"period": "this_week",
"query": "AI",
"limit": 10
}
Or:
{
"period": "recent",
"tag": "meeting",
"limit": 10
}
get_note
Input:
{
"id": "019fd239-a98a-742b-b75b-cee66e7aa830"
}
open_note
Input:
{
"id": "019fd239-a98a-742b-b75b-cee66e7aa830"
}
open_notebook
Input:
{
"id": "3f03c742-1270-4d35-a5bc-c7d98580d6fc"
}
list_notebooks
Input:
{}
list_tags
Input:
{}
search_by_tag
Input:
{
"tag": "meeting",
"limit": 5
}
create_note
Input:
{
"title": "Meeting Notes",
"text": "# Summary\n\nDraft created by MCP.",
"markdown": true,
"newWindow": false
}
Verification
bun run check
bun run smoke
Japanese README
The previous Japanese README is available at README_ja.md.
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。