megapad
v0.1.0
Published
Open Multi-Model AI Control Surface & Native MCP Server — Run Claude Fable 5.1, GPT-6 Astra, DeepSeek V4.1 Flash, and Gemini 3.8 in parallel
Maintainers
Readme
⚡ MegaPad CLI & Native MCP Server
Run Claude, ChatGPT, DeepSeek & Gemini in Parallel
Scientific Multi-Model Benchmarking & Token Cost Slasher for Claude Code, Cursor, and Terminal.
Quickstart · Token & Cost Analytics · Claude Code / Cursor · Piping Support
⚡ Quickstart
Run a multi-model comparison on any coding problem in one command (no install required):
npx megapad compare "How do I optimize this query?"Executes across your available models in parallel and displays latency, generation speed (tok/s), exact token metrics, and cost savings vs Claude.
🤖 Claude Code & Cursor Integration
Add MegaPad directly into your AI coding agent as a Native Model Context Protocol (MCP) server:
1-Click Auto Configurator
npx megapad installAuto-detects and writes config for Claude Code (~/.claude.json), Cursor (~/.cursor/mcp.json), and Codex CLI (~/.codex/config.toml).
Or Add Directly to Claude Code
claude mcp add megapad -- npx -y megapadTry These Inside Claude:
"Compare Claude Fable 5.1 vs DeepSeek V4.1 on this algorithm""Consult DeepSeek R1 for a second opinion on this database schema""Run a multi-model code review council on this file with GPT-6 Astra & Gemini 3.8"
📊 Scientific Benchmarks
Every query gives you high-resolution latency, tokens per second, and dollar cost comparisons:
| Provider / Model | Status | Latency | Speed | Cost (USD) | vs Claude Cost | | :--- | :---: | :---: | :---: | :---: | :---: | | DeepSeek V4.1 Flash | ✔ OK | 890ms | 185 tok/s | $0.00010 | ⚡ 98% Cheaper | | Gemini 3.8 Flash | ✔ OK | 940ms | 145 tok/s | $0.00000 | 🎉 100% Free ($0) | | ChatGPT (Subscription) | ✔ OK | 820ms | 125 tok/s | $0.00000 | 🎉 $0 Extra (Sub) | | GPT-6 Astra / Sol | ✔ OK | 1,020ms | 130 tok/s | $0.00280 | ⚡ 30% Cheaper | | Claude Fable 5.1 / Sonnet 5 | ✔ OK | 1,140ms | 110 tok/s | $0.00400 | Base (100%) |
🛠️ Pipe Any Input
Pipe terminal output, compiler errors, or git diffs directly into MegaPad:
# Diagnose error logs across multiple models
cat error.log | npx megapad "Diagnose this failure"
# Multi-model review of your git staging
git diff --staged | npx megapad "Review these changes for race conditions"🔑 Subscriptions & API Keys
MegaPad automatically detects your existing CLI subscriptions and local environment keys:
- ChatGPT / OpenAI: Reads your local Codex login session or
OPENAI_API_KEY. - Claude: Uses your active Claude Code session or
ANTHROPIC_API_KEY. - DeepSeek: Reads
DEEPSEEK_API_KEY(from environment or~/.env). - Gemini: Free tier quota (15 RPM free forever) or
GEMINI_API_KEY. - Local Models: Connects to local Ollama / LM Studio on
http://localhost:11434.
📄 License
MIT © Eugene Finch & MegaPad Contributors
