
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.
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-mcpInstall in Cursor
{
"mcpServers": {
"pyscn": {
"command": "uvx",
"args": [
"pyscn-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"pyscn": {
"command": "uvx",
"args": [
"pyscn-mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"pyscn": {
"type": "stdio",
"command": "uvx",
"args": [
"pyscn-mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"pyscn": {
"command": "uvx",
"args": [
"pyscn-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
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
| Variable | Required | Secret | Description |
|---|---|---|---|
| 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
| Model | Per 1,000 turns | With 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 tokComprehensive Python code quality analysis with complexity, dead code, clone detection, and coupling metrics
detect_clones192 tokDetect code clones using APTED tree edit distance and LSH acceleration
check_complexity178 tokAnalyze cyclomatic complexity of Python execution scopes
check_coupling147 tokAnalyze class coupling (CBO - Coupling Between Objects) metrics
find_dead_code138 tokFind unreachable code using Control Flow Graph (CFG) analysis
check_cohesion119 tokAnalyze class cohesion (LCOM4 - Lack of Cohesion of Methods) metrics
detect_di_antipatterns114 tokDetect Dependency Injection anti-patterns in Python code (constructor over-injection, hidden dependencies, concrete dependencies, service locator)
get_health_score55 tokGet 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.
Last commit (default branch)
2026-10-18 · 23d ago · GitHub
Latest release
2026-10-15 · 26d ago · GitHub · v1.32.5
Package published
no data · npm/PyPI
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.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| pyscn (this) | 1,095 | 8 | 1,154 | Active | local |
| Wigolo | 5,486 | — | not measured | Active | local |
| Zotero | 5,460 | — | not measured | Active | local |
| Exa | 5,138 | 2 | 564 | Active | local + hosted |
| Postgres | 3,403 | — | not measured | Maintained | — |
| Arxiv | 3,224 | 19 | 3,728 | Active | local |
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
- Tool list (tools/list), measured by us
- 2026-10-23
- Security signals, computed by us
- 2026-10-23
- 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.