mcpbeat Sign in

Code Refactor MCP Server

by zhouhengchang Your server? Claim it
answering

Code Refactor is answering right now. Last checked 4 min ago. 75 installs a week from npm. It exposes 18 tools. Last commit 18 Oct 2026.

Refactor legacy code into modern, idiomatic code without changing its behavior.

Installs per day peak 624 · avg 20
a month agotoday
Uptime history 17 days of history · worst day 21%
17 days agonow
97.8%
Uptime 24h
90 of 92 checks
18
Tools
read from the server
4787 ms
Response time
average over 24h
75
Installs / week
npm and PyPI

What changed 20

Every tool that appeared, vanished or quietly changed what it asks for. Recorded since 22 October 2026. No other catalogue keeps this.

24 Oct 5 tools appeared codeexplain, codetrans, commitmsg and 2 more
22 Oct 13 tools appeared codegen, contract, copywriter and 10 more
22 Oct 2 tools disappeared check_status, refactor_code

What the code does

We read the source, 3 d ago · tools taken from the live server · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

const child = spawn(process.execPath, [SERVER], {

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

Endpoint below is the one we actually reach during checks — not the one copied from a README. Last verified 4 min ago.

run in your terminal
claude mcp add code-refactor --transport http https://code-refactor-api.app.workbuddy.host/mcp
Settings → Connectors → Add custom connector, then paste this address
https://code-refactor-api.app.workbuddy.host/mcp
~/.codex/config.toml
[mcp_servers.code-refactor]
url = "https://code-refactor-api.app.workbuddy.host/mcp"
.cursor/mcp.json
{
  "mcpServers": {
    "code-refactor": {
      "url": "https://code-refactor-api.app.workbuddy.host/mcp"
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "code-refactor": {
      "type": "http",
      "url": "https://code-refactor-api.app.workbuddy.host/mcp"
    }
  }
}

Available tools 18

Read directly from the server with tools/list, grouped by what they act on. If a tool disappears, we record the date.

codeexplain
codeexplain
按读者水平(零基础→资深)拆解代码逻辑、关键点与坑。按次计费:业务成功才确认扣款,内容违规、模型超时或生成失败会自动全额退款。
codegen
codegen
根据需求描述生成可运行的示例代码。按次计费:业务成功才确认扣款,内容违规、模型超时或生成失败会自动全额退款。
codetrans
codetrans
A 语言 → B 语言等价实现 + 依赖替换与行为差异清单。按次计费:业务成功才确认扣款,内容违规、模型超时或生成失败会自动全额退款。
commitmsg
commitmsg
粘贴 diff → Conventional Commits 中英双语提交信息 + 风险提示。按次计费:业务成功才确认扣款,内容违规、模型超时或生成失败会自动全额退款。
contract
contract
标出高/中风险条款与缺失条款,并给出可替换表述。按次计费:业务成功才确认扣款,内容违规、模型超时或生成失败会自动全额退款。
copywriter
copywriter
小红书/抖音/公众号等多平台文案,一次给 3 个版本。按次计费:业务成功才确认扣款,内容违规、模型超时或生成失败会自动全额退款。
docgen
docgen
README / API 文档 / 变更日志 / 技术方案一键生成。按次计费:业务成功才确认扣款,内容违规、模型超时或生成失败会自动全额退款。
errfix
errfix
报错栈 + 代码 → 根因定位 + 最小修复补丁 + 验证步骤。按次计费:业务成功才确认扣款,内容违规、模型超时或生成失败会自动全额退款。
order
get_order
按订单号查询一笔调用的状态、金额、耗时与失败原因。不收费。
orders
list_orders
列出最近的调用订单,可按状态或平台过滤,用于对账。不收费。
regexgen
regexgen
自然语言 → 精确正则 + 逐段解释 + 匹配示例,防灾难性回溯。按次计费:业务成功才确认扣款,内容违规、模型超时或生成失败会自动全额退款。
resume
resume
按 JD 诊断匹配度并用 STAR 结构重写(绝不虚构经历)。按次计费:业务成功才确认扣款,内容违规、模型超时或生成失败会自动全额退款。
review
review
审查代码并给出分级的修改建议。按次计费:业务成功才确认扣款,内容违规、模型超时或生成失败会自动全额退款。
script
script
开头钩子 3 版 + 分镜表 + 口播文案,可直接拍摄。按次计费:业务成功才确认扣款,内容违规、模型超时或生成失败会自动全额退款。
skill
skill_info
返回当前技能是否上架、单次价格、支持的编程语言与免责声明。不收费。
sqlgen
sqlgen
按表结构生成/优化 SQL,自动拦截破坏性语句。按次计费:业务成功才确认扣款,内容违规、模型超时或生成失败会自动全额退款。
testgen
testgen
为核心代码生成可运行的单元测试(自动 mock 外部依赖)。按次计费:业务成功才确认扣款,内容违规、模型超时或生成失败会自动全额退款。
translate
translate
10 种语言,直译+润色+术语表三档输出。按次计费:业务成功才确认扣款,内容违规、模型超时或生成失败会自动全额退款。

Tools removed

Tools this server used to expose. Anything built against them stopped working on the day they went.

check_status
removed 22 Oct 2026
refactor_code
removed 22 Oct 2026

Endpoints

URLTransportStateLatencyChecked
https://code-refactor-api.app.workbuddy.host/mcp streamable-http answering 2749 ms 4 min ago

Alternatives to Code Refactor

same job, measured the same way
Legacy-Code-Migrator
by evozim

Automated code modernizer converting legacy logic to ESNext.

1 tools answering
Agent Skill Loader
by back1ply

Dynamically load Claude Code skills into AI agents without copying files.

141 installs/wk local only
Configdoc
by cloudcorprecords

Extracts every config option read in the code, with its default, into one inventory.

local only
Chipp Legacy code
by chipp

Chipp: the code of an app being rebuilt: the imported GitHub repo and the legacy codebase

answering
Security Preflight
by jdhart81

Static MCP, source-code and injection-indicator checks with redacted signed receipts.

5 tools answering
Sabline
by gowrishankar-infra

Run code an AI wrote without handing it everything you can reach.

158 installs/wk local only
Code Guardian
by luminarisoftwares

A deterministic A-F grade for a repo without running it, plus a verify loop: plan, fix, diff.

425 installs/wk local only
Docsdiff
by cloudcorprecords

Flag documentation drift per area: code changed without docs, docs changed without code.

local only

Code Refactor — questions

Answers built from our own checks of this server.

What can Code Refactor do?
It exposes 18 tools, read directly from the server on our last check. Among them: codeexplain, codegen, codetrans, commitmsg, contract, copywriter and 12 more. The full list with descriptions is on this page — we take it from the server itself via tools/list, not from a README. How MCP servers expose tools in the first place →
Is Code Refactor working right now?
We send a real MCP handshake every 15 minutes. Over the last 24 hours 90 of 92 checks got a reply (97.8%), average response time 4787 ms. The bar chart above shows every period we have measured.
Did Code Refactor ever remove tools?
Yes. check_status, refactor_code are no longer exposed — we recorded the date each one disappeared. A tool vanishing usually means a breaking change for anything that depended on it.
How do I connect Code Refactor?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It is a remote server, so there is nothing to install — the client connects to the address.
Does Code Refactor need an API key?
No. Code Refactor completed a full MCP handshake with us as an anonymous client and listed its tools without asking for anything. All 18 of them are readable on this page. This is what we observed, not what the docs claim.
How many people use Code Refactor?
The npm package workbuddy-code-refactor-connector was installed 75 times in the last week. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Code Refactor open source?
The code is open source: it is published under the MIT licence, written in Python, 0 stars on GitHub and 1 open issue. The licence covers the code in the repository, not the hosted service at code-refactor-api.app.workbuddy.host, which runs on its operator's own terms.