Vault Knowledge

com.seanwinslow由 seanwinslow.com 发布v0.1.0更新于 Oct 24, 2026

Read-only MCP over a vault's typed knowledge graph: concept search, contradictions, article fetch.

已验证STDIO仅桌面文件与存储知识与记忆

概览

AI 生成的概览

一个只读的本地 MCP 服务器,把 Obsidian 知识库的类型化知识图谱开放给助手,用于搜索概念、查找矛盾和读取笔记。

可以做什么
按语义排序并限制条数地搜索知识库中的概念与连接文章,在整个图谱或最近 30 天内查找活跃的矛盾关系,按 slug 获取单篇文章及其 frontmatter、正文和已解析的 wikilink。
适用场景
适合笔记存放在 Obsidian 知识库中、希望助手帮你查资料、梳理概念之间关系,或指出自己笔记互相矛盾之处的情况。它自带示例知识库,可先试用再指向真实笔记。
运行要求
通过 npx 以 stdio 在本地运行,需要 Node 22.5 或更高版本以使用内置 SQLite 模块。使用自己的知识库时,需设置 VAULT_DB 和 VAULT_ROOT 环境变量,分别指向索引数据库和知识库路径。首次概念搜索会下载 nomic-embed-text-v1.5 模型。无需认证或云服务。
安装前请注意
设计为只读,仅可读取 knowledge 下的 concepts、connections 和 qa 目录,访问范围由配置固定而非请求参数决定。首次搜索会联网下载嵌入模型。VAULT_ROOT 应只指向你愿意让助手访问的知识库。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Vault Knowledge,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

vault-knowledge-mcp

A read-only MCP server that turns an Obsidian vault's typed knowledge graph into three tools any MCP client can call. Most knowledge tools can search. Few can tell you where your own notes disagree with each other. This one traverses a six-relation reasoning graph and surfaces the sharpest edge — contradicts. Local-first, stdio, no auth, no cloud, no native build.

The full reasoning lives in docs/EXPLANATION.md.

Tools

ToolReturns
search_concepts(query, limit=5)Semantically ranked concept/connection articles.
find_contradictions(scope='all'|'recent_30d')Active contradicts edges from the reasoning graph.
get_article(slug)One article with frontmatter, body, and resolved wikilinks.

Try it — zero config

Ships with a synthetic espresso vault, so it works the moment it installs.

json
{  "mcpServers": {    "vault-knowledge": { "command": "npx", "args": ["-y", "@swins/vault-knowledge-mcp"] }  }}

Then ask: "find contradictions in the vault."

Point it at your own vault

json
{  "mcpServers": {    "vault-knowledge": {      "command": "npx",      "args": ["-y", "@swins/vault-knowledge-mcp"],      "env": {        "VAULT_DB": "/abs/path/.vault-index.db",        "VAULT_ROOT": "/abs/path/vault"      }    }  }}

Only knowledge/{concepts,connections,qa} is ever readable. Scope is config-only — never a request parameter, so a client can't widen it.

Requirements

Node ≥ 22.5 (built-in node:sqlite). search_concepts downloads the nomic-embed-text-v1.5 model once on first run.

License

MIT.

来源:README.md,提交 fc83a14

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

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

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分