Scc
БесплатноНе проверенExposes boyter/scc code counting and complexity analysis to LLM agents via read-only tools like counting lines, finding top files, and cost estimation.
Описание
Exposes boyter/scc code counting and complexity analysis to LLM agents via read-only tools like counting lines, finding top files, and cost estimation.
README
An MCP server that exposes boyter/scc — a fast code-counting and complexity tool — to LLM agents.
It wraps scc in a small set of read-only tools so an agent can count lines of
code, find the largest or most complex files, break stats down by language, and
estimate project cost without learning the scc CLI.
Requirements
- uv
- scc installed and on your
PATH(it is an external binary, not a Python dependency, and is not installed for you). Verify withscc --version.
Install
uv sync
Run
The server speaks MCP over stdio:
uv run scc-mcp
Tools
All tools are read-only. They default to scanning the current working directory
and return human-readable markdown, or structured JSON when
response_format: "json" is passed. Most accept include/exclude extension and
directory filters.
| Tool | Description |
|---|---|
scc_count_lines |
CLOC (code/comment/blank/lines) per language, plus totals. |
scc_top_files |
Top N files sorted by a metric (code, complexity, lines, ...). |
scc_by_extension |
CLOC broken down per language/extension. |
scc_complexity_hotspots |
Files ranked by cyclomatic complexity (refactor targets). |
scc_cost_estimate |
COCOMO cost / schedule / people estimate. |
scc_file_metrics |
Detailed per-file metrics for a file or filtered subset. |
scc_list_languages |
Languages scc recognizes and their file extensions. |
Use with opencode
This repo registers the server as a local MCP in opencode.json:
{
"mcp": {
"scc": {
"type": "local",
"command": ["uv", "run", "scc-mcp"],
"enabled": true
}
}
}
For other MCP clients, point them at the same uv run scc-mcp command (stdio
transport).
Development
uv run pytest # run the test suite
make build # build sdist + wheel into dist/
Tests that shell out to scc are skipped automatically when it is not on
PATH. See AGENTS.md for module layout and conventions.
Установка Scc
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/NicholasSynovic/scc-mcpFAQ
Scc MCP бесплатный?
Да, Scc MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Scc?
Нет, Scc работает без API-ключей и переменных окружения.
Scc — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Scc в Claude Desktop, Claude Code или Cursor?
Открой Scc на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Scc with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
