Connects Claude to Martin Fowler's catalog of 71+ refactorings through a language-agnostic architecture. You get five tools: list available refactorings by category, preview changes before applying them, execute refactorings on your codebase, inspect code structure at class or method level, and analyze for code smells. Targets are specified with native conventions like `src/order.py::Order::calculate_total#L10-L15`. Currently supports Python through the molting-cli backend with Ruby, Java, and Go planned. Useful when you want programmatic refactoring suggestions and execution instead of manual restructuring, or when working through technical debt systematically. Output uses TOON format for token efficiency.
claude mcp add --transport stdio marshally-mcp-refactoring uvx mcp-refactoring