codeint
Open-source CLI that measures erosion, duplication, verbosity and import cycles in your code and fails CI when a pull request makes them worse.
- AI tool
- Free
Overview
codeint is an open-source (MIT) command-line tool, written in Rust, that measures how a codebase's structure changes as coding agents and people add to it. It reports erosion, duplication, verbosity and import cycles as separate numbers, never one blended score, plus checks for unused or unlisted dependencies. Budgets cap each number, and codeint diff compares your branch with its merge base so CI fails on a regression. It reads TypeScript and JavaScript, Rust, PHP, Dart and Python, and can register a local MCP server for Claude Code, Cursor and Codex. It is still before version 1.0, so flags and report formats may change. You get separate code-health numbers for each pull request and a CI gate when they get worse.
Key features
- Erosion, duplication, verbosity and import-cycle metrics
- Dependency hygiene checks
- Budgets and diff against the merge base
- Fails CI on regressions
- TypeScript, JavaScript, Rust, PHP, Dart and Python
- Local MCP server for Claude Code, Cursor and Codex
Use cases
Show all 10Show fewer
Alternatives
Last updated 2026-11-23