Vault Knowledge MCP Server
Provides tools for searching concepts, finding contradictions, and retrieving articles from an Obsidian vault's knowledge graph.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Vault Knowledge MCP Server find contradictions in recent 30 days"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Tool | Returns |
| Semantically ranked concept/connection articles. |
| Active |
| One article with frontmatter, body, and resolved wikilinks. |
Related MCP server: vault-master-mcp
Try it — zero config
Ships with a synthetic espresso vault, so it works the moment it installs.
{
"mcpServers": {
"vault-knowledge": { "command": "npx", "args": ["-y", "@swins/vault-knowledge-mcp"] }
}
}Then ask: "find contradictions in the vault."
Point it at your own vault
{
"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.
Available Tools
3 toolsfind_contradictionsFind ContradictionsA
Traverse the typed reasoning graph for active 'contradicts' edges — the sharpest of six relation types. scope='all' or 'recent_30d'. Returns {from_slug, to_slug, confidence, surfaced_at, source_run_id}. Read-only.
Inputs: scope.
get_articleGet ArticleA
Fetch one article by slug with frontmatter, body, and resolved inbound/outbound wikilinks. Reads only files under the configured knowledge allowlist. Read-only.
Inputs: slug (required).
search_conceptsSearch ConceptsA
Semantically search the vault's concept, connection, and Q&A articles for a natural-language query. Returns ranked {slug, title, similarity_score, excerpt, last_modified}. Read-only.
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool targets a distinct operation: semantic search, contradiction graph traversal, and article retrieval by slug. No functional overlap.
All tool names follow a consistent verb_noun pattern: search_concepts, find_contradictions, get_article. Clear and predictable.
Three tools is appropriate for a focused read-only knowledge vault. Each tool addresses a core need without redundancy.
Covers search, contradiction detection, and article retrieval. Lacks a listing or browsing capability, but semantic search mitigates this gap.
Maintenance
Related MCP Connectors
Hosted MCP server for Obsidian Sync vaults: read, search, edit notes. Not affiliated with Obsidian.
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
Repository knowledge graph MCP server for codebase understanding and debugging.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Related MCP Servers
- AlicenseAqualityCmaintenanceLocal-first MCP server for working with an Obsidian vault. No API key required1719MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that treats Obsidian vaults as knowledge graphs, enabling AI agents to traverse wikilinks, assemble token-budgeted context, and search with backlink awareness.3 npm1MIT
- AlicenseBqualityDmaintenanceA lightweight MCP server for intelligent, non-invasive analysis of Obsidian vaults.4MIT
- AlicenseNot gradedqualityDmaintenanceA read-only MCP server that enables semantic search of your Obsidian vault using Smart Connections embeddings, with path validation and security.37 npm3MIT