pyscn runs on your own machine — the client starts it, so there is no endpoint to ping. 1 399 installs a week from pypi. Last commit 17 Sep 2026.
Python code analysis for AI agents: complexity, dead code, clones, coupling, and a health score.
We read the source, 22 h ago · rules 3dff92dd89df
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
result = subprocess.run(
initPath := filepath.Join(packagePath, name)
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add pyscn -- uvx pyscn-mcp
{
"mcpServers": {
"pyscn": {
"args": [
"pyscn-mcp"
],
"command": "uvx"
}
}
}
[mcp_servers.pyscn]
command = "uvx"
args = ["pyscn-mcp"]
{
"mcpServers": {
"pyscn": {
"args": [
"pyscn-mcp"
],
"command": "uvx"
}
}
}
{
"mcpServers": {
"pyscn": {
"args": [
"pyscn-mcp"
],
"command": "uvx"
}
}
}
This one needs environment variables set before it will start:
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.).
The author declared them in the registry entry; get the values from the project itself.
Style check, naming, complexity analysis for AI agents
Codebase analysis tools for AI agents: complexity, prop drilling, doc coverage, code smells.
Code graph for AI agents: impact analysis and call tracing for Python and TypeScript.
Deterministic code analysis harness giving AI agents senses, memory and judgment for code.
Semantic code search and analysis from CodeAlive for AI assistants and agents.
Multi-language code analysis for complexity, debt, hotspots, ownership, and defect prediction
161 AI agents for code gen, health, AI/ML, infra, India-stack. One command.
Insurance denial code lookup, appeal letter generation, and denial analysis for AI agents.
Answers built from our own checks of this server.