Python Code Quality Analyzer

•
966
•

Analyzes Python codebases to identify technical debt, complexity, and structural issues using MCP tools.

Python Code Quality Analyzer (pyscn-mcp) is a specialized skill that integrates advanced static analysis tools into Claude to help developers maintain high-quality codebases. It provides comprehensive insights into cyclomatic complexity, code duplication, unreachable (dead) code, and class coupling, while also offering an aggregate health score graded from A to F. This skill is essential for performing deep code reviews, planning refactoring sessions, and ensuring that Python projects remain maintainable and efficient as they scale.

Características Principales

01Calculates aggregate health scores with letter grades for instant visibility into project status.
02Detects duplicate code blocks with adjustable similarity thresholds to reduce redundancy.
03966 GitHub stars
04Locates unreachable or dead code to help streamline and clean up the codebase.
05Analyzes class coupling (CBO) and dependencies to identify architectural bottlenecks.
06Identifies high-complexity functions using cyclomatic complexity metrics to target refactoring.

Casos de Uso

01Performing a comprehensive technical debt audit on legacy Python projects.
02Assessing function complexity to guide refactoring efforts during a code review.
03Eliminating redundant logic and unreachable branches to improve project maintainability.