Featured

Deploy OpenClaw in 60 seconds β€” 20% off logoDeploy OpenClaw in 60 seconds β€” 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger β†’
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger β†’
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free β†’
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now β†’
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data β€” no proxies, no parsers, no maintenance.

Start building free β†’
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it β€” secured from day one.

Get it set up for you β†’
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free β†’
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here β†’

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

brainstorm-mcp MCP server](https://glama.ai/mcp/servers/@spranab/brainstorm-mcp/badges/score.svg)](https://glama.ai/mcp/servers/@spranab/brainstorm-mcp) πŸ“‡ 🏠 🍎 πŸͺŸ 🐧 - Multi-round AI brainstorming debates between multiple models (GPT, Gemini, DeepSeek,...

README.md

<!-- mcp-name: io.github.spranab/brainstorm-mcp -->

brainstorm-mcp

![npm](https://www.npmjs.com/package/brainstorm-mcp) ![IdeaCred](https://ideacred.com/profile/spranab) ![Product Hunt](https://www.producthunt.com/products/brainstorm-3?launch=brainstorm-4)

Multi-model AI brainstorming MCP server. Orchestrates debates between GPT, Gemini, DeepSeek, and Claude with structured synthesis. Includes instant quick mode, multi-model code review with verdicts, and red-team/Socratic styles. Hosted mode needs zero API keys.

Don't trust one AI. Make them argue.

<p align="center"> <img src="docs/hero.png" alt="brainstorm-mcp β€” Claude Opus vs GPT-5.4 vs DeepSeek debating" width="800"/> </p>

Demo

![Watch the demo](https://youtu.be/L5kli5_fgkI)

Click to watch: 3 models debate, cross-examine, and produce a structured verdict β€” all inside Claude Code.

Features

  • Hosted mode β€” No API keys needed. Uses models in your environment (Claude Opus/Sonnet/Haiku) via sub-agents
  • API mode β€” Direct model API calls with parallel execution across OpenAI, Gemini, DeepSeek, Groq, Ollama
  • brainstorm_quick β€” Instant multi-model perspectives in under 10 seconds
  • brainstorm_review β€” Multi-model code review with structured findings, severity ratings, and verdicts
  • Debate styles β€” Freeform, red-team (adversarial), and Socratic (probing questions)
  • Context injection β€” Ground debates in actual code, diffs, or architecture docs
  • 3-bullet synthesis verdicts β€” Recommendation, Key Tradeoffs, Strongest Disagreement
  • Claude as participant β€” Claude debates alongside external models with full conversation context
  • Multi-round debates β€” Models see and critique each other's responses across rounds
  • Parallel execution β€” All models respond concurrently within each round
  • Resilient β€” One model failing doesn't abort the debate
  • Cross-platform β€” Works on macOS, Windows, and Linux

Installation

Claude Code

Add to your project's .mcp.json:

{
  "mcpServers": {
    "brainstorm": {
      "command": "npx",
      "args": ["-y", "brainstorm-mcp"],
      "env": {
        "OPENAI_API_KEY": "sk-...",
        "GEMINI_API_KEY": "AIza...",
        "DEEPSEEK_API_KEY": "sk-..."
      }
    }
  }
}

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "brainstorm": {
      "command": "npx",
      "args": ["-y", "brainstorm-mcp"],
      "env": {
        "OPENAI_API_KEY": "sk-...",
        "DEEPSEEK_API_KEY": "sk-..."
      }
    }
  }
}

Manual Install

npm install -g brainstorm-mcp
brainstorm-mcp

Hosted mode requires no API keys β€” just install and go. The host (Claude Code) executes prompts using its own model access.

Configuration

Option 1: Environment Variables (simplest)

OPENAI_API_KEY=sk-...
GEMINI_API_KEY=AIza...
DEEPSEEK_API_KEY=sk-...

Option 2: Config File (full control)

Set BRAINSTORM_CONFIG to point to a JSON config:

{
  "providers": {
    "openai": { "model": "gpt-5.4", "apiKeyEnv": "OPENAI_API_KEY" },
    "gemini": { "model": "gemini-2.5-flash", "apiKeyEnv": "GEMINI_API_KEY" },
    "deepseek": { "model": "deepseek-chat", "apiKeyEnv": "DEEPSEEK_API_KEY" },
    "ollama": { "model": "llama3.1", "baseURL": "http://localhost:11434/v1" }
  }
}

Known providers (openai, gemini, deepseek, groq, mistral, together) don't need a baseURL.

Tools

| Tool | Description | Annotation | |------|-------------|------------| | brainstorm | Multi-round debate between AI models (API or hosted mode) | readOnly | | brainstorm_quick | Instant multi-model perspectives β€” parallel, no rounds | readOnly | | brainstorm_review | Multi-model code review with findings, severity, verdict | readOnly | | brainstorm_respond | Submit Claude's response in an interactive session | readOnly | | brainstorm_collect | Submit model responses in a hosted session | readOnly | | list_providers | Show configured providers and API key status | readOnly | | add_provider | Add a new AI provider at runtime | non-destructive |

Usage Examples

Example 1: Quick Multi-Model Perspectives

Prompt: "Use brainstorm_quick to compare Redis vs PostgreSQL for session storage"

Tool called: brainstorm_quick ``json { "topic": "Redis vs PostgreSQL for session storage in a Node.js app" } ``

Output: Each configured model responds independently in parallel. You get a side-by-side comparison in under 10 seconds with model names, responses, timing, and cost.

Error handling: If a model fails (rate limit, timeout), the tool continues with remaining models and shows which ones failed.

---

Example 2: Multi-Model Code Review

Prompt: "Review this diff for security issues" (with a git diff pasted)

Tool called: brainstorm_review ``json { "diff": "diff --git a/src/auth.ts ...", "title": "Add JWT authentication middleware", "focus": ["security", "correctness"] } ``

Output: A structured verdict (approve / approve with warnings / needs changes) with a findings table showing severity, category, file, line numbers, and suggestions. Includes model agreement analysis β€” issues flagged by multiple models have higher confidence.

Error handling: If synthesis fails, raw model reviews are still returned.

---

Example 3: Hosted Mode Brainstorm (No API Keys)

Prompt: "Brainstorm using opus, sonnet, and haiku about whether we should use GraphQL or REST"

Tool called: brainstorm ``json { "topic": "GraphQL vs REST for our public API", "models": ["opus", "sonnet", "haiku"], "mode": "hosted", "rounds": 2, "style": "redteam" } ``

Output: The tool returns prompts for each model. The host (Claude Code) spawns sub-agents with different models, collects responses, and feeds them back via brainstorm_collect. After all rounds, a synthesis model produces a 3-bullet verdict: Recommendation, Key Tradeoffs, Strongest Disagreement.

Error handling: Sessions expire after 10 minutes. If a session is not found, a clear error message is returned with instructions to start a new one.

How It Works

API Mode

  1. You ask Claude to brainstorm a topic
  2. The tool sends the topic to all configured AI models in parallel
  3. Claude reads their responses and contributes its own perspective
  4. Models see each other's responses and refine across rounds
  5. A synthesizer produces the final verdict

Hosted Mode

  1. You ask Claude to brainstorm with specific models (e.g., opus, sonnet, haiku)
  2. The tool returns prompts β€” no API calls are made
  3. Claude spawns sub-agents with different models to execute prompts
  4. Responses are collected and fed back for the next round
  5. Repeat until synthesis

Privacy Policy

brainstorm-mcp runs entirely on your machine and does not collect, store, or transmit any personal data, telemetry, or analytics.

In API mode, prompts are sent directly from your machine to the model providers you configure (OpenAI, Gemini, DeepSeek, etc.) using your own API keys. In hosted mode, no external API calls are made.

Debate sessions are stored in-memory only with a 10-minute TTL. No data is written to disk unless you explicitly save results.

Full privacy policy: PRIVACY.md

Support

  • Issues: https://github.com/spranab/brainstorm-mcp/issues
  • Email: developer@pranab.co.in
  • Repository: https://github.com/spranab/brainstorm-mcp

Development

git clone https://github.com/spranab/brainstorm-mcp.git
cd brainstorm-mcp
npm install
npm run build
npm start

License

MIT

See related servers & alternatives β†’

Related MCP servers

Browse all β†’

Related guides

Hand-picked reading to help you choose and use AI & ML servers.