graphdex
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., "@graphdexshow me the callers of the render function"
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.
graphdex
The code graph that's never stale.
A Python library + CLI + MCP server that maintains an always-correct structural code graph (functions, classes, imports, calls, tests) and serves token-budgeted, confidence-labeled context to AI coding agents.
Status: v0.1 core engine in development — Python parsing, two-pass
import-aware resolution, subtoken search, and CLI are implemented; freshness
(self-healing reads) and the MCP server land next. Design spec:
docs/superpowers/specs/2026-07-17-graphdex-design.md.
Why graphdex
Code-graph tools for AI agents share four recurring weaknesses:
Problem elsewhere | graphdex answer |
Stale graphs served as fresh when watchers die | Self-healing reads — every query dirty-checks the working tree and repairs the graph inline; every response carries a |
Cross-file calls matched by bare name (false blast radii) | Import-aware two-pass resolution with per-edge confidence tiers ( |
30 MCP tools taxing every agent request | 8 consolidated tools that return source snippets inline within a |
Search that only sees exact identifier names | Subtoken FTS5 indexing — |
Related MCP server: OpenCodeHub MCP Server
Planned surfaces (v1)
Library:
from graphdex import Graphdex; gd = Graphdex("."); gd.callers_of("login")CLI:
graphdex build | status | search | impact | serveMCP:
graphdex serve(stdio) — works with Claude Code, Cursor, Codex, and any MCP client
v1 languages: Python, TypeScript, JavaScript (+JSX/TSX), Go, Rust, Java.
Credits
Clean-room implementation inspired by the excellent code-review-graph (MIT) — our analysis of its trade-offs shaped this design. No code is copied from it.
License
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted code graph over MCP: exact callers, dependencies, and cross-repo blast radius for AI agents.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
Multiple MCP tools, persistent graph memory, token-saving data pointers, and more.
Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides AI assistants with a structured, token-efficient map of a codebase's symbols, dependencies, and relationships via MCP tools like overview, query, and impact analysis.9MIT
- AlicenseNot gradedqualityCmaintenanceProvides code intelligence for AI coding agents by indexing repositories into a hybrid knowledge graph, enabling agents to query dependencies, impact, and context through 28 MCP tools.4Apache 2.0
- AlicenseNot gradedqualityDmaintenanceServes structured code context via MCP, enabling AI agents to understand codebases with dependency graphs and significantly reduce token usage.14 npm1MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI coding agents to query a codebase as a knowledge graph, providing token-budgeted context, search, and impact analysis via MCP tools.MIT