Get instant second opinions, code reviews, and architecture feedback directly inside Claude.
No context switching. No copy-paste. Just ask.
Uses your own OpenRouter API key — no middleman, no telemetry, you're in control.
30-Second Install • See It Work • Examples • Uninstall
This project was reviewed and improved by GPT-5.2-Codex via OpenRouter — proving the tool works! See the contribution details.
- Instant code review from GPT-5.2-Codex without leaving Claude
- Compare approaches across different LLMs in one conversation
- Catch edge cases by getting a second opinion in seconds
- Stay in flow — no tab switching, no context loss
"Ask GPT-5.2-Codex to review this function" — that's it. Claude handles the rest.
This MCP server lets Claude query 200+ models via OpenRouter — all in the same conversation.
flowchart TD
A["🧑💻 You + Claude Code"] -->|"Ask GPT-5.2-Codex to review"| B["🌉 Claude Hub<br/>MCP Bridge"]
B --> C["🔀 OpenRouter API"]
C --> D["GPT-5.2 Codex"]
C --> E["Gemini 2.5"]
C --> F["DeepSeek R1"]
C --> G["...200+ models"]
D & E & F & G --> H["📨 Response via Claude"]
H --> I["✅ You get the answer"]
Just ask naturally — Claude handles the rest:
You: "Write a function to parse CSV files"
Claude: [writes the function]
You: "Ask GPT-5.2-Codex if there's a better approach"
~~~~~~~~~~~~~~ ← just name the model you want
Claude: [calls OpenRouter API → GPT-5.2-Codex]
Claude: "GPT-5.2-Codex suggests using a streaming parser for large files..."
You: "Good idea, let's update it"
Claude: [updates the code]
No special commands needed. Just say "ask GPT-5.2-Codex", "have Gemini review", "get DeepSeek's opinion" — Claude figures out which model to call.
| Feature | Description |
|---|---|
| 200+ Models | GPT-5.2-Codex, Gemini, DeepSeek, Llama, Mistral, and more |
| Same Session | No switching apps or copying code |
| Your Context | Other models see what you're working on |
| Quick Access | Just ask Claude to get another opinion |
| Requirement | Where to get it |
|---|---|
| Claude Code CLI | claude.ai/download (requires Pro subscription) |
| Node.js 18+ | nodejs.org |
| OpenRouter Account | openrouter.ai (free tier available) |
| OpenRouter API Key | openrouter.ai/keys |
- Download: Click here to download ZIP
- Extract the ZIP file (you'll get
Claude_GPT_MCP-mainfolder) - Open terminal in that folder:
- Windows: Right-click folder → "Open in Terminal"
- Mac: Right-click folder → "New Terminal at Folder"
- Linux: Right-click → "Open Terminal Here"
- Run the installer:
Windows users may need:
./setup.sh
bash setup.sh
git clone https://github.com/stefans71/Claude_GPT_MCP.git
cd Claude_GPT_MCP
./setup.sh1. SSH into your VPS and navigate to your home directory (or wherever Claude Code is installed)
ssh user@your-server.com
cd ~2. Run this one-liner:
curl -sL https://github.com/stefans71/Claude_GPT_MCP/archive/refs/heads/main.tar.gz | tar -xz && cd Claude_GPT_MCP-main && ./setup.shThat's it! This downloads, extracts, and runs setup in one command. No git required.
3. Restart Claude Code and you're ready.
VPS Notes:
- Your OpenRouter API key is stored in
~/.claude.json(passed directly to the MCP server) - For Docker/containerized Claude: set
OPENROUTER_API_KEYas an environment variable
The installer handles everything:
- ✓ Installs dependencies
- ✓ Prompts for your OpenRouter API key
- ✓ Configures Claude Code automatically
Restart Claude Code and you're ready.
"Ask GPT-5.2-Codex to review this function"
"What would Gemini do differently here?"
"Have DeepSeek check this for edge cases"
"Ask GPT-5.2-Codex and Gemini how they'd implement this"
"Get Claude and GPT-5.2-Codex's opinion on this architecture"
"Ask GPT-5.2-Codex to optimize this algorithm"
"Have DeepSeek explain this regex"
"Get Gemini's take on this SQL query"
"What models are available?"
"Show me models good for coding"
"Set my default to GPT-5.2-Codex"
./setup.sh --show-key # View API key (masked)
./setup.sh --help # All options./setup.sh --set-keyOr just ask Claude: "Change my OpenRouter API key"
| Component | Removed? | Details |
|---|---|---|
| OpenRouter from Claude | Yes | Only the "openrouter" entry in ~/.claude.json — your other Claude settings stay intact |
| Your API key | Optional | You choose — the script asks before removing |
| The folder | Manual | You delete it yourself after uninstalling |
Important: This only removes OpenRouter. Your other Claude Code settings and API keys for other services are untouched.
1. Open your terminal
- Windows: Open PowerShell or Command Prompt
- Mac: Open Terminal (Applications → Utilities → Terminal)
- Linux: Open your terminal
2. Navigate to where you installed it
If you downloaded the ZIP:
cd ~/Downloads/Claude_GPT_MCP-main # or wherever you extracted itIf you cloned with git:
cd Claude_GPT_MCP # or wherever you cloned it3. Run the uninstaller
./setup.sh --uninstall4. Follow the prompts
- It will ask to remove OpenRouter from Claude Code → Yes
- It will ask to remove your API key → Your choice (Yes = removes the
OPENROUTER_API_KEYline from your shell config)
5. Restart Claude Code
After running the uninstaller, you can delete the folder:
# First, exit the folder
cd ..
# Then delete it
rm -rf Claude_GPT_MCP-main # if you used ZIP
rm -rf Claude_GPT_MCP # if you used gitWindows users: Just delete the folder normally in File Explorer.
Manual Uninstall (if the script doesn't work)
This works for both ZIP downloads and git clones.
Step 1: Remove OpenRouter from Claude Code config
Open ~/.claude.json in a text editor:
# Mac/Linux
nano ~/.claude.json
# Windows (in PowerShell)
notepad $env:USERPROFILE\.claude.jsonFind and delete ONLY the "openrouter": { ... } section. Keep everything else.
Before:
{
"mcpServers": {
"openrouter": {
"command": "node",
"args": ["/path/to/dist/index.js"]
},
"other-server": { ... }
}
}After:
{
"mcpServers": {
"other-server": { ... }
}
}Step 2: Remove API key (optional)
Open your shell config:
# Mac
nano ~/.zshrc
# Linux
nano ~/.bashrcFind and delete the line:
export OPENROUTER_API_KEY="sk-or-..."
Step 3: Delete the folder
# Mac/Linux
rm -rf /path/to/Claude_GPT_MCP
# Windows - just delete the folder in File Explorer| File | What it does |
|---|---|
~/.claude.json |
Claude Code config + your API key (in env section) |
~/.config/openrouter-mcp/config.json |
Your preferences (default model, favorites) + API key backup |
"OPENROUTER_API_KEY not set"
./setup.sh --set-keyMCP not loading
claude --mcp-debugModel not found
"What models are available?"
This project practices what it preaches. GPT-5.2-Codex reviewed and improved this codebase via OpenRouter, demonstrating real multi-model workflows:
| Reviewed by GPT-5.2-Codex | Improvements Made |
|---|---|
setup.sh |
Fixed macOS compatibility, improved error handling, added config backups |
package.json |
Added missing metadata, keywords, proper exports |
README.md |
Made more enticing, added trust/security section |
This is exactly how the tool is meant to be used — Claude writes code, another model reviews it, and you get better results.
- Your API key stays local — stored only on your machine
- Direct to OpenRouter — requests go straight to OpenRouter, not through any middleman
- No telemetry — we don't collect any data
- Open source — inspect the code yourself
OpenRouter offers a free tier with many models available at no cost. Pay-per-use pricing for premium models. See openrouter.ai/models for current pricing.
Like this project? Give it a ⭐ on GitHub!
Report Bug
•
Discussions
•
Browse Models
Built for Claude Code users who want more perspectives
Apache 2.0 License



