← Back to Products
pyscn
OSS
Python Code Quality Analyzer
An open-source static analysis tool that quantitatively visualizes Python codebase quality. Built with Go + tree-sitter for analysis speeds exceeding 100,000 lines/sec. Detects cyclomatic complexity, dead code, code clones, and module coupling to help prioritize refactoring efforts.
Key Features
- Dead code detection - Identify unreachable code and unused functions/variables
- Clone detection - Detect Type 1-4 clones with LSH-accelerated algorithms
- Coupling analysis - Visualize module dependencies and detect circular imports
- Cyclomatic complexity analysis - Measure per-function complexity with threshold warnings
- MCP integration - Use directly from AI assistants like Claude Code and Cursor
Tech Stack
GoPython