This server builds a bidirectional TypeScript dependency graph using ts-morph to answer "which tests should I run?" when files change. It exposes tools like get_affected_tests to trace import chains, differentiate_type_impact to skip tests when only interfaces changed, and explain_impact to show why a test depends on modified code. You also get analyze_api_surface_mutation to detect breaking changes, detect_architectural_cycles for circular imports, and identify_unreachable_modules for dead code. It generates runner-specific commands for vitest, jest, or playwright with only the necessary test files. Reach for this when you want surgical test execution instead of running the full suite on every commit.
claude mcp add --transport stdio vola-trebla-ast-impact-mapper-mcp uvx ast-impact-mapper-mcp