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 connecting science & health tools to Claude, Cursor, VS Code, or another MCP client. The project is written in Go.

VERIFIED ACTIVE

LAST COMMIT 2026-08-25 · ★ 1,035 · #6 OF 60 MAINTAINED SCIENCE & HEALTH · VERIFIED 2026-08-25

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.29.1 · 2026-08-16

add per-function SLOC metric and long-function warnings (#551) · stop cognitive complexity from crossing scope boundaries (#658) · make dependency analysis scale · derive single-responsibility concerns from fan-out…

v1.29.0 · 2026-07-27

preserve architecture suggestion identity · serve documentation at docs.codescan.dev · Add per-module quality hotspot metrics · Add per-directory complexity rollups · add dedup and file_path/start_line for architecture…

v1.28.0 · 2026-07-25

point cross-language link to polyscan instead of archived jscan · list pyscn in the MCP Registry and Glama · update CHANGELOG for v1.28.0

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 #6 of 60 actively-maintained science & health servers as of 2026-08-25.
release cadence
10+ releases in the last 90 days (latest 2026-08-16)
registry
io.github.ludo-technologies/pyscn (active, first published 2026-07-25 · 3 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-08-25, its last commit was 2026-08-25 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