MCP MCP server · io.github.ludo-technologies
io.github.ludo-technologies/pyscn
Python code analysis for AI agents: complexity, dead code, clones, coupling, and a health score.
- host stars
- 1,069
- 30-day movement
- +155/day
- Related entries
- 2
- Connections
- 0
pypilocalstdio
pyscn is a Python code analysis tool that measures complexity, dead code, clones, and coupling, and produces an overall health score (0-100 with an A-F grade) plus an HTML report. It ships as a CLI, as Agent Skills for AI coding agents, and as an optional pyscn-mcp server exposing the same analyses over stdio.
You want a single command that scores a Python codebase and tells AI agents (or you) what to fix first.
Use it to
- Run a whole-codebase health check with an HTML report
- Let AI agents run complexity, dead-code, clone, and coupling analyses
- Review architecture and plan refactoring with agent skills
- Generate CI-friendly analysis reports
- Configure rules via .pyscn.toml or pyproject.toml
For Python developers and AI coding agent users
- Runs
- installed — on your machine
- Transport
- stdio
- Packaged as
- pypi:pyscn-mcp
- Install
- uvx pyscn-mcp
- Needs
- 1 environment variable
- Version
- 1.32.0
- Last release
- 2026-09-15
topicspythoncode-analysisstatic-analysismcp-servercode-qualitycli