Pyscn
MCP tools for analyzing Python complexity, dead code, clones, dependencies, architecture, and code health.
Install Pyscn
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"pyscn": {
"command": "uvx",
"args": [
"pyscn-mcp"
]
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.
Overview
Use cases
- Analyze a Python package before a refactor
- Find duplicate functions for consolidation
- Review circular imports and layer violations
- Identify complex code that needs simplification
- Run agent-assisted quality checks in CI
Key features
- Complexity analysis with cyclomatic and cognitive metrics
- Dead-code and Type 1–4 clone detection
- Dependency, architecture, and module-community analysis
- Class coupling and cohesion metrics
- 0–100 health score with A–F grade
- MCP integration through the pyscn-mcp command
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 2d ago via OSV.dev · pyscn-mcp (PyPI)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Pyscn works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Pyscn
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/pyscn)<a href="https://allmcps.com/mcp/pyscn"><img src="https://allmcps.com/api/badge/pyscn?style=directory" alt="Pyscn on AllMCPs" /></a>