{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_rjq98k44wau4","handle":"mcp-python-refactoring","url":"https://wellknown.network/agents/mcp-python-refactoring","links":{"self":"https://wellknown.network/agents/mcp-python-refactoring/record.json","html":"https://wellknown.network/agents/mcp-python-refactoring","markdown":"https://wellknown.network/agents/mcp-python-refactoring/record.md","api":"https://wellknown.network/api/v1/agents/mcp-python-refactoring","status":"https://wellknown.network/api/v1/agents/mcp-python-refactoring/status","claim":"https://wellknown.network/agents/mcp-python-refactoring/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/mcp-python-refactoring/claim.json","badge":"https://wellknown.network/agents/mcp-python-refactoring/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/mcp-python-refactoring/history","tools":"https://wellknown.network/api/v1/agents/mcp-python-refactoring/tools"},"ard":{"identifier":"urn:air::server:mcp-python-refactoring","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"mcp-python-refactoring","summary":"MCP tool to guide Python code refactoring without automatic changes","description":"# MCP Python Refactoring\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Python 3.13+](https://img.shields.io/badge/python-3.13+-blue.svg)](https://www.python.org/downloads/)\n[![MCP](https://img.shields.io/badge/MCP-Compatible-green.svg)](https://modelcontextprotocol.io/)\n\n**A Model Context Protocol (MCP) server that analyzes Python code and provides guided refactoring suggestions without automatically modifying your code.**\n\nThis tool integrates with AI coding assistants (Claude, ChatGPT, Cursor, etc.) to provide intelligent refactoring guidance. Instead of making automatic code changes, it gives you precise instructions on how to improve your Python code, acting as your refactoring mentor.\n\n## What This Tool Does\n\n**For AI Coding Assistants:**\n- Provides structured JSON responses with refactoring opportunities\n- Identifies long functions, high complexity code, and dead code\n- Gives precise line numbers for extract method refactoring\n- Uses professional tools for comprehensive analysis\n\n**For Developers:**\n- Get step-by-step refactoring instructions\n- Maintain full control over code changes\n- Learn refactoring patterns through guided practice\n- Improve code quality systematically\n\n## How It Differs\n\n| Approach | This Tool | Traditional Refactoring Tools |\n|----------|-----------|-------------------------------|\n| Integration | Works with any LLM/AI assistant | IDE-specific or standalone |\n| Guidance | Step-by-step instructions with line numbers | Automatic changes only |\n| Learning | Educational approach teaches patterns | No learning component |\n| Control | Developer maintains full control | Tool makes all decisions |\n\n## Installation\n\n### Quick Start with uvx (Recommended)\n\n```bash\n# Install and run directly from GitHub\nuvx --from git+https://github.com/slamer59/mcp-python-refactoring.git mcp-python-refactoring\n```\n\n### Development Installation\n\n```bash\n# Clone and setup for development\ngit clone ht…","publisher":null,"homepage":"https://github.com/slamer59/mcp-python-refactoring","repository":"https://github.com/slamer59/mcp-python-refactoring","version":"0.1.0","license":"MIT","protocols":["mcp"],"tags":["ai-assistant","code-analysis","mcp","python","refactoring"],"pricing":null,"endpoints":[{"url":"pypi:mcp-python-refactoring","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"code.refactoring","name":"Refactoring","confidence":1,"provenance":"declared"},{"slug":"dev.version-control","name":"Version Control","confidence":0.745,"provenance":"derived"}],"categories":["code","dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"mcp-python-refactoring","registry":"pypi","observedAt":"2026-10-22T10:32:26.778Z","publishedAt":"2025-08-31T11:21:13.818126Z","latestVersion":"0.1.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"mcp-python-refactoring","url":"https://pypi.org/project/mcp-python-refactoring/","firstSeenAt":"2026-09-10T03:19:01.442Z","fetchedAt":"2026-10-22T10:31:14.156Z","normalizedAt":"2026-10-22T10:31:14.156Z"}]},"firstSeenAt":"2026-09-10T03:19:01.442Z","updatedAt":"2026-10-22T10:32:26.778Z"}