BeClaude

refactor

New
20.6kSmitheryDevelopmentby github

Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

First seen 5/22/2026

Install & Usage

1
Open your MCP config
~/.claude.json
2
Add the server config

Add the configuration to "mcpServers": { "refactor": { "command": "...", "args": [] } }

3
Restart Claude Code
/mcp
View source on GitHub
refactoringdesigncodingproductivity

Security Audits

LicenseUnknownSourceWarnRepositoryPass

Frequently Asked Questions

What is refactor?

Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

How to install refactor?

To install refactor: open your mcp config (~/.claude.json), then add the config to "mcpServers": { "refactor": { "command": "...", "args": [] } }. Finally, /mcp in Claude Code.

What is refactor best for?

refactor is a mcp categorized under Development. It is designed for: refactoring, design, coding, productivity. Created by github.