#3333rd of 44 in Code review and testing
pyscn
Static code quality analyzer for Python with a 0-100 score and HTML report
- Stars
- 1.1k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Go
969 on 25 Apr 20261,110 on 14 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
pyscn is a Go CLI that parses Python with tree-sitter and reports dead code, duplicate code (Type 1-4 clones), cyclomatic and cognitive complexity, circular imports, layer violations and class coupling and cohesion. It outputs a 0-100 score with an A-F grade, an HTML or JSON report, and a `pyscn check` command for CI gates. It also ships Agent Skills and a `pyscn-mcp` server so coding agents can run the analyses.
Who it is for: Python developers keeping AI-generated code maintainable, locally or in CI
Strengths
- Covers dead code, clones, complexity, architecture and class design in one run
- `pyscn check` gives a pass/fail CI gate with configurable thresholds
- Ships Agent Skills and an MCP server for Claude Code, Cursor and others
- Runs without install via uvx or pipx; config in .pyscn.toml or pyproject.toml
Weaknesses
- Static structural analysis only; does not review logic or generate tests
- PyPI wheels dropped for Intel Macs since v1.5.1; needs brew or go install
- Analyzes Python only; other languages need the separate polyscan tool
- Weekly GitHub audit app is a separate hosted service, free only for public repos
What it needs
- no GPU
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Also in Code review and testing
See all 44| Rank | Project | Score |
|---|---|---|
| 1 | playwrightCross-browser automation and end-to-end test framework for Chromium, Firefox and WebKit | 94 out of 100 |
| 2 | nxMonorepo build system with task caching, affected-only runs and CI integration | 93 out of 100 |
| 3 | open-code-reviewGo CLI that reviews Git diffs with an LLM agent and line-level comments | 92 out of 100 |
| #4 | bendDependent-typed language where AI-written code must prove rules in LAWS.bend | 88 out of 100 |
| #5 | maestroYAML-based UI and end-to-end test framework for Android, iOS and web | 88 out of 100 |