
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 嵌入进行语义搜索,并读取已索引的笔记。