Analysis tool for typescript / javascript to fix code quality issues.
New: fallow init --agent and fallow hooks install
npx fallow --summary
Fallow can be combined with AI Agents very well. Provide the following overview of commands and let the agent run it:
# Full dead code analysis with JSON output
fallow dead-code --format json
# Only check changed files (great for agent PR workflows)
fallow dead-code --changed-since main --format json
# Find code duplication
fallow dupes --format json
# Preview what auto-fix would remove
fallow fix --dry-run --format json
# Apply fixes (agents should use --yes to skip confirmation)
fallow fix --yes --format json
# Detect feature flags and environment gates
fallow flags --format json
# List project info (plugins, entry points, file count)
fallow list --format json
Alternatively, use the MCP server. It can be used when installing fallow globally, e. g. with cargo: cargo install fallow. See: https://docs.fallow.tools/installation#cargo
Recommend for the MCP is npm install -g fallow
MCP
Run:
- opencode mcp add
- claude mcp add
just use "fallow-mcp" as the command