Run the server
The server ships with the CLI and reads the graph.json that /graphify . produced (default graphify-out/graph.json). It speaks stdio by default (the right mode for a single assistant) or Streamable HTTP when several assistants or teammates should share one graph. The HTTP transport can require a key via --api-key (or the GRAPHIFY_API_KEY env var).
# stdio (default), one assistant, one graph:
$ python -m graphify.serve graphify-out/graph.json
# shared HTTP, one server, many clients:
$ python -m graphify.serve graphify-out/graph.json --transport http --port 8080
# also available as a console script:
$ graphify-mcp graphify-out/graph.json
Connect a client
Most assistants pick this up automatically: graphify install wires the server into the assistants it detects. To register it by hand in Claude Code, add this to .mcp.json in your project root; other MCP clients take the same command in their own config format.
{
"mcpServers": {
"graphify": {
"command": "python",
"args": ["-m", "graphify.serve", "graphify-out/graph.json"]
}
}
}
Every tool below also accepts an optional project_path parameter (an absolute path to another project containing graphify-out/graph.json), so one running server can answer for a whole workspace of repos. Omit it and the server answers against the graph it was started with.
The core four: ask a question, inspect a node, walk its neighbors, or trace the path between two concepts. Results come back as text context with file:line citations, every edge tagged EXTRACTED, INFERRED, or AMBIGUOUS.
For orientation: the graph's communities, its most-connected nodes, and summary statistics: the "show me the shape of this codebase" tools an agent calls first in an unfamiliar repo.
The same graph-impact analysis behind graphify prs, exposed to agents: which open PRs touch what, and in which order to review them.
Resources
Alongside the tools, the server publishes MCP resources, read-only documents a client can pull into context: the full GRAPH_REPORT.md, graph stats, god nodes, surprising cross-community connections, the confidence audit, and suggested questions for the codebase.
Not the docs MCP server
This page covers the graph MCP server, the one the CLI runs locally over your own repo. Graphify also hosts a separate docs MCP server with a single tool, search_graphify_docs, for searching this documentation from your editor. Different server, different job.