Uses ts-morph to expose TypeScript AST analysis through three tools: find_reference locates all usages of a class method across your codebase, find_dependency shows which files import a given library, and component_tree generates JSON representations of React component hierarchies with optional prop and attribute extraction. You point it at a tsconfig.json and query your project structure without manual grep work. Helpful when refactoring large TypeScript codebases, tracking dependency usage before updates, or mapping out React component relationships. The component_tree tool can capture custom data attributes and onClick handlers, making it useful for documentation or migration planning.
claude mcp add --transport stdio jscoobyced-jsc-typescript-ast-mcp uvx jsc-typescript-ast-mcp