Codebase Analyser

•
3
•

Analyzes TypeScript codebases to detect code health issues, fetch system incidents, and generate actionable remediation plans.

This production-grade tool provides comprehensive analysis for TypeScript codebases, identifying potential code health issues such as large files, missing types, and circular dependencies using AST-level analysis via `ts-morph`. It can also simulate fetching structured system incident data for testing and generate detailed, actionable remediation plans, including root cause analysis from stack traces, step-by-step solutions, code suggestions, and risk assessments. Designed specifically for LLM consumption, all tools return structured success/error envelopes, supporting both local development via STDIO and robust cloud deployment via SSE using Express and Zod validation.

Key Features

01Fetches structured system incident data, mockable for testing and optimized for LLM consumption.
02Supports dual transport mechanisms: STDIO for local development and Server-Sent Events (SSE) for cloud deployment.
03Scans TypeScript repositories for code health issues like large files, missing types, and circular dependencies.
04Ensures reliability with Zod validation for all tool requests and structured error envelopes for LLM consumption.
051 GitHub stars
06Generates actionable remediation plans, complete with root cause analysis, step-by-step fixes, and code suggestions.

Use Cases

01Automated code quality analysis and health monitoring for TypeScript projects.
02Integrating AI agents for proactive incident diagnosis and automated remediation planning.
03Developing and testing LLM-powered developer tools that require deep code insights and system incident awareness.