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 分