analyze_codebase
Complete project analysis with structure metrics and complexity assessment
How to use it
analyze_codebase is exposed by the Code Graph MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the analyze_codebase tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Code Graph MCP
claude mcp add --scope project code-graph-mcp code-graph-mcpOther tools in Code Graph MCP (8)
Analyze code complexity with refactoring recommendations
Generate module dependency graphs and import relationships
List all functions called by a specified function
Identify all functions that call a specified function
Locate symbol definitions with detailed metadata and documentation
Find all references to symbols throughout the codebase
NEW - Comprehensive guidance with workflows, best practices, and examples
Comprehensive project health metrics and statistics