Code Tracer

•

Traces call graphs, maps HTTP routes, and analyzes TypeScript/Next.js codebases.

Code Tracer provides a comprehensive suite of tools for deep analysis of TypeScript and Next.js codebases within Claude Code sessions. It meticulously traces call graphs from specific files, HTTP endpoints, or React components, while also precisely mapping Next.js App Router and Pages Router API routes. Utilizing `oxc-parser` for initial indexing and building an in-memory call graph, it supports complex scenarios like monorepos, dynamic route matching, and instance method resolution. The server also offers features to identify callers, callees, and unmatched HTTP calls, all while incrementally re-indexing file changes and persisting data with SQLite for efficient operation, making it an indispensable tool for understanding and navigating complex projects.

Características Principales

01SQLite persistence for caching graph data
020 GitHub stars
03Automated HTTP route mapping for Next.js App Router and Pages Router
04Cross-file edge resolution and incremental re-indexing for performance
05Comprehensive call graph tracing from files, HTTP endpoints, or React components
06Support for monorepos, dynamic route matching, and instance method tracing

Casos de Uso

01Auditing and verifying API endpoint implementations and their handlers
02Debugging complex logic flows and dependencies in Next.js applications
03Understanding codebase architecture for refactoring or onboarding