TypeScript analysis
Surface compiler diagnostics from your project configuration without emitting or changing files.
Explore TypeScriptLOCAL ANALYSIS · MCP READY
Local static analysis for TypeScript and JavaScript, with MCP integration for modern AI development tools.
npm install -g codeguard-local@betav0.6.0-beta.0$ codeguard check .
Scanning 42 source files…
ERROR [TS2322] src/api.ts:18:5
Type 'string' is not assignable to type 'number'.
WARN [SEC001] src/legacy.ts:9:1
Potential dynamic code execution via eval().
WARN [ARCH001] src/store.ts:1:1
Circular dependency: src/store.ts → src/ui.ts
Analysis complete3 findings · 42 files
Illustrative output — this demo does not run analysis.
BUILT FOR YOUR CODEBASE
Focused analysis that stays on your machine and fits into the tools you already use.
Surface compiler diagnostics from your project configuration without emitting or changing files.
Explore TypeScriptCheck JavaScript and JSX syntax, with additional semantic diagnostics when checkJs is enabled.
Explore JavaScriptDeterministic rules flag risky code patterns, with findings framed for review—not as speculation.
Explore securityUnderstand local import relationships, identify circular dependencies, and catch resolvable imports.
Explore architectureMODEL CONTEXT PROTOCOL
CodeGuard exposes structured analysis through MCP. Compatible AI clients can inspect a project and retrieve diagnostics—CodeGuard itself does not contain an AI model.
analyze_projectRun whole-project analysisanalyze_fileInspect one source fileget_project_infoReview project contextget_diagnosticsFilter and page findingsget_security_issuesReview security findingsget_architecture_issuesInspect module structureSTART WITH YOUR PROJECT