Refactoring Catalog

•
5
•

Expose Martin Fowler's comprehensive refactoring catalog to large language models for automated and intelligent code transformations.

The Refactoring Catalog server empowers developers to integrate Martin Fowler's extensive collection of refactoring patterns directly into their LLM-driven development workflows. As an MCP (Model Context Protocol) server, it provides over 71 foundational refactoring techniques to large language models through a flexible, language-agnostic architecture, with Python support leading the way. Developers can leverage specific tools to list available refactorings, preview changes safely with a dry-run mode, and apply transformations like 'extract-method' or 'rename-method' to their codebase, all optimized for token efficiency and enhanced code quality.

Características Principales

01Full implementation of 71+ Martin Fowler refactorings
02Tools for listing, inspecting, and analyzing code structures
031 GitHub stars
04Safe preview mode to visualize changes before applying
05Pluggable architecture supporting multiple programming languages
06LLM-optimized output format for token efficiency

Casos de Uso

01Analyzing code for smells and suggesting improvements
02Automating code refactoring and modernization with AI
03Integrating professional refactoring practices into AI-assisted coding environments