Vault Knowledge logo

Vault Knowledge

Searches an Obsidian knowledge graph, reports contradictions, and retrieves linked articles through read-only MCP tools.

Install Vault Knowledge

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "vault-knowledge": {
      "command": "npx",
      "args": [
        "-y",
        "@swins/vault-knowledge-mcp"
      ],
      "env": {
        "VAULT_DB": "YOUR_VALUE_HERE",
        "VAULT_ROOT": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 3 tools correctly ().

Overview

The vault-knowledge MCP server exposes read-only tools for searching concepts, finding contradictions, and retrieving articles from an Obsidian vault. It runs locally over stdio and can use a bundled synthetic espresso vault with zero configuration or a user-provided vault index and root. Concept search uses a locally downloaded embedding model on first run, while access is restricted to configured knowledge directories. Reach for it when an agent needs to inspect structured personal notes without changing them or sending vault data to a cloud service.

Use cases

  • Search concepts across a local Obsidian knowledge graph
  • Find contradictory claims in notes
  • Retrieve articles with resolved wikilinks
  • Inspect recent contradictions from the reasoning graph

Key features

  • Semantic concept and connection search
  • Contradiction detection with all-time or recent scope
  • Article retrieval with frontmatter and resolved wikilinks
  • Read-only access to configured knowledge directories
  • Local stdio operation with no authentication

Tools3

What Vault Knowledge lets your agent do. Expand a tool for its parameters.

Verified live~386 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

19/20 checks healthy over the last 111d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · @swins/vault-knowledge-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads272Package downloads in the last 30 days.
Last commit6mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed3Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Vault Knowledge works

What vault-knowledge MCP server does

The vault-knowledge MCP server makes selected content from an Obsidian vault available to MCP clients as a read-only typed knowledge graph. It focuses on three operations: semantic concept search, contradiction discovery, and article retrieval. The server is intended for agents that need to inspect an existing body of notes rather than edit, reorganize, or synchronize the vault.

The graph models relationships between concept and connection articles, including a contradicts relation. This lets an agent identify disagreements recorded in the notes instead of only finding text that matches a query. Article retrieval includes frontmatter, the article body, and resolved wikilinks.

How it works

The vault-knowledge MCP server runs locally through stdio, so an MCP client launches it as a subprocess. A synthetic espresso vault is included for an immediate test without configuring a personal data source. To use an existing vault, the process receives the path to an index database and the vault root through environment variables.

search_concepts ranks relevant concept and connection articles semantically. On its first execution, the server downloads the nomic-embed-text-v1.5 model. find_contradictions reads active contradicts edges from the reasoning graph and supports either the full graph or a recent-30-day scope. get_article loads one article by slug and resolves its internal links.

Setup and configuration

The documented installation uses Node.js and the npm package @swins/vault-knowledge-mcp:

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

Node.js 22.5 or later is required because the server uses the built-in node:sqlite module. The default configuration starts with the included synthetic vault. For a personal vault, set VAULT_DB to the index database path and VAULT_ROOT to the vault directory.

Tools and capabilities

  • search_concepts(query, limit=5) returns semantically ranked concept and connection articles.
  • find_contradictions(scope='all'|'recent_30d') returns active contradiction edges, either across the graph or from the recent period.
  • get_article(slug) returns an article's frontmatter, body, and resolved wikilinks.

Limitations and notes

The vault-knowledge MCP server is read-only and does not provide tools for editing notes or changing the graph. It has no authentication flow and does not require a cloud service. Only content under knowledge/concepts, knowledge/connections, and knowledge/qa is readable. This scope is configured for the server rather than supplied as a request parameter, preventing a client from widening access through a tool call.

The embedding model download occurs on first concept-search use, so that initial operation requires network access to obtain the model. Later searches can use the downloaded model.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Vault Knowledge

Run it through npx with `npx -y @swins/vault-knowledge-mcp` in an MCP client's server configuration. Node.js 22.5 or later is required.

Set `VAULT_DB` to the vault index database and `VAULT_ROOT` to the vault directory in the server environment.

No.

Its concept-search tool returns semantically ranked concept and connection articles from the configured knowledge graph.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewVault Knowledge AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/vault-knowledge?style=directory)](https://allmcps.com/mcp/vault-knowledge)
HTML Embed
<a href="https://allmcps.com/mcp/vault-knowledge"><img src="https://allmcps.com/api/badge/vault-knowledge?style=directory" alt="Vault Knowledge on AllMCPs" /></a>