Pyscn MCP Server

Python code analysis for AI agents: complexity, dead code, clones, coupling, and a health score. It runs locally over stdio via the published package.

People who work with architecture analysis, clone detection and code complexity and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in Go.

VERIFIED ACTIVE

LAST COMMIT 2026-09-17 · ★ 1,068 · #3 OF 71 MAINTAINED SCIENCE & HEALTH · VERIFIED 2026-09-18

MIT · Go servers · how we verify → /methodology

01 · Install Pyscn

before you install - you'll need

PYSCN_CONFIG

Environment variables documented in the project's README - it lists which are required and which have defaults.

Claude Code

claude mcp add ludo-technologies-pyscn -- uvx pyscn-mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "ludo-technologies-pyscn": {
      "command": "uvx",
      "args": [
        "pyscn-mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

pypi package pyscn-mcp - check the name against the project README before installing (PyPI has no namespace ownership)

registry namespace io.github.ludo-technologies is GitHub-verified and matches the repo owner

03 · What Pyscn can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v1.32.0 · 2026-09-15

don't report the bare yield that keeps a function a generator · add .gitignore to output directory · exclude docstrings from min_lines/min_nodes when skip_docstrings is set · list cohesion and responsibility violations…

v1.31.3 · 2026-09-11

accept unparenthesized except lists with three or more types (PEP 758) · update CHANGELOG for v1.31.3

v1.31.2 · 2026-09-10

publish Linux arm64 wheels · use the pre-commit hook mirror · stop counting type-hint dependencies in CBO score · tag Linux wheels as manylinux_2_34 · stop treating an explicit config file's directory as the project…

04 · Who maintains Pyscn

pyscn is maintained by ludo-technologies. It's the only MCP server we track from this author; the repo dates to Aug 2025.

05 · Facts

category
science & health - ranked #3 of 71 actively-maintained science & health servers as of 2026-09-18.
release cadence
10+ releases in the last 90 days (latest 2026-09-15)
registry
io.github.ludo-technologies/pyscn (active, first published 2026-07-25 · 10 versions)
packages
pypi:pyscn-mcp

06 · Pyscn FAQ

What is Pyscn?

Python code analysis for AI agents: complexity, dead code, clones, coupling, and a health score. It runs locally over stdio via the published package.

Is Pyscn still maintained?

Yes - as of 2026-09-18, its last commit was 2026-09-17 and it shipped 10+ releases in the last 90 days. We re-verify nightly.

How do I install Pyscn?

Run `uvx pyscn-mcp`. The README documents one environment variable (PYSCN_CONFIG) to set first. You can also paste the ready-made client config above.

Does Pyscn run locally?

Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Pyscn

head to head · Arxiv MCP Server (blazickjp) vs Pyscn · Pubmed MCP Server vs Pyscn · Clinicaltrialsgov MCP Server vs Pyscn