The polycodegraph Model Context Protocol (MCP) server provides seamless integration between AI assistants (such as Claude Desktop, Cursor, and Claude Code) and Language-agnostic code graph builder, analyzer, PR risk reviewer, and MCP server for Claude Code. By connecting this server, your AI agent gains specialized capabilities to inspect, query, and automate tasks within the AI/LLM domain.
Once installed in Claude Desktop or Cursor, try asking your assistant:
Copy the config for your editor. Verify environment variables or setup notes in the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"polycodegraph": {
"command": "uvx",
"args": [
"polycodegraph"
]
}
}
}
Or install with pip: pip install polycodegraph
Are you the author of polycodegraph? Add this badge to your GitHub README for social proof and backlink verification.
[](https://protodex.io/servers/smochan-polycodegraph.html)
> Parse any repo into a queryable code graph. Trace one parameter from a frontend fetch through every layer to the SQL query. Powers Claude Code, Cursor, and Windsurf via MCP — so your AI assistant reads focused context instead of the entire codebase. *Same Claude Sonnet 4.6. Same 10 questions about two real repos (codegraph itself + FastAPI). Only the registered MCP server changes. Reproduce with codegraph bench agent, raw data in [bench/RESULTS_AGENT_LATEST.md](bench/RESULTS_AGENT_LATEST.m