RungLab · Deterministic Local Utility · Zero Telemetry

Put your MCP stack on a diet. Cut 70–90% context bloat.

Audit pre-prompt MCP tool-schema tokens, catch hardcoded API keys & tool-poisoning payloads, and switch lean task profiles across Claude Code, Cursor, VS Code, Windsurf, and Claude Desktop.

$ npx github:Gong-shijie/mcpdiet audit
Try Live Calculator Get Pro ($15 / ¥79)
Claude Code (.mcp.json) Cursor (.cursor/mcp.json) VS Code (.vscode/mcp.json) Windsurf (mcp_config.json) Claude Desktop

Interactive MCP Token-Budget & Security Calculator

Paste any Claude, Cursor, Windsurf, or VS Code mcp.json below (or load a preset) for instant token, monthly API cost, and secret analysis.

100% Client-Side · Zero Server Upload · Your mcp.json never leaves this browser tab.
mcp.json Input
Generated mcp.profiles.yaml Preview

            
Pre-Prompt Overhead
—
0% of 200k window
Active Servers
—
0 tools
Security & Hygiene
—
checking...
Monthly MCP Token Tax · 150 tool turns / day (30 days)
Per-Server Token Breakdown
Security & Hygiene Findings

Built for engineers switching between AI IDEs daily

Zero LLM API calls, zero cloud sync required, deterministic sub-100ms local execution.

1. Cross-IDE Canonical Sync

Maintain one version-controlled mcp.profiles.yaml and sync cleanly to Claude Code, Cursor, VS Code, Windsurf, and Claude Desktop with automatic atomic timestamped backups and mcpdiet restore.

2. Task Profiles (−70–90% Bloat)

Run mcpdiet use minimal for everyday coding (~5.8k tokens), mcpdiet use coding for DB/PR reviews, or mcpdiet use full only when you actually need every tool.

3. Secret Shield & CI SARIF Gate

Never write plaintext keys into mcp.json. Validate ${env:VAR} references against gitignored .env.local and export valid SARIF 2.1.0 reports for GitHub Code Scanning.

Workflow Setup (150 turns/day) Active Servers Pre-Prompt Tokens % of 200k Context Claude Sonnet 4.5 (Uncached / Cached)
All-On 12-Server Dev Stack 12 ~113,300 tok 56.7% $1,529.55/mo / $428.27/mo
MCPDiet coding Profile 4 ~30,400 tok 15.2% $410.40/mo / $114.91/mo
MCPDiet minimal Profile 2 ~5,800 tok 2.9% (−95%) $78.30/mo / $21.92/mo

Simple One-Time Pricing. Zero Subscriptions.

Audit for free forever. Upgrade once to unlock cross-IDE sync, task profiles, secret-safe injection, and CI SARIF security gates on up to 3 machines.

Open Core · MIT

Free CLI + Web Tool

$0 forever
  • npx mcpdiet audit across all 5 IDEs
  • 100% client-side web token calculator
  • Hardcoded secret & Unicode poisoning detection
  • Unpinned npx -y @latest supply-chain checks
  • Live stdio/HTTP --live tool schema probing
  • Machine-readable --json audit output
Read CLI Quickstart
China Domestic · 爱发电

Pro 终身买断版(国内直付)

¥79 一次性买断 · 3台设备
  • 与全球版完全一致的全部 Pro 功能与 v1.x 永久更新
  • 支持微信支付 / 支付宝付款,付款后自动发卡
  • 支持订单号自助提取 RLAB-AFD-XXXX 授权码
  • 跨 IDE 同步:Claude Code / Cursor / VS Code / Windsurf / Claude Desktop
  • 支持离线 30 天宽限验证,无须持续联网
  • 14 天无理由全额退款保障(邮件联系即退)
爱发电购买 Pro — ¥79(微信/支付宝)
Bought on Afdian (爱发电)? Retrieve your license key instantly

Enter your Afdian order number (out_trade_no) to claim your RLAB-AFD license key.

Frequently Asked Questions

Does MCPDiet upload my mcp.json or API keys?

Never. Both the web calculator and CLI run 100% locally. License activation sends only your license key and an anonymous SHA-256 machine hash — zero file contents or secrets ever leave your machine.

How does the 3-machine license work?

Each Pro key works on up to 3 devices (e.g., work laptop, personal desktop, Linux workstation) with 30-day offline grace tokens. Need a seat reset after replacing hardware? Email [email protected].

What is your refund policy?

Every Pro purchase includes a 14-day no-questions-asked refund. Just email [email protected] with your Creem or Afdian order ID. See our full Refund Policy.