Skip to content
mcp/skillhub

pyscn MCP Server

by ludo-technologiesio.github.ludo-technologies/pyscnv1.32.5

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

1.1kPythonstdioofficial registry

context tax

~1,154 tok/turn8 tools

security

100/100

cold start

0 ms

freshness

Active23d ago

Our reading of pyscn, from the data

pyscn is a science & research MCP server from ludo-technologies, listed in the official MCP Registry.

Its 8 tools add about 1,154 tokens to every model turn, lighter than the science & research median of 1,744 tokens across 312 measured servers (measured 2026-10-23).

Maintenance is active: the last public signal was 23 days ago (2026-10-18). For comparison, 72% of science & research servers are active or maintained.

With 1,095 GitHub stars it ranks #11 of 1,435 science & research servers we index.

It runs locally on your machine over stdio.

Install pyscn MCP server

Install in Claude Code

claude mcp add pyscn -- uvx pyscn-mcp

Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works

npx mcpskillhub test pypi:pyscn-mcp

Configuration

VariableRequiredSecretDescription
PYSCN_CONFIG——Path to a .pyscn.toml configuration file. Defaults to the usual config discovery (.pyscn.toml, then pyproject.toml) starting from the analyzed directory.

Context tax

Connecting this server adds ~1,154 tokens of tool definitions to every model turn (moderate, 8 tools). Measured 2026-10-23 via a sandboxed run; o200k tokenizer, worst case for clients that load all tools up front. How we measure

ModelPer 1,000 turnsWith prompt caching
Claude Opus 5.5$4.62$0.231
Claude Sonnet 5.5$2.31$0.231
Claude Haiku 5.5$0.115—

Input prices as of 2026-10-06. Excludes your own prompt and output.

Tools (8)

  • analyze_code209 tok

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

  • detect_clones192 tok

    Detect code clones using APTED tree edit distance and LSH acceleration

  • check_complexity178 tok

    Analyze cyclomatic complexity of Python execution scopes

  • check_coupling147 tok

    Analyze class coupling (CBO - Coupling Between Objects) metrics

  • find_dead_code138 tok

    Find unreachable code using Control Flow Graph (CFG) analysis

  • check_cohesion119 tok

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

  • detect_di_antipatterns114 tok

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

  • get_health_score55 tok

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

Security signals

100/100 — no known issues found as of 2026-10-23, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.

Deductions

No findings from the checks that ran.

Checks

  • ✓Repository hygiene (archived, activity, license, security policy)
  • ✓Tool descriptions (prompt-injection and hidden-text heuristics)
  • ○Package metadata (install scripts, provenance) — pending
  • ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending

Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules

Freshness

Active — last maintenance signal 23d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-18 · 23d ago · GitHub

  2. Latest release

    2026-10-15 · 26d ago · GitHub · v1.32.5

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-10-15 · 26d ago · official registry · v1.32.5

How it compares in Science & Research

Against the most-starred science & research servers we index. Token cost is per model turn, measured from each server's live tool list.

ServerStarsToolsTokens / turnFreshnessRuns
pyscn (this)1,09581,154Activelocal
Wigolo5,486—not measuredActivelocal
Zotero5,460—not measuredActivelocal
Exa5,1382564Activelocal + hosted
Postgres3,403—not measuredMaintained—
Arxiv3,224193,728Activelocal
All science & research MCP servers

FAQ

›How do I install the pyscn MCP server in Claude Code?

Run: claude mcp add pyscn -- uvx pyscn-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does pyscn require an API key?

No required environment variables are declared in its published metadata.

›Can I use pyscn as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is pyscn in the official MCP registry?

Yes, as io.github.ludo-technologies/pyscn.

›How many tokens does pyscn add to my context?

Its tool definitions total about 1,154 tokens, resent on every turn.

Sources and method

Official MCP Registry entry
updated 2026-10-15
GitHub repository
fetched 2026-10-19
Package registry (npm / PyPI)
listed
Last checked against all sources
2026-10-19

The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.

Alternatives to pyscn

Other science & research MCP servers.

View all