AST Cyclomatic Complexity Calculator MCP Connector for Claude
A+Measure code maintainability by calculating exact cyclomatic complexity using regex-based decision point counting.
The AST Cyclomatic Complexity Calculator provides a deterministic way to audit code maintainability. By scanning source code for specific control flow keywords and logical operators, it calculates the number of independent paths through each function. Use analyze_complexity to get a full breakdown of functions, identify_refactor_candidates to find high-risk functions exceeding the complexity threshold, or compare_complexity_impact to detect regressions between code versions.
Related Connectors
CI/CD Pipeline Duration Analyzer MCP
Analyze CI/CD pipeline run data to identify bottlenecks, critical paths, and parallelization opportunities.
Agent Workflow Bottleneck Analyzer MCP
Identifies performance bottlenecks and error risks in agentic pipelines.
API Contract Diff Checker MCP
Detect breaking and additive changes in OpenAPI and GraphQL schemas.
test-regression-runner MCP
Automated verification system that executes targeted test suites and detects regressions or flakiness.