# MCP Python Refactoring

> Use this tool when you need to improve the quality and readability of Python code, as it analyzes code and provides guided refactoring suggestions to solve problems such as code duplication, complexity, and maintainability issues. It takes in Python code as input and outputs refactoring recommendations, allowing for manual implementation of changes. This tool is ideal for developers looking to optimize their codebase without automated modifications.

Canonical page: https://skillsregistry.net/skills/slamer59-mcp-python-refactoring  
JSON: https://api.skillsregistry.net/v1/skills/slamer59-mcp-python-refactoring

## Description

Analyzes Python code and provides guided refactoring suggestions without automatically modifying code.

## Trust

- **Trust score (0–1):** 0.53
- **Verification tier:** scanned
- **Last scanned:** 2026-08-31

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** other
- **Updated:** 2026-08-31

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/aaqtmfcx84)
- **Repository:** <https://github.com/slamer59/mcp-python-refactoring>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "slamer59-mcp-python-refactoring"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/slamer59-mcp-python-refactoring` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/slamer59-mcp-python-refactoring/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
