#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
Stars, last 29 weeks+141
25 Apr 2026: 969 stars2 May 2026: 976 stars9 May 2026: 978 stars16 May 2026: 986 stars23 May 2026: 995 stars30 May 2026: 1,000 stars6 Jun 2026: 1,003 stars13 Jun 2026: 1,006 stars20 Jun 2026: 1,008 stars27 Jun 2026: 1,012 stars4 Jul 2026: 1,014 stars11 Jul 2026: 1,016 stars18 Jul 2026: 1,017 stars25 Jul 2026: 1,019 stars1 Aug 2026: 1,021 stars8 Aug 2026: 1,023 stars15 Aug 2026: 1,025 stars22 Aug 2026: 1,029 stars29 Aug 2026: 1,033 stars5 Sept 2026: 1,037 stars12 Sept 2026: 1,059 stars19 Sept 2026: 1,067 stars26 Sept 2026: 1,081 stars3 Oct 2026: 1,087 stars10 Oct 2026: 1,091 stars17 Oct 2026: 1,095 stars24 Oct 2026: 1,096 stars31 Oct 2026: 1,101 stars7 Nov 2026: 1,105 stars14 Nov 2026: 1,110 stars

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
Also in Code review and testing
RankProjectScore
1playwrightCross-browser automation and end-to-end test framework for Chromium, Firefox and WebKit100.5k starsApache-2.094 out of 100
2nxMonorepo build system with task caching, affected-only runs and CI integration29.5k stars+111 (+0.4%) in 30 daysMIT93 out of 100
3open-code-reviewGo CLI that reviews Git diffs with an LLM agent and line-level comments53.9k starsApache-2.092 out of 100
#4bendDependent-typed language where AI-written code must prove rules in LAWS.bend Live demo ↗ (opens in a new tab)25.4k starsApache-2.088 out of 100
#5maestroYAML-based UI and end-to-end test framework for Android, iOS and web16.4k stars+362 (+2.3%) in 30 daysApache-2.088 out of 100