mcpField
C
code-health-suite

code-health-suite

Local
github.com/neogeweb3Developer Tools0Updated 23w ago

About code-health-suite

Code Health Suite is a Python code-quality MCP server for developers and teams. Its standard-library-only analysis covers complexity, security, dependencies, tests, types, and more.

Key features

  1. 01Analyze complexity and project health scores
  2. 02Find unused code and code clones
  3. 03Scan security issues and dependencies
  4. 04Inspect imports and module coupling
  5. 05Audit tests, types, environment, and commits
  6. 06Combine findings in a full health report

Use cases

  1. 01Review a Python project’s overall code health
  2. 02Find security and dependency risks
  3. 03Assess change impact before modifying files
  4. 04Check test quality and type annotation coverage

MCP support

Exposes 28 MCP tools across 16 analysis engines for MCP clients, including individual audits and a combined health check.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"neogeweb3-code-health-suite": {
"command": "uvx",
"args": [
"code-health-suite"
]
}
}
}
Run commanduvx code-health-suite

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypicode-health-suite0.8.1

Tools

28

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
topintegerNoReturn only top N functions by complexity. 0 = all.
pathstringYesFile or directory path to analyze.
sort_byenumNoSort metric (default: complexity).complexity | cognitive | length | nesting
thresholdintegerNoCyclomatic complexity threshold (default: 10).

Details

From the project README

Code Health Suite

16 analysis engines, 28 MCP tools for Python code quality. Zero external dependencies.

Quick Start

As MCP Server (Claude Desktop / Claude Code)
{
  "mcpServers": {
    "code-health": {
      "command": "code-health-suite"
    }
  }
}
Install from PyPI
pip install code-health-suite

Or with uvx (no install needed):

uvx code-health-suite
Install from GitHub
pip install git+https://github.com/nge/code-health-suite

Tools

#ToolEngineWhat it does
1analyze_complexitycomplexityPer-function CC, cognitive complexity, nesting, grades
2get_complexity_scorecomplexityProject health score 0-100
3find_dead_codedead-codeUnused imports, functions, variables, arguments
4security_scansecurityOWASP vulns, CWE-mapped findings
5get_security_scoresecuritySecurity health score 0-100
6analyze_importsimport-graphImport dependency graph, circular deps
7get_import_healthimport-graphImport architecture score 0-100
8find_clonesclone-detectType-1/2/3 code clone detection
9analyze_test_qualitytest-qualityTest suite metrics, anti-patterns
10full_health_checkall enginesCombined report with overall grade
11find_hotspotshotspotFiles with high git churn AND high complexity
12get_hotspot_scorehotspotProject churn-complexity score
13audit_dependenciesdep-auditOutdated/vulnerable dependency check
14analyze_change_impactchange-impactBlast radius of file changes
15get_coupling_scorechange-impactModule coupling metrics
16analyze_typestype-auditType annotation coverage
17get_type_scoretype-auditType coverage score 0-100
18audit_envenv-auditEnvironment variable audit
19audit_git_commitsgit-auditCommit quality audit (security + complexity)
20get_git_audit_scoregit-auditGit commit health score

Requirements

  • Python 3.10+
  • Zero external dependencies (stdlib only)

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.