FastMCP server for surgical queries against a vault knowledge graph (NetworkX no

io.github.adelaidasofiaPublished by GitHub account adelaidasofiav0.1.0Updated Oct 25, 2026

FastMCP server for surgical queries against a vault knowledge graph (NetworkX node-link JSON).…

The publisher's own server: Fastio

Overview

AI-generated overview

A local MCP server that loads a vault knowledge graph once and answers targeted questions about its nodes, neighbors, paths and communities.

What you can do
Search nodes by fuzzy name match, ranked by exact, prefix or substring match. Explore connections: neighbors within N hops, shortest paths between concepts, and subgraphs around a list of concepts. Inspect a single node's metadata and top neighbors, or list all members of its community cluster. Rank the highest-degree nodes in the graph. Query either a primary or a secondary graph scope.
When to use it
Use it when you already have a graph.json built from an Obsidian or similar vault and want the assistant to answer specific questions about concepts and their connections without reading a large graph report into context. Best paired with a graph-building tool that produces NetworkX node-link JSON.
Requirements
Local Python 3.10+ process with FastMCP and NetworkX installed, run over stdio. Needs a graph file in NetworkX node-link JSON, set via GRAPH_JSON_PATH (required by the manifest; the README treats it as optional with a default path). An optional second graph can be set via SECONDARY_GRAPH_JSON_PATH. No accounts or API keys.
Before you install
Sends a one-time anonymous install signal to an external site on first load per machine; opt out with MYCELIUM_NO_PING=1. It reads a local graph file whose path you configure, so point it only at data you are comfortable exposing to the assistant. Read-only queries; it does not build or modify the graph.

Installation

In SourceWeft

  1. Open FastMCP server for surgical queries against a vault knowledge graph (NetworkX no in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

graph-query-mcp

[License] [GitHub stars] [Last commit] [Open issues] [PyPI version] [PyPI downloads] [Built by Mycelium AI]

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).

Why use this

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.

Tools

ToolWhat 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.

Configuration

Two env vars, both optional:

Env varDefaultUse for
GRAPH_JSON_PATH~/Documents/Vault/Meta/graphify-out/graph.jsonPrimary graph (the personal scope)
SECONDARY_GRAPH_JSON_PATH~/Documents/Vault/Team/Meta/graphify-out/graph.jsonSecondary 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.

Install

Open Claude Code, paste:

/plugin marketplace add adelaidasofia/graph-query-mcp/plugin install graph-query-mcp@graph-query-mcp
Legacy install
bash
git clone https://github.com/adelaidasofia/graph-query-mcp.git ~/.claude/graph-query-mcpcd ~/.claude/graph-query-mcppip3 install --break-system-packages -r requirements.txt

Register in your project .mcp.json:

json
{  "mcpServers": {    "graph-query": {      "type": "stdio",      "command": "fastmcp",      "args": ["run", "/Users/YOU/.claude/graph-query-mcp/server.py"],      "env": {        "GRAPH_JSON_PATH": "/path/to/your/vault/Meta/graphify-out/graph.json"      }    }  }}

Restart Claude Code, then claude mcp list should show graph-query connected.

Generating the graph

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).

Verification

bash
python3 tests/integration/test_smoke.py# expected: PASSED — graph-query-mcp smoke (4 steps green)

Architecture

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.

Related MCPs

Same author, same architecture pattern (FastMCP, draft+confirm on writes where applicable, vault auto-export, MIT):

Telemetry

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:

  • Plugin name (e.g. slack-mcp)
  • Plugin version (e.g. 0.1.0)

What is NOT sent:

  • No user identifiers, names, emails, tokens, or API keys
  • No file paths, message content, or anything from your work
  • No IP address is stored after dedup processing

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.

License

MIT. See LICENSE.

Source: README.md at commit 9d1c461

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Fast integrations