Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Offload grunt work from your premium agent to cheap models — auto-routing and billing isolation.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
DELEGATE_BASE_URL, DELEGATE_API_KEY, DELEGATE_TIMEOUT, DELEGATE_MODEL_MAP, DELEGATE_NO_LOG标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"cheaplane": {
"command": "uvx",
"args": [
"cheaplane"
],
"env": {
"DELEGATE_BASE_URL": "your-value",
"DELEGATE_API_KEY": "your-value",
"DELEGATE_TIMEOUT": "your-value",
"DELEGATE_MODEL_MAP": "your-value",
"DELEGATE_NO_LOG": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add cheaplane --env DELEGATE_BASE_URL=your-value --env DELEGATE_API_KEY=your-value --env DELEGATE_TIMEOUT=your-value --env DELEGATE_MODEL_MAP=your-value --env DELEGATE_NO_LOG=your-value -- uvx cheaplane运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"cheaplane": {
"command": "uvx",
"args": [
"cheaplane"
],
"env": {
"DELEGATE_BASE_URL": "your-value",
"DELEGATE_API_KEY": "your-value",
"DELEGATE_TIMEOUT": "your-value",
"DELEGATE_MODEL_MAP": "your-value",
"DELEGATE_NO_LOG": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"cheaplane": {
"type": "stdio",
"command": "uvx",
"args": [
"cheaplane"
],
"env": {
"DELEGATE_BASE_URL": "your-value",
"DELEGATE_API_KEY": "your-value",
"DELEGATE_TIMEOUT": "your-value",
"DELEGATE_MODEL_MAP": "your-value",
"DELEGATE_NO_LOG": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
DELEGATE_BASE_URL envDELEGATE_TIMEOUT envDELEGATE_MODEL_MAP envDELEGATE_NO_LOG env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 millennialdreamer 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:DELEGATE_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.2.1)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Zendesk
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Zendesk MCP Pack — tickets, users, organizations via OAuth.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Keep your premium subscription on the main thread. Offload the grunt work to cheap models — Cheaplane even picks the right one for you. Stop burning premium tokens on boilerplate.
Cheaplane is a tiny single-file MCP server (~250 lines, stdlib + mcp only) that gives your main agent — e.g. Claude Code on a Max subscription — one extra tool: `delegate`. Your agent keeps doing the thinking (planning, architecture, final review) and hands *replaceable grunt work* — boilerplate code, formatting, translation, summarizing long docs — to cheap models behind a local LiteLLM proxy (DeepSeek, Kimi, Qwen, …). Think of it as a cheap intern for your premium agent — it churns out the boring parts while you keep thinking.
The trick that makes it *safe*: the delegated calls and your subscription live in physically separate processes and never share credentials. (why that matters ⬇️)
The trick that makes it *effortless*: auto-routing. delegate(task) picks the right cheap model from the task itself — code → DeepSeek, long docs → Kimi, Chinese → Qwen. (how ⬇️)
The trick that makes it *stick*: a per-turn reminder hook so your agent doesn't forget the tool exists — the part most "delegate" tools skip. And a savings ledger shows you what it kept off your quota.
See it in action — your agent hands a chore over; auto-routing sends it to the cheap code model:
delegate("convert to a TypeScript interface: {id, name, email, isAdmin, roles[]}")
interface User {
id: number; name: string; email: string; isAdmin: boolean; roles: string[]; }
↑ a real call's output — not a mockup, and no model picked by hand. That token cost ~90× less than your premium model, and your subscription quota never moved.
Premium models earn their price on hard problems — but every token counts against your plan, and you burn through quota on *churn*: reformatting JSON, translating UI strings, summarizing a doc you'll read once. The usual "just use a cheap model" setups force an ugly choice:
Cheaplane keeps the sweet spot: premium main thread for judgment + cheap models for the churn + billing that physically can't cross.
The popular 2026 move is to swap your *whole* agent onto a cheap model (DeepClaude-style). Great for raw cost — but it downgrades the thread you actually think with, breaks your other MCP tools, and doesn't even apply if you're on a Pro/Max subscription. Cheaplane takes the opposite bet:
| Swap whole agent → cheap model *(DeepClaude-style)* | Everything via one API key | Cheaplane | |
|---|---|---|---|
| Main thread | ⬇️ downgraded | ⬇️ no more subscription | ✅ stays premium |
| Your other MCP tools | ❌ break | ✅ | ✅ *(it is an MCP server)* |
| Works on a Pro/Max subscription | ❌ API-key only | ❌ replaces it | ✅ built for it |
| Picks the cheap model for you | ❌ one model for everything | ❌ | ✅ auto routing |
| Shows what you saved | ❌ | ❌ | ✅ savings ledger |
| Billing | merged into one | one per-token bill | 🔒 subscription + cheap, isolated |
Comparison reflects how backend-swap setups (DeepClaude-style) behaved per public reports in mid-2026; specifics vary by tool and can change.
The grunt work is the *easy* part — paying premium rates for it is pure waste. Per million tokens (public list prices, mid-2026):
| Model | Input | Output | Best for |
|---|---|---|---|
| Claude Opus *(API, for reference)* | $5.00 | $25.00 | the judgment work you keep |
| DeepSeek V4 Flash | $0.14 | $0.28 | code / formatting |
| Kimi K2 | $0.60–0.95 | $2.50–4.00 | long docs (very large context) |
| Qwen | $0.05–0.40 | $0.20–1.20 | Chinese copy |
That's an output token costing ~$25 on Opus vs ~$0.28 on DeepSeek — about 90× more for work that doesn't need the smarts. You're on a *subscription*, so you don't pay that $25 directly — your main thread spends *quota*, not dollars. That's the whole point: every routine task you offload is premium quota you keep for the hard problems. *(Summarizing a 40-page doc on DeepSeek Flash runs ~$0.005 — your quota never even notices.)*
Prices are public list rates, mid-2026, and vary by tier/caching — check each provider. The stable takeaway is the order-of-magnitude gap, not an exact dollar saving.
Most "save money" hacks blur your bills together. Cheaplane keeps them physically apart:
flowchart LR
A["Main agent premium subscription"] -->|"delegate(task)"| B["Cheaplane MCP own process, own key"] B -->|HTTP| C["LiteLLM proxy localhost:4000"] C --> D["DeepSeek / Kimi / Qwen cheap, pay-per-use"]
The Cheaplane process never imports your subscription provider's SDK, never reads its auth, never touches its OAuth token. It knows exactly one thing: an HTTP endpoint (your proxy) and its key. Your main thread bills to your subscription; delegated calls bill to your cheap proxy. The two can't cross — not by policy, by architecture.
Fastest path — Claude Code, one script:
git clone https://github.com/millennialdreamer/cheaplane && cd cheaplane
cp litellm.yaml.example litellm.yaml # then: export DEEPSEEK_API_KEY=sk-... litellm --config litellm.yaml & # start the cheap-model proxy on :4000 bash setup.sh # deps + register MCP + reminder hook + verify
setup.sh is idempotent (safe to re-run): it installs deps, registers the delegate MCP server with Claude Code, installs the per-turn reminder hook, and verifies the chain end-to-end. Then start a fresh Claude Code session — done.
Prefer a package? Cheaplane is on PyPI — no clone, no path to hard-code:
pip install cheaplane # or: uvx cheaplane / pipx install cheaplane
claude mcp add delegate cheaplane
You still want the proxy from step 1 below, and the reminder hook is worth it — that part needs the repo.
Manual setup / what setup.sh does under the hood
1. Get an OpenAI-compatible endpoint for the cheap models. Most people run LiteLLM locally as a proxy in front of DeepSeek / Kimi / Qwen. A minimal config is ~5 lines:
# litellm.yaml — exposes DeepSeek under the model_name "deepseek"
model_list:
pip install 'litellm[proxy]'
litellm --config litellm.yaml # serves http://localhost:4000
That model_name: deepseek lines up with Cheaplane's default alias, so it works out of the box. (deepseek is a built-in LiteLLM provider — no api_base needed; you'd add one only for a custom or self-hosted endpoint.) Already have an OpenAI-compatible endpoint (LiteLLM, OpenRouter, Ollama, vLLM…)? Skip this and just point DELEGATE_BASE_URL at it.
2. Install Cheaplane — from PyPI, or from a clone if you also want the reminder hook and probe.py:
pip install cheaplane # installs a `cheaplane` command; that's the whole install
git clone https://github.com/millennialdreamer/cheaplane && cd cheaplane
uv sync # or: python -m venv .venv && .venv/bin/pip install mcp
3. Register it with your MCP client. Installed from PyPI — the command is already on your PATH:
{
"mcpServers": { "delegate": { "command": "cheaplane" } } }
From a clone — copy .mcp.json.example to .mcp.json in the repo root and fix the path (or use claude mcp add):
{
"mcpServers": { "delegate": { "command": "uv", "args": ["run", "--directory", "/ABSOLUTE/PATH/TO/cheaplane", "python", "server.py"] } } }
4. Verify it end-to-end — with your proxy from step 1 running (handshake → list tools → a real delegated call):
uv run python probe.py
delegateYour agent now has delegate(task) — routing is automatic; override only when you want to:
delegate("convert this JSON to a TypeScript interface: …") # auto → deepseek (code)
delegate("summarize this 40-page contract: …") # auto → kimi (very long input) delegate("…Chinese text in the task auto-routes here…") # auto → qwen (Chinese copy) delegate("translate these UI strings to Japanese", "flash") # explicit alias still wins
| alias | good for |
|---|---|
auto | default — picks one of the below from the task itself |
deepseek | code / balanced |
mimo | reasoning / multi-step |
flash | fast / formatting / translation |
kimi | long documents (very large context) |
qwen | Chinese copywriting |
Aliases map to your LiteLLM model_names. Point them at your proxy without editing code — set the DELEGATE_MODEL_MAP env var (a JSON object), or drop a ~/.claude/delegate-model-map.json (hot-reloaded — no restart needed); editing MODEL_ALIASES in server.py also works.
What to delegate vs keep (rule of thumb)
Delegate (let the cheap model do it):
Keep (you do it yourself):
The delegated model sees only your `task` string — it has no access to your conversation. Make each task self-contained: spec + the actual input + the exact output format you want.
Every delegated call appends one line of metadata only — never the task content — to ~/.cheaplane/usage.jsonl. Ask your agent for savings any time (sample output):
Cheaplane savings — all time
delegated calls : 184 tokens offloaded: ~412,300 in / ~365,800 out premium cost avoided (Opus list): ~$11.21 actually spent (DeepSeek-class) : ~$0.16 (≈70× cheaper, in+out blended) last 7 days : 31 calls, ~$2.04 avoided
Numbers are estimates at public list prices — the real win is the premium quota that never left your subscription. The ledger records token counts and model names only; delete the file any time, or set DELEGATE_NO_LOG=1 to tur
只显示了开头部分;其余内容请在仓库中阅读