vault-graph-mcp
Click on "Install 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-graph-mcpFind the shortest path between 'Sales Order' and 'Customer'."
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-graph-mcp
MCP server that exposes a markdown vault as a traversable knowledge graph via NetworkX. Runs on Windows, macOS, Linux — zero compilation, just
uvorpip.
What it does
Walks your vault, parses
[[wikilinks]]AND[text](path.md)linksBuilds a directed NetworkX graph with typed edges (wikilink, mdlink, backlink, implicit)
Implicit edges: Uses sentence-transformers embeddings to find semantically similar notes that were NEVER explicitly linked — the author's blind spots become visible
Exposes 9 MCP tools for AI agents:
Tool | Description |
| Search notes by title, path, or tag |
| Read full markdown content of a note |
| Direct neighbors with multi-hop depth |
| All notes linking TO a target note |
| DFS tree walk from a starting note |
| Shortest path(s) between two notes |
| List notes filtered by folder or tag |
| Graph stats, top connected, orphans, implicit edge metrics |
| Find semantically similar notes (implicit connections via embeddings) |
Related MCP server: mcp-vault-reader
Quick Start (Windows)
1. Install uv (if you don't have it)
winget install --id=astral-sh.uv2. Clone the repo
git clone https://github.com/ReneRichartz/vault-graph-mcp.git
cd vault-graph-mcp3. Install
pip install -e .Or with uv (recommended):
uv pip install -e .4. VS Code MCP Configuration
Create .vscode/mcp.json in your workspace:
{
"servers": {
"vault-graph": {
"type": "stdio",
"command": "uvx",
"args": [
"--from", "C:\\Users\\rene\\vault-graph-mcp",
"vault-graph-mcp"
],
"env": {
"VAULT_GRAPH_PATH": "C:\\Users\\rene\\mein-fscm-vault",
"VAULT_IMPLICIT_THRESHOLD": "0.35"
}
}
}
}Alternatively, if installed via pip:
{
"servers": {
"vault-graph": {
"type": "stdio",
"command": "python",
"args": ["-m", "vault_graph_mcp.server"],
"env": {
"VAULT_GRAPH_PATH": "C:\\Users\\rene\\mein-fscm-vault",
"VAULT_IMPLICIT_THRESHOLD": "0.35"
}
}
}
}VS Code will auto-detect the server and offer to start it.
5. Use in VS Code Agent Chat
Switch to Agent Mode (Ctrl+Shift+I, then select "Agent") and ask:
"Search my vault for sales order entities and show me their dependencies."
"What notes link to the Pricing Engine?"
"Find the shortest path between Customer Master and Inventory Reservation."
"What notes are similar to my microbiome article — even if I never linked them?"
Environment Variables
Variable | Description | Default |
| Absolute path to your markdown vault root |
|
| Cosine similarity threshold for implicit edges (0.0–1.0). Set to |
|
Architecture
vault-graph-mcp/
├── pyproject.toml
└── src/vault_graph_mcp/
├── __init__.py
├── parser.py # Link extraction: [[wikilinks]] + [text](path.md)
├── graph.py # NetworkX builder (4 phases, incl. implicit)
├── implicit.py # Semantic similarity via sentence-transformers
└── server.py # MCP server (9 tools)Link Resolution
The resolver matches link targets to graph nodes in this order:
Exact match on node ID (relative path)
Case-insensitive match on node ID
Last component match (filename without extension)
Title match (from
title:frontmatter or H1 heading)Normalized match (dashes → spaces:
sales-order-header≈ "sales order header")Substring match (target appears anywhere in node ID)
This means your Microsoft Learn-style [text](path.md) links resolve correctly without any conversion to wikilinks.
Implicit Edges
Phase 4 of the graph builder uses sentence-transformers/all-MiniLM-L6-v2 to embed every note and compute pairwise cosine similarity. Pairs above VAULT_IMPLICIT_THRESHOLD become bidirectional implicit edges with a weight attribute.
Example: In a vault with no links between "Schottland Mobile Home Parks" and "Golfplatz-Vergleich", the embedder finds them at sim=0.41 because both discuss Scottish locations — a connection the author never wrote down.
Tune the threshold:
0.30— loose, finds more connections (good for exploration)0.35— default, balanced precision/recall0.50— strict, only strong thematic overlap0— disable implicit edges entirely
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceEnables AI agents to maintain a structured Markdown or Obsidian memory vault with tools for reading, writing, searching, and organizing notes.Last updatedMIT
- Alicense-qualityCmaintenanceEnables AI assistants to search, read, and traverse Markdown note vaults (Obsidian-compatible) with full-text search, backlinks, knowledge graphs, and a persistent memory system for cross-session context.Last updated62MIT
- Alicense-qualityDmaintenanceEnables AI agents to navigate, search, and rank notes in an Obsidian vault using graph relationships, providing context-aware access to knowledge without exposing raw file contents.Last updatedMIT
- Alicense-qualityCmaintenanceProvides retrieval and graph tools for agents to search, backlink, and navigate a markdown-based knowledge vault, enabling hybrid search and serendipitous discovery.Last updatedMIT
Related MCP Connectors
Token-efficient MCP memory for Markdown vaults. Tiered search, GraphRAG, AI memories.
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Search your Obsidian vault to quickly find notes by title or keyword, summarize related content, a…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ReneRichartz/vault-graph-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server