mcpcost

io.github.marshally/mcp-refactoring

Refactoring MCP Server

Is the Refactoring MCP server down? No. Installed with mcp<2, it started and listed its tools on 2026-11-04.

MCP server exposing Martin Fowler's refactoring catalog to LLMs with 71+ refactorings

needs mcp<2 probed 2026-11-29 · unchanged since 2026-11-04

5tools, with mcp<2
2.1ktokens in Claude Opus 5.5
1.1 %of Claude's 200k window

A plain install of the package stops at the import below. These tool definitions are from a second install with mcp<2, started in a container with the network off, on 2026-11-04.

MCP error -32000: Connection closed
ModuleNotFoundError: No module named 'mcp.server.fastmcp'. This is mcp 2.x, where FastMCP was renamed to MCPServer (from mcp
Run it
uvx --with 'mcp<2' mcp-refactoring@0.1.2 (stdio, probed in a container with the network off)
Host
pypi.org
Reports itself as
refactoring_mcp 1.30.0
Capabilities
experimental, prompts, resources, tools
Repository
https://github.com/marshally/mcp-refactoring.git
Registry
active, updated 2025-11-29 · registry entry
Changes
3 recorded, reachable in 0 of them. A row is added when the result, the tool count or the cost changes.

Most expensive tools

Estimates with the o200k_base tokenizer.

Toolo200k estimateShare of this server
analyze_code29323 %
preview_refactoring27422 %
apply_refactoring25720 %
list_refactorings25520 %
inspect_structure18214 %

Compare this server with others.

More servers

Other registry entries on pypi.org, the ones next to this name; all of them.

Servers that mention refactoring.

History

We add a row when the result changes. A server with no change keeps its last row.

ProbedResultInitToolsClaudeo200k
2026-11-04 08:06needs mcp<21.2 s52.1k1.3k
2026-10-21 06:42crashed on start
2026-10-14 17:23crashed on start

Badge for the README

mcpcost: needs mcp<2

The result of the latest probe, the tool count and the token cost. The feed has an entry for every probe that changed them.

Atom feed

A mail when this server changes

Stops answering, comes back, tool set or cost changes. One confirmation mail first, a stop link in every mail.

For the publisher

The cause and the fix, with the code before and after: ModuleNotFoundError: No module named 'mcp.server.fastmcp'