1. Conduid
  2. Science
  3. Scc
MCP server · Science

Scc

Sloc, Cloc and Code: scc is a very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go

86Strong

Scored 17 hours ago · breakdown

About Scc

Scc is an MCP server published by boyter in the Science category: sloc, Cloc and Code: scc is a very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go. Conduid read 3 tools from its source: analyze, coupling and hotspots. No package is published for it, so it installs from a source checkout.

The repository has 8.9K stars and 367 forks, is licensed MIT, and its last commit was on 30 Nov 2026. The latest release is v4.1.0 (7 Sep 2026): Changelog 9f95cd6e06de134c1d5274f0595a69b18190edc6 Issue #762 (#763) eb6ac4cb889beabbfb2cb40841c1c07ff6adc25c fix(asp.net): correct the server side comment terminator (#… It follows v4.0.0 (24 Aug 2026), and the 5 most recent releases go back to v3.5.0 (17 Feb 2025). It passes all 5 static checks Conduid ran on the repository. Its topics include cli, coding-agents, container-security, developer-experience, devtools and git-worktree.

Install

From source
git clone https://github.com/boyter/scc

Tools (3)

analyzeCount lines of code, comments, blanks and estimate complexity for a project directory or file. Supports 200+ languages. Returns per-language summary with: - files: number of source files - lines: total lines - code: lines of actual code - comment: lines of comments - blank: blank lines - complexity: estimated cyclomatic complexity - cognitive: nesting-weighted cognitive complexity (only when cognitive=true; 0 otherwise) - bytes: total size in bytes Also returns COCOMO cost/schedule estimates and optionally LOCOMO (LLM cost) estimates. Use by_file with sort=complexity to find the most complex files in a project.
ParameterTypeDescription
by_filebooleanIf true, return per-file results instead of per-language summary. Useful with sort to find e.g. the most complex or largest files. Use with limit to control response size.
cognitivebooleanCompute nesting-weighted cognitive complexity in addition to cyclomatic complexity. Adds a 'cognitive' field to per-language, per-file and totals results. Off by default; when off the field is 0.
exclude_extstringComma-separated list of file extensions to exclude (e.g. 'json,xml').
include_extstringComma-separated list of file extensions to include (e.g. 'go,java,js').
limitnumberMaximum number of files to return per language when by_file is true. Defaults to 10. Set to -1 for unlimited.
locomobooleanInclude LOCOMO (LLM Output COst MOdel) cost estimation in results.
locomo_presetstringLOCOMO model preset: large (GPT-4/Opus class), medium (Sonnet class), small (Haiku class), local (local LLM). Default: medium.
no_duplicatesbooleanRemove duplicate files from stats.
no_min_genbooleanExclude minified or generated files.
pathstringDirectory or file path to analyze. Defaults to current directory.
sortstringColumn to sort results by: files, name, lines, blank, code, comment, complexity, bytes. Default: files.
couplingReturn change-coupling from a git repository's history — files that historically change together. Has two modes, selected by whether the 'file' argument is set. WITH 'file' — the target file's "blast radius": the other files that change together with it. Use this before editing a file to discover what else you will likely need to read or change. For the target, returns each coupled file with: - file: path relative to the repo root - shared: number of commits that changed BOTH the target and this file - partnerCommits: this file's own commit count in the window - couple: P(this file changes | you changed the target), 0–100 — the blast-radius probability - reverse: P(target changes | this file changed), 0–100 — a large gap from couple marks a hub-style (asymmetric) link rather than a true peer coupling Partners are ranked by degree (highest first; base-rate corrected). Also returns the target's own commit count (targetCommits) and the history window walked. WITHOUT 'file' — the repo-wide all-pairs overview: every file pair that changes together, strongest first. For each pair, returns: - fileA, fileB: the two coupled paths, relative to the repo root - shared: number of commits that changed BOTH files - commitsA, commitsB: each file's own commit count in the window - degree: symmetric coupling ratio shared/(commitsA+commitsB−shared), 0–100 Pairs are ranked strongest first (most shared commits). Also returns the history window walked. Requires path to be inside a git repository.
ParameterTypeDescription
depthnumberMaximum number of recent commits to walk. Defaults to 1000. Set to 0 for unlimited (slower on large repos).
filestringOptional target file path (relative to the repo, as it appears at HEAD). Set it for the per-file blast-radius view; omit it for the repo-wide all-pairs report.
limitnumberMaximum rows to return, strongest first — coupled files in per-file mode, file pairs in all-pairs mode. Defaults to 50. Set to -1 for unlimited.
pathstringDirectory inside the git repository to analyze. Defaults to current directory.
hotspotsRank the files in a git repository by "hotspot" score: complexity × change-frequency over recent history. Hotspots are the files most likely to need refactoring or the most attention during review — high complexity that also changes often. Walks the repo's git log (most recent commits first) and returns, per surviving file: - file: path relative to the repo root - language: detected language - complexity: estimated cyclomatic complexity at HEAD - commits: number of commits touching the file within the window - linesChanged: total added + removed lines across the window - authors: distinct authors (folded via .mailmap) - codeChurn / commentChurn: added lines classified as code vs comment - score: 0–100, normalised complexity × commits (higher = hotter) Also returns the history window walked (depth, commit count, date range). Requires path to be inside a git repository.
ParameterTypeDescription
depthnumberMaximum number of recent commits to walk. Defaults to 1000. Set to 0 for unlimited (slower on large repos).
limitnumberMaximum number of files to return, highest-scoring first. Defaults to 50. Set to -1 for unlimited.
pathstringDirectory inside the git repository to analyze. Defaults to current directory.

Security checks

Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 13K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by go.sum.
  • ✓No dynamic code executionScanned 67 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

What the source scan found

Transport
stdiomcp.go:149
Starts other programs
4 callscmd/badges/example.py:121, cmd/badges/main.go:492, cmd/badges/main.go:521
Outbound network calls
No outbound network calls
Writes or deletes files
12 callscmd/badges/example.py:132, cmd/badges/main.go:483, cmd/badges/main.go:540
Lockfile
go.sum

Pattern matches on the source text of 67 files: places to read, not proof of what the code does at run time.

Releases

v4.1.0v4.1.0 · 7 Sep 2026Changelog 9f95cd6e06de134c1d5274f0595a69b18190edc6 Issue #762 (#763) eb6ac4cb889beabbfb2cb40841c1c07ff6adc25c fix(asp.net): correct the server side comment terminator (#772) 300b452169dc4e2199f7d651910e7d3449f0b02e fix(php): correct the…
v4.0.0v4.0.0 · 24 Aug 2026Changelog 8482b41256be1c10ed6f279ca5b11f6059714e8a Add --count-unsupported to count unrecognised files as Unknown (#754) 7b8ea19a3f18632fc58f5a2561185f3e562ec637 Add AL (Microsoft Dynamics 365 Business Central) (#739)…
v3.7.0v3.7.0 · 4 Mar 2026Changelog 41ceabe Add Apex (Salesforce) support (#671) b35b9d4 Add in API functionality where content can be marked as its type allowing (#676) b369a79 Add public accessor for internal database 34680d4 Bump golang.org/x/crypto from 0.43.0…
v3.6.0v3.6.0 · 31 Oct 2025Changelog c919829 Accelerating scc startup speed with code generation (#594) 2ebe964 Add OpenTofu (#607) 54b5f82 Add citation section to README 0bb368b Add in support for C3 lang (#602) 3213ecd Added support for JCL files (#630) 3977701…
v3.5.0v3.5.0 · 17 Feb 2025Changelog 1f1ad4e (docs) fix GitLab CI link to metrics reports (#586) 195f644 ABNF (#526) c81eaf2 Add C++ module file extensions (#578) 7bfcb98 Add README.md details for badges 14e3885 Add TOC to readme 6d92d43 Add Treetop Support -…

README

The repository's README runs to about 13K words, fetched 6 days ago. The original in the repository is authoritative.

Read full README
Questions

About Scc

How do I install Scc?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Scc safe to use with an AI agent?

Its trust score is 86 out of 100 (strong). It passes all 5 static checks Conduid ran on the repository. Conduid's scan of 67 source files found that it serves MCP over stdio, starts other programs (4 calls) and writes or deletes files (12 calls). Its dependencies are pinned by go.sum. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Scc still maintained?

Yes — the latest release is v4.1.0 (7 Sep 2026), and the last commit was yesterday. The repository has 8.9K stars and 26 open issues.

What tools does Scc provide?

Conduid read 3 tools from the source: analyze, coupling and hotspots. 3 of them publish their parameters, listed under Tools above.

What license is Scc released under?

The repository declares the MIT license. That applies to the latest release, v4.1.0, as well.