Skip to content
MCP server

Weavatrix Refactor

Transactional refactoring extension with 11 evidence-backed tools, previews, and rollback.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.8
Listing updated
6 days ago

About Weavatrix Refactor

Weavatrix Refactor is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add weavatrix-refactor -- npx -y weavatrix-refactor

Add to claude_desktop_config.json

{
  "mcpServers": {
    "weavatrix-refactor": {
      "command": "npx",
      "args": [
        "-y",
        "weavatrix-refactor"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "weavatrix-refactor": {
      "command": "npx",
      "args": [
        "-y",
        "weavatrix-refactor"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "weavatrix-refactor": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "weavatrix-refactor"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "weavatrix-refactor": {
      "command": "npx",
      "args": [
        "-y",
        "weavatrix-refactor"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "weavatrix-refactor": {
      "command": "npx",
      "args": [
        "-y",
        "weavatrix-refactor"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • WEAVATRIX_ALLOW_SOURCE_EDITSSet to 1 to authorize confirmed apply operations and rollback to write source files; unset, the refactor tools stay preview-only

Pricing

Open source

Prices change. Check weavatrix.com before you buy.

Weavatrix Refactor FAQ

Is Weavatrix Refactor free?

Yes. Weavatrix Refactor is open source, so you can use and self-host it for free.

How do I add Weavatrix Refactor to Claude Code?

Run this command in your terminal: claude mcp add weavatrix-refactor -- npx -y weavatrix-refactor

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers