boyter/scc
Sloc, Cloc and Code: scc is a very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 99
- Release rhythm 75
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 156.0
- age_days: 3107
- days_rel: 10
- days_push: 9
- n_releases_24m: 5
Adoption not part of the score
8663 stars · 340 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
scc is a very fast, accurate lines-of-code counter written in pure Go that also computes code complexity estimates, COCOMO/LOCOMO effort estimates, and unique-lines (DRYness) metrics across many programming languages. It supports multiple output formats, HTML reports, and an MCP server mode for AI agents.
Use cases
- count lines of code in a repository
- measure code complexity across a codebase
- estimate software project cost with COCOMO
- compare code statistics between languages
- generate code statistics reports in CI
- find duplicate or non-DRY code via unique line counts
- feed codebase metrics to AI agents via MCP
When to choose
- you need a fast, accurate alternative to cloc, sloccount, or tokei
- you want code counting plus complexity and effort estimates in one tool
- you need cross-platform support without runtime dependencies
- you want machine-readable output (JSON, CSV) for pipelines
When to avoid
- you need deep static analysis or linting rather than line counting
- you need historical/team dashboards, which are only planned for a paid enterprise version
- you require per-function cyclomatic complexity from a full parser
Facets
cli-tool · maturity active
cli developer-tools analytics benchmarking developer-tools analytics programming-languages windows cli go cross-platform sloc code-counter cocomo complexity-analysis code-metrics cloc-alternative tokei-alternative mcp-server command-line linux macos
1 source
- readme: https://github.com/boyter/scc · fetched 2026-08-28 · c117feeacbd3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| boyter/scc | main | 91 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem