
Upnote Lens Mcp
io.github.AwesomeHye由 GitHub 账号 AwesomeHye 发布v0.1.2更新于 Oct 27, 2026
Read, search, and summarize your UpNote notes — and create new ones.
概览
让 AI 助手搜索、读取、总结并创建本地 UpNote 桌面应用中的笔记,读取走 SQLite 数据库,写入走 upnote:// URL scheme。
- 可以做什么
- 按关键词在标题和正文中搜索笔记,返回片段和更新时间
- 读取单条笔记的完整正文或原始 HTML,并列出最近更新的笔记
- 浏览笔记本和标签及其笔记数量,列出某个笔记本内或带某个标签的笔记
- 在对话中创建 Markdown 格式的新笔记,可指定笔记本
- 在 UpNote 应用中打开已有笔记或笔记本
- 适用场景
- 适合笔记存放在 UpNote 中、希望助手总结、检索或回答关于自己写过的内容的场景,也适合从对话中直接记录新笔记。主要是面向 macOS 的本地桌面工具。
- 运行要求
- 以 Python 包形式通过 stdio 在本机运行(需 Python 3.10+,或使用 uv/uvx)。需安装 UpNote 桌面应用;macOS 完全支持,Windows 为尽力支持。若数据库不在默认位置,需用环境变量 UPNOTE_LENS_DB 指定路径。未声明账号或 API 密钥。
安装
在 SourceWeft 中
- 打开 控制台中的 Upnote Lens Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
upnote-lens-mcp
A hybrid MCP server that lets your AI assistant work with your UpNote notes:
- 🔍 Find & search notes by keyword across titles and bodies.
- 📖 Read & summarize — it returns the actual note text, so the AI can summarize, analyze, or answer questions about what you've written.
- ✍️ Create new notes from the chat.
Under the hood: reads come from the local UpNote SQLite database (read-only),
so real content comes back as text; writes go through the upnote:// URL scheme
(x-callback-url) and never touch the database.
The write side (URL scheme) is based on chadthornton/upnote-mcp (MIT).
Usage
Once it's registered, just talk to your AI assistant in plain language — it picks the right tool for you. No commands or syntax to memorize. For example:
- "Summarize my UpNote notes about the Q3 roadmap."
- "Find notes where I mentioned Postgres tuning and pull out the key points."
- "What did I write about onboarding last month?"
- "Show me my 5 most recent notes."
- "Create a note titled 'Standup 6/4' with today's three priorities."
Reading, searching, summarizing, and creating all happen through natural conversation.
Requirements
- macOS — fully supported and verified.
- Windows — best-effort. URLs launch through the registered scheme handler,
and the default DB path is guessed under
%APPDATA%\UpNote\. This path is not verified by the author — if reads fail, setUPNOTE_LENS_DB(see below). - Python 3.10+ (or just uv, which brings its own).
- UpNote desktop app installed.
Install & register
🤖 Let AI install it (easiest)
Give your MCP client (Claude, etc.) a link to
llms-install.md and it will run the steps and set everything
up for you.
🧑 Install it yourself
Pick the first option that fits what you already have. Each option includes how to register it in Claude.
Claude Desktop config file (referenced in each option):
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json- Windows:
%APPDATA%\Claude\claude_desktop_config.json
Option 1 — with uv (recommended)
Requires uv installed once
(brew install uv, or curl -LsSf https://astral.sh/uv/install.sh | sh).
After that there's no package install step — uvx downloads, caches, and
runs upnote-lens-mcp on demand.
Claude Code:
Claude Desktop:
Option 2 — with pip (if you don't have uv)
Claude Code:
Claude Desktop:
Option 3 — from GitHub over HTTPS (if you don't have pip)
When you can't use PyPI/pip, install straight from the repo with uv. (No uv yet?
curl -LsSf https://astral.sh/uv/install.sh | sh.)
Claude Code:
Claude Desktop:
Tools
Read (queries the local DB → returns real text)
Write (upnote:// URL scheme)
Tag limitation: UpNote's
note/newURL scheme has no tag parameter, and hashtags placed in the body stay as plain text rather than becoming real tags (they only convert to tags when typed in the editor). If you need tags, add them manually in the app after the note is created.
Override the DB path
If the database isn't in the default location (or you're on Windows), point at it with an environment variable:
Default paths:
- macOS:
~/Library/Containers/com.getupnote.desktop/Data/Library/Application Support/UpNote/upnote.sqlite3 - Windows (best guess):
%APPDATA%\UpNote\upnote.sqlite3
License
MIT. See LICENSE for details. The URL-scheme formats and launch approach on the write side are adapted from chadthornton/upnote-mcp (MIT).
来源:README.md,提交 6f873ba
工具
0版本历史
1- v0.1.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分