Polydev logo

Polydev

Query GPT-5, Claude, Gemini, and Grok simultaneously through one MCP server

Install Polydev

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "polydev": {
      "command": "npx",
      "args": [
        "-y",
        "polydev-ai@latest"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command didn't complete successfully in our automated test.

npx -y polydev-ai@latest

::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [npm install polydev-ai@latest] 11: 0x109ce26 v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [npm install polydev-ai@latest] 12: 0x14f7c56 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [npm install polydev-ai@latest] 13: 0x1931ef6 [npm install polydev-ai@latest]

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 6d ago.

Overview

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 3d ago

Recent health check succeeded.

8/8 checks healthy over the last 50d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev · polydev-ai@latest (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads975Package downloads in the last 30 days.
Last commit8mo agoMost recent push to the default branch.
Install checkInconclusiveInstall command did not finish in our automated test.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

From the project README

Polydev

Polydev Logo

Multi-model AI perspectives for your coding agents
Query GPT-5, Claude, Gemini, and Grok simultaneously through one MCP server

npm version SWE-bench Verified License: MIT


🚀 One-Command Install

Claude Code

Terminal
claude mcp add polydev -- npx -y polydev-ai@latest

Cursor / Windsurf / Cline

Terminal
npx polydev-ai@latest

OpenAI Codex CLI

Terminal
npx polydev-ai@latest

Get your token at polydev.ai/dashboard/mcp-tokens


Why Polydev?

Stop copy-pasting between ChatGPT, Claude, and Gemini. Get all their perspectives in your IDE with one request.

MetricResult
SWE-bench Verified74.6% Resolve@2
Cost vs Claude Opus62% lower
Response time10-40 seconds

"Different models have different blind spots. Combining their perspectives eliminates yours."


How It Works

Code
Your Agent → Polydev MCP → [GPT-5, Claude, Gemini, Grok] → Synthesized Answer

When your AI agent gets stuck, Polydev consults multiple frontier models simultaneously and returns their combined perspectives. One request, four expert opinions.


Quick Start

Option 1: Use Hosted Service (Recommended)

Get started instantly at polydev.ai

Step 1: Install the MCP server

Terminal
npx polydev-ai@latest

Step 2: Set your token (get it from polydev.ai/dashboard/mcp-tokens)

server.ts
export POLYDEV_USER_TOKEN="pd_your_token_here"

Option 2: Self-Host with Your Own API Keys

Step 1: Clone and install

sh
git clone https://github.com/polydev-ai/polydev.git
sh
cd polydev && npm install

Step 2: Configure environment

sh
cp .env.example .env.local

Step 3: Add your API keys to .env.local and run

Terminal
npm run dev

IDE Configuration

Claude Code

One command:

Terminal
claude mcp add polydev -- npx -y polydev-ai@latest

Or add to ~/.claude.json:

config.json
{
  "mcpServers": {
    "polydev": {
      "command": "npx",
      "args": ["-y", "polydev-ai@latest"],
      "env": {
        "POLYDEV_USER_TOKEN": "pd_your_token_here"
      }
    }
  }
}

Cursor / Windsurf / Cline

Add to your MCP config (usually ~/.cursor/mcp.json or similar):

config.json
{
  "mcpServers": {
    "polydev": {
      "command": "npx",
      "args": ["-y", "polydev-ai@latest"],
      "env": {
        "POLYDEV_USER_TOKEN": "pd_your_token_here"
      }
    }
  }
}

OpenAI Codex CLI

Add to ~/.codex/config.toml:

toml
[mcp_servers.polydev]
command = "npx"
args = ["-y", "polydev-ai@latest"]

[mcp_servers.polydev.env]
POLYDEV_USER_TOKEN = "pd_your_token_here"

[mcp_servers.polydev.timeouts]
tool_timeout = 180
session_timeout = 600

Usage

Once connected, your agent can call:

config.json
{
  "tool": "get_perspectives",
  "arguments": {
    "prompt": "How should I refactor this authentication flow?"
  }
}

Or just mention "polydev" or "perspectives" in your prompt:

Code
"Use polydev to debug this infinite loop"
"Get perspectives on: Should I use Redis or PostgreSQL for caching?"

Use Your Existing CLI Subscriptions

Already paying for ChatGPT Plus, Claude Pro, or Gemini Advanced? Use those subscriptions directly through your CLI tools.

SubscriptionCLI ToolSetup
Claude Pro ($20/mo)Claude Codeclaude login
ChatGPT Plus ($20/mo)Codex CLIcodex login
Gemini Advanced ($20/mo)Gemini CLIgemini login

Polydev can route requests through your authenticated CLI sessions — your subscription quota is used, no extra API costs.


Self-Hosting

Requirements

  • Node.js 18+
  • PostgreSQL (or Supabase)
  • API keys for the models you want to use

Environment Variables

Create a .env.local file:

sh
# Database
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key

# AI Providers (add the ones you want)
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
GOOGLE_API_KEY=...
XAI_API_KEY=...

Database Setup

sh
cd supabase && supabase db push

Run

Terminal
npm run dev

Research

Our approach achieves 74.6% on SWE-bench Verified (Resolve@2), matching Claude Opus at 62% lower cost.

ApproachResolution RateCost/Instance
Claude Haiku (baseline)64.6%$0.18
+ Polydev consultation66.6%$0.24
Resolve@2 (best of both)74.6%$0.37
Claude Opus (reference)74.4%$0.97

Read the full paper →


Project Structure

Code
polydev/
├── src/                    # Next.js application
│   ├── app/               # App router pages & API routes
│   ├── components/        # React components
│   ├── hooks/             # Custom React hooks
│   └── lib/               # Utilities and services
├── mcp/                   # MCP server implementation
├── supabase/              # Database migrations
├── docs/                  # Documentation
└── public/                # Static assets

Contributing

Contributions are welcome! Please read our contributing guidelines before submitting PRs.

sh
# Fork the repository, then:
git clone https://github.com/YOUR_USERNAME/polydev.git
sh
cd polydev && npm install
sh
git checkout -b feature/amazing-feature
sh
git commit -m 'Add amazing feature'
sh
git push origin feature/amazing-feature

Then open a Pull Request.


Links


License

MIT License - see LICENSE for details.


Built by Polydev AI
Multi-model consultation for better code

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Polydev

polydev is an MCP server that lets coding agents query GPT-5, Claude, Gemini, and Grok simultaneously and receive synthesized perspectives through one request. It can be installed with npx using the polydev-ai package, configured with a Polydev user token, or self-hosted with your own API keys.

Install polydev by running `npx polydev-ai@latest`. Claude Code users can run `claude mcp add polydev -- npx -y polydev-ai@latest`; Cursor, Windsurf, Cline, and OpenAI Codex CLI users can add the npx command to their MCP configuration.

Get a Polydev user token from https://polydev.ai/dashboard/mcp-tokens. Set it in the `POLYDEV_USER_TOKEN` environment variable, such as `export POLYDEV_USER_TOKEN="pd_your_token_here"`, or include it in your MCP server configuration.

Use polydev by calling the `get_perspectives` tool with a prompt, for example `{"prompt":"How should I refactor this authentication flow?"}`. You can also mention “polydev” or “perspectives” in your prompt to request multiple model perspectives.

Yes, you can self-host polydev with your own API keys. Clone the repository, run `npm install`, copy `.env.example` to `.env.local`, add your API keys, and start the server with `npm run dev`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPolydev AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/polydev?style=directory)](https://allmcps.com/mcp/polydev)
HTML Embed
<a href="https://allmcps.com/mcp/polydev"><img src="https://allmcps.com/api/badge/polydev?style=directory" alt="Polydev on AllMCPs" /></a>