Skip to content
Agentmart
Submit a tool

pyscn

Python code analysis for AI agents: complexity, dead code, clones, coupling, and a health score.

Connector by ludo-technologies · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 1,096
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/ludo-technologies-pyscn

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Python code analysis for AI agents: complexity, dead code, clones, coupling, and a health score.

Use cases: code-review, refactoring

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
8 read · 0 write · 0 deleteRead-only
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Tools by what they do 8

Read from the source code; the running server may list different tools.

Read 8 · Look things up without changing anything.

  • analyze_code
  • check_cohesion
  • check_complexity
  • check_coupling
  • detect_clones
  • detect_di_antipatterns
  • find_dead_code
  • get_health_score

Secrets and settings it asks for

Other settings (environment variables or headers).

  • PYSCN_CONFIG

Files it touches

  • Any path the agent passes to its tools

Tools (8)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • analyze_code

    Comprehensive Python code quality analysis with complexity, dead code, clone detection, and coupling metrics

  • check_cohesion

    Analyze class cohesion (LCOM4 - Lack of Cohesion of Methods) metrics

  • check_complexity

    Analyze cyclomatic complexity of Python execution scopes

  • check_coupling

    Analyze class coupling (CBO - Coupling Between Objects) metrics

  • detect_clones

    Detect code clones using APTED tree edit distance and LSH acceleration

  • detect_di_antipatterns

    Detect Dependency Injection anti-patterns in Python code (constructor over-injection, hidden dependencies, concrete dependencies, service locator)

  • find_dead_code

    Find unreachable code using Control Flow Graph (CFG) analysis

  • get_health_score

    Get overall code health score (0-100) with grade and category scores

Compare and alternatives

Signals

Stars
1,096
Forks
74
Open issues
6
Contributors
38
Weekly downloads
323
Last commit
Oct 24, 2026 (4 days ago)
Last release
Oct 24, 2026 (4 days ago)
Last package publish
Oct 24, 2026 (4 days ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Registry name
io.github.ludo-technologies/pyscn
Version
1.33.0
Auth
No auth
Packages
pypi pyscn-mcp
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026
Cite this page

pyscn MCP server. Agent Mart. https://agentmart.dev/connectors/ludo-technologies-pyscn (last updated 2026-10-24)