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.

已驗證STDIO僅桌面效率與工作流知識與記憶

概覽

AI 產生的概覽

讓 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 金鑰。
安裝前請注意
助理可讀取本機 UpNote 資料庫中的筆記全文,因此資料庫內容會暴露給模型。建立筆記會透過 upnote:// URL scheme 寫入 UpNote 應用程式;標籤無法設定,需事後在應用程式中手動加入。Windows 上的預設資料庫路徑未經作者驗證,可能需要覆寫。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Upnote Lens Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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, set UPNOTE_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:

bash
claude mcp add upnote-lens -- uvx upnote-lens-mcp

Claude Desktop:

json
{ "mcpServers": { "upnote-lens": { "command": "uvx", "args": ["upnote-lens-mcp"] } } }
Option 2 — with pip (if you don't have uv)
bash
pip install upnote-lens-mcp

Claude Code:

bash
claude mcp add upnote-lens -- upnote-lens-mcp

Claude Desktop:

json
{ "mcpServers": { "upnote-lens": { "command": "upnote-lens-mcp" } } }
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:

bash
claude mcp add upnote-lens -- uvx --from git+https://github.com/AwesomeHye/upnote-lens-mcp upnote-lens-mcp

Claude Desktop:

json
{ "mcpServers": { "upnote-lens": { "command": "uvx", "args": ["--from", "git+https://github.com/AwesomeHye/upnote-lens-mcp", "upnote-lens-mcp"] } } }

Tools

Read (queries the local DB → returns real text)

ToolDescription
search_notes(query, limit=20)Substring search over title/body. Returns id, title, updated time, snippet
get_note(note_id, include_html=False)Full title + body text of a note (optionally raw HTML)
list_recent(limit=20)Most recently updated notes
list_notebooks()Notebooks with note counts and parent
list_notes_in_notebook(notebook_id, limit=50)Notes inside a notebook
list_tags()Tags with note counts
list_notes_by_tag(tag_title, limit=50)Notes carrying a tag

Write (upnote:// URL scheme)

ToolDescription
create_note(title, content, notebook?, markdown=True, new_window=False)Create a note. content is Markdown by default. notebook matches by name. Tags can't be set (see below)
open_note(note_id, new_window=False)Open an existing note in the app
open_notebook(notebook_id)Open a notebook in the app

Tag limitation: UpNote's note/new URL 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:

UPNOTE_LENS_DB=/path/to/upnote.sqlite3

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
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分