FastMCP server for surgical queries against a vault knowledge graph (NetworkX node-link JSON).β¦
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Surgical queries against an Obsidian / vault knowledge graph. Loads a graph.json (NetworkX node-link format) once at startup and answers targeted questions without making Claude read a 50K-line graph report.
Designed to pair with graphify (the graph-building skill in ai-brain-starter), but the server accepts any graph in NetworkX node-link JSON. Supports up to two scopes (primary + secondary, e.g. personal + team).
If you've already run graphify on a vault, you've got a graph.json and a GRAPH_REPORT.md. Reading the full report into Claude burns thousands of tokens for every question. This MCP loads the graph once at startup, answers in <50ms, and never spills the whole graph into context.
| Tool | What it does |
|---|---|
search_nodes(query, scope, limit) | Fuzzy match against node names. Returns node IDs ranked by exact / starts-with / contains. |
get_neighbors(node_id, scope, max_hops, limit) | Connected nodes within N hops, sorted by degree. |
find_path(source, target, scope) | Shortest path between two concepts. Auto-fuzzy-matches both ends. |
get_top_nodes(scope, n) | Highest-degree nodes (the "god nodes"). |
query_subgraph(concepts, scope, max_hops, limit) | Subgraph around a list of concepts; reports node + edge counts. |
get_node_info(node_id, scope) | Full metadata + top neighbors for one node. |
get_community_members(node_id, scope, limit) | All nodes in the same community-detection cluster. |
Scope defaults to personal; pass scope="onde" (or whatever secondary scope name you've configured) for the second graph.
Two env vars, both optional:
| Env var | Default | Use for |
|---|---|---|
GRAPH_JSON_PATH | ~/Documents/Vault/Meta/graphify-out/graph.json | Primary graph (the personal scope) |
SECONDARY_GRAPH_JSON_PATH | ~/Documents/Vault/Team/Meta/graphify-out/graph.json | Secondary graph (the onde scope, historical name) |
ONDE_GRAPH_JSON_PATH is also accepted as a backward-compat alias for SECONDARY_GRAPH_JSON_PATH.
If a path doesn't exist at startup, the server logs a warning and the tools return a friendly error when that scope is queried. The server still starts β a missing secondary graph never blocks the primary.
Open Claude Code, paste:
Register in your project .mcp.json:
Restart Claude Code, then claude mcp list should show graph-query connected.
This MCP doesn't build the graph; it queries one. Use graphify (a skill in ai-brain-starter) to produce a graph.json from your vault, or any other NetworkX-compatible builder. The expected format is the output of networkx.node_link_data(G).
FastMCP, stdio transport, Python 3.10+. Graphs are loaded once at startup and cached in memory. No daemons, no listeners, no external services. NetworkX in-memory for query primitives.
Same author, same architecture pattern (FastMCP, draft+confirm on writes where applicable, vault auto-export, MIT):
This plugin sends a single anonymous install signal to myceliumai.co the first time it loads in a Claude Code session on a given machine.
What is sent:
slack-mcp)0.1.0)What is NOT sent:
Why: Helps the maintainer know which plugins people actually install, so attention goes to the ones that get used.
Opt out: Set the environment variable MYCELIUM_NO_PING=1 before launching Claude Code. The hook will skip the network call entirely. Already-pinged installs leave a sentinel at ~/.mycelium/onboarded-<plugin> β delete it if you want to reset state.
MIT. See LICENSE.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/fastmcp-server-for-surgical-queries-against-a-vault-knowledge-graph-networkx-no)<a href="https://allmcps.com/mcp/fastmcp-server-for-surgical-queries-against-a-vault-knowledge-graph-networkx-no"><img src="https://allmcps.com/api/badge/fastmcp-server-for-surgical-queries-against-a-vault-knowledge-graph-networkx-no?style=directory" alt="FastMCP server for surgical queries against a vault knowledge graph (NetworkX no on AllMCPs" /></a>