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
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.
About
Use cases: code-review, refactoring
Reviews
Write a reviewNo 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_codecheck_cohesioncheck_complexitycheck_couplingdetect_clonesdetect_di_antipatternsfind_dead_codeget_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_codeComprehensive Python code quality analysis with complexity, dead code, clone detection, and coupling metrics
check_cohesionAnalyze class cohesion (LCOM4 - Lack of Cohesion of Methods) metrics
check_complexityAnalyze cyclomatic complexity of Python execution scopes
check_couplingAnalyze class coupling (CBO - Coupling Between Objects) metrics
detect_clonesDetect code clones using APTED tree edit distance and LSH acceleration
detect_di_antipatternsDetect Dependency Injection anti-patterns in Python code (constructor over-injection, hidden dependencies, concrete dependencies, service locator)
find_dead_codeFind unreachable code using Control Flow Graph (CFG) analysis
get_health_scoreGet 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
- Repository
- github.com/ludo-technologies/pyscn
- Website
- pyscn.ludo-tech.org
- 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)