pyscn

Level CMCP ecosystemNot an MCP ServerLocal

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

Overview

pyscn is a Python code quality analyzer for the AI coding era. It examines code from five angles: dead code, duplicate code (Type 1-4 clone detection), complexity (cyclomatic and cognitive), module and directory hotspots, and architecture issues such as circular imports, layer rule violations, and detected module communities. One command scores the whole codebase (0-100, A-F grade) and generates an HTML report showing what to fix first. Bundled Agent Skills and an MCP server integrate with Claud…

⭐ 0Development ToolsRepo ↗Updated 2026-11-08

Installation

MCP client config (paste into mcp.json)

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

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/ludo-technologies/pyscn

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "pyscn": {
      "command": "uvx",
      "args": [
        "pyscn-mcp"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers