static analysis · precision instrument
Sweep your codebase
for what's rotting quietly.
CodeSweeper runs four battle-tested analyzers — knip, jscpd, ast-grep, and fallow — over any JS/TS project and folds their output into one clear report. Self-hosted. Browser or MCP agent.
knip · jscpd · ast-grep · fallow
four lenses, one pass
Every kind of rot, in a single sweep
Dead code
knipUnused files, exports, and dependencies — the weight nobody remembers adding.
Duplication
jscpdCopy-paste blocks and duplicated lines that drift out of sync over time.
Anti-patterns
ast-grepStructural rules over the AST — eval, inner HTML, loose equality, and more.
Complexity
fallowCyclomatic hotspots, maintainability index, and circular dependencies.
how it works
Point, sweep, report
Point it at code
Upload a ZIP, paste a Git URL, or hand an MCP agent a local directory.
Watch the sweep
Four analyzers run in sequence with live progress — prepare, scan, normalize.
Read the report
One normalized report. Browse it in the dashboard or export a clean PDF.
two ways to drive it
A dashboard for you, an API for your agent
Web app
Interactive dashboard
- Upload a ZIP or paste a Git URL
- Live progress over server-sent events
- Tabbed report + one-click PDF export
MCP server
Drive it from an agent
- stdio MCP server — Claude Code, Cursor, …
- scan_directory · scan_repo · get_report
- Server-free PDF straight to a file path
Find the dead weight.
Self-hosted, single-tenant, no data leaves your machine. Run one sweep and see what your codebase has been hiding.
Start a scan