
Smart Connections Mcp
io.github.msdanyg由 GitHub 帳號 msdanyg 發布v2.0.1更新於 Oct 24, 2026
Local semantic search over Obsidian vaults via Smart Connections embeddings. Multi-vault, private.
發布方自己的服務:Connections
概覽
本機 MCP 伺服器,重用 Smart Connections 嵌入,讓助理對一個或多個 Obsidian 儲存庫進行語意搜尋。
- 可以做什麼
- 依語意在一个或多個儲存庫中搜尋整篇筆記與個別區塊,回傳依相似度排序的片段
- 找出與某篇筆記相似的筆記,並沿相似度連結向外延伸以梳理相關想法
- 讀取筆記內容或擷取指定區塊
- 列出已載入的儲存庫,並回報數量、模型與載入錯誤
- 適用情境
- 適合在 Obsidian 中搭配 Smart Connections 外掛記錄筆記、希望助理依含意而非精確關鍵字回想相關內容(包含跨多個儲存庫),且不希望筆記上傳到雲端的情況。
- 執行需求
- 透過 npx 在本機執行,需要 Node.js 20+。需要一個已安裝 Smart Connections 外掛並已產生嵌入的 Obsidian 儲存庫。必須以環境變數 SMART_VAULT_PATH(別名 SMART_VAULT_PATHS,兩者同時設定時優先採用)以逗號分隔填入一個或多個儲存庫的絕對路徑。需要 Claude Desktop、Claude Code 等 MCP 用戶端。嵌入模型(約 25MB)首次使用時需連網下載一次。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Smart Connections Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Smart Connections MCP Server
Give Claude true semantic memory of your Obsidian vault. An MCP server that searches your notes by meaning — reusing the embeddings the Smart Connections Obsidian plugin already generated, and running the same embedding model locally to understand your queries. No cloud calls; your vault never leaves your machine.
[MCP] [Obsidian] [License: MIT] [GitHub stars]
What it does
search_notes— semantic search across one or many vaults. Matches whole notes and individual sections (blocks), returns similarity-ranked results with content snippets.get_similar_notes— notes similar to a given note (stored embeddings).get_connection_graph— walk similarity links outward to map related ideas.get_note_content— read a note, or extract specific blocks.list_vaults/get_stats— what's loaded, counts, models, load errors.
Requirements
- Node.js 20+
- An Obsidian vault with the Smart Connections plugin installed and embeddings generated (v2 tested against Smart Connections 3.x data)
- An MCP client (Claude Desktop, Claude Code, …)
Setup (Claude Desktop)
Add to claude_desktop_config.json and restart Claude Desktop:
One vault or several — separate paths with commas.
SMART_VAULT_PATHS (plural) is also accepted as an alias for SMART_VAULT_PATH and takes
precedence over it if both are set.
Claude Code
How it works
Smart Connections stores an embedding vector for every note and block in
.smart-env/. This server loads those vectors into memory and, when you search,
embeds your query with the same model your vault used (downloaded once,
~25MB, runs locally via transformers.js). Results are ranked by cosine
similarity. Edits you make in Obsidian are picked up automatically.
If the embedding model can't load (e.g. no network on very first run), or a vault
has no embeddings yet, search degrades to literal keyword matching and says so
explicitly ("mode": "keyword-fallback" plus a warning naming the cause). When only some vaults fall back, mode stays
"semantic", those rows carry "match": "keyword", and they always rank
after the true semantic rows.
Migrating from v1
get_embedding_neighborswas removed.search_notesis now genuinely semantic and its response includesvault,scope,block,snippet, andmodefields.- Everything else is backward compatible; single-vault
SMART_VAULT_PATHconfigs work unchanged.
Development
MIT — see LICENSE.
來源:README.md,提交 5b484f4
工具
0版本歷史
1- v2.0.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Connections 整合
Connections
icu.connections官方發布者
一個遠端 MCP 伺服器,讓助理張貼優惠、舉辦活動、匯入聯絡人,並在多個助理之間保存筆記與記憶。

Connections
由 GitHub 帳號 Lunarwerx 發布
一個本機 MCP 伺服器,讓助理不必貼上金鑰就能存取 AWS、GitHub 及已連線服務,並提供本機 shell 與瀏覽器控制。
Sonar Connections
com.sonarconnections
連接 Sonar Connections 活動的遠端連接器:助理可瀏覽活動、在攤位交換名片、聯繫與會者、管理 Wallet 通行證並編輯活動網站

Smart Connections
由 GitHub 帳號 gogogadgetbytes 發布
讓助理對 Obsidian 儲存庫的 Smart Connections 嵌入進行語意搜尋,並讀取已索引的筆記。