1
Add it to Claude Code
claude mcp add codegraph -- codegraph-mcpAvailable Tools (10)
Once configured, CodeGraph gives your AI agent access to:
get_ai_contextPrimary context tool for intent-aware code analysis including source, related symbols, and architecture.get_edit_contextRetrieves source, callers, tests, memories, and git history for editing.get_curated_contextProvides cross-codebase context for natural language queries.analyze_impactPredicts the blast radius of code modifications, deletions, or renames.analyze_complexityCalculates cyclomatic complexity with a breakdown of branches, loops, and nesting.find_unused_codeDetects dead code with confidence scoring.symbol_searchFinds symbols by name using hybrid BM25 and semantic search.get_callersIdentifies functions that call a specific symbol.get_calleesIdentifies functions called by a specific symbol.memory_storeStores persistent AI context across sessions.Try It Out
After setup, try these prompts with your AI agent:
→Analyze the impact of renaming the 'AuthService' class in my project.
→How does the authentication flow work across the codebase?
→Find all unused functions in the current directory.
→What is the cyclomatic complexity of the main controller module?
→Find all tests that exercise the 'processPayment' function.
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Node.js 18+ with npm/npx installed
Keep this setup from going cold
Save the docs, env vars, and workflow around CodeGraph in Conare so Claude Code, Codex, and Cursor remember it next time.