Brainstorm MCP logo

Brainstorm MCP

by spranab

Orchestrates multi-round debates and code reviews among multiple AI models with structured synthesis and flexible modes.

Install Brainstorm MCP

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": {
    "spranab-brainstorm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "brainstorm-mcp"
      ]
    }
  }
}

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

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

This MCP server enables multi-model AI brainstorming sessions by coordinating debates between various LLMs such as GPT, Gemini, DeepSeek, and Claude. It supports hosted mode without API keys and API mode with parallel calls to external providers. Use it to generate diverse perspectives, conduct multi-model code reviews with severity ratings, or run adversarial and Socratic debate styles. It handles multi-round interactions where models critique each other's responses and produces structured verdicts summarizing recommendations and disagreements.

Use cases

  • Compare technology options with instant multi-model perspectives
  • Conduct multi-model code reviews highlighting security and correctness issues
  • Run multi-round AI debates with adversarial or Socratic styles
  • Synthesize diverse AI opinions into structured verdicts
  • Integrate hosted mode brainstorming without requiring API keys

Key features

  • Multi-round debates with parallel model responses
  • Hosted mode using local Claude models without API keys
  • Multi-model code review with findings, severity, and verdicts
  • Debate styles including freeform, red-team, and Socratic
  • Context injection for grounding debates in code or docs
  • Resilient operation continuing despite individual model failures

Tools7

What Brainstorm MCP lets your agent do. Expand a tool for its parameters.

Self-reported~116 tokens of context

Security & health

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

ActiveLast checked 1d ago

Recent health check succeeded.

19/20 checks healthy over the last 78d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev · brainstorm-mcp (npm)

Adoption & maintenance

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

GitHub stars71Stargazers on the source repository.
npm downloads695Package downloads in the last 30 days.
Last commit28d agoMost recent push to the default branch.
Tools exposed7Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

From the project README

brainstorm-mcp

npm npm downloads license IdeaCred Product Hunt

Ask one model a design question and you get one confident answer, with no signal about which parts it is unsure of. Ask three and the disagreement is the signal.

brainstorm-mcp runs multi-round debates between GPT, Gemini, DeepSeek, Claude and local Ollama models from inside your editor: they see and critique each other's answers across rounds, then you get a 3-bullet synthesis — recommendation, key tradeoffs, strongest disagreement. Also does 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.

Quick start (60 seconds)

Terminal
claude mcp add brainstorm -- npx -y brainstorm-mcp

Then ask Claude: "Brainstorm using opus, sonnet, and haiku about whether we should use GraphQL or REST."

That runs in hosted mode: no API keys, no provider accounts. The debate uses the models already available in your environment, and you get the 3-bullet synthesis at the end.

brainstorm-mcp — Claude Opus vs GPT-5.4 vs DeepSeek debating

Demo

Watch the demo

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
  • CLI mode — Debate through agent CLIs you already have (claude, codex, and more) so debates run on your subscription instead of API credits
  • 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

Install

The one-line command under Quick start is enough for hosted mode. Add provider keys to bring GPT, Gemini, DeepSeek, Groq or Ollama into the debate; per-client setup follows.

Claude Code

Add to your project's .mcp.json:

config.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:

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

Manual Install

Terminal
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)

Code
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:

config.json
{
  "providers": {
    "openai": { "model": "gpt-6.1-sol", "apiKeyEnv": "OPENAI_API_KEY" },
    "gemini": { "model": "gemini-3.8-flash", "apiKeyEnv": "GEMINI_API_KEY" },
    "deepseek": { "model": "deepseek-flash", "apiKeyEnv": "DEEPSEEK_API_KEY" },
    "ollama": { "model": "llama3.1", "baseURL": "http://localhost:11434/v1" }
  }
}

Known providers (openai, gemini, deepseek, groq, mistral, together, moonshot, minimax, glm, qwen, xai) don't need a baseURL, and the ones with a built-in default model (openai, gemini, deepseek, moonshot, minimax, glm, qwen, xai) don't need a model either. Use provider:default (e.g. openai:default) to mean a provider's default model.

Env-var detection: OPENAI_API_KEY, GEMINI_API_KEY, DEEPSEEK_API_KEY, MOONSHOT_API_KEY, MINIMAX_API_KEY, ZAI_API_KEY, DASHSCOPE_API_KEY (Qwen), XAI_API_KEY (Grok; GROK_API_KEY also works). Each also accepts <PREFIX>_BASE_URL and <PREFIX>_DEFAULT_MODEL.

ProviderDefault model
openaigpt-6.1-sol (also gpt-6-astra, gpt-6-sol, gpt-6-luna, gpt-5.5)
geminigemini-3.8-flash (gemini-3.1-pro-preview for Pro)
deepseekdeepseek-flash (deepseek-v4-pro)
xaigrok-4.7
moonshotkimi-k3
minimaxMiniMax-M3
glmglm-5.3
qwenqwen3.8-max

Reasoning models (GPT-5/6, o-series, Kimi K3, Gemini 3, DeepSeek V4, Grok 4+, GLM-5, MiniMax M3, Qwen 3.5+) are sent the token budget they need and no temperature; inline <think>…</think> blocks are stripped from replies.

Any model id the provider serves works, including OpenAI's GPT-6 (openai:gpt-6-astra) and the gpt-5.x reasoning models: brainstorm picks the request shape each model expects and retries with the other shape if the API rejects it.

Option 3: CLI Providers (use a subscription, not API credits)

If you already pay for Claude Code, Codex, Gemini CLI, and friends, brainstorm can shell out to those CLIs instead of buying API credits. Any agent CLI found on your PATH is registered automatically at startup — no configuration needed:

Code
[brainstorm] Detected CLI provider(s) on PATH: claude, codex (subscription-based, no API cost)

Use them like any other provider:

config.json
{ "topic": "GraphQL vs REST", "models": ["claude:sonnet", "codex:default", "openai:gpt-6.1-sol"] }

Built-in adapters:

ProviderCommandDefault modelStatus
claudeclaude -psonnetverified
codexcodex execdefaultverified
geminigemini -pdefaultbest-effort, verify locally
cursor-agentcursor-agent -pdefaultbest-effort
opencodeopencode rundefaultbest-effort
qwenqwen -pdefaultbest-effort
kimikimi --printdefaultbest-effort
droiddroid execdefaultbest-effort

<provider>:default means "let the CLI use whatever model it's configured with". CLI calls run with tools disabled and a read-only sandbox where the CLI supports it — they generate text, they don't touch your repo. Provider-specific API key env vars (ANTHROPIC_API_KEY, OPENAI_API_KEY) are stripped from the child process so the CLI falls back to your subscription login.

Env knobs:

VariableEffect
BRAINSTORM_CLI_PROVIDERSauto (default), off, or a comma-separated list of adapters to detect
BRAINSTORM_PREFER_CLI1 — debates with no explicit models use only CLI providers, skipping metered APIs
BRAINSTORM_CLI_TIMEOUT_MSPer-call timeout for CLI providers (default 300000)

To pin a model or add a CLI that isn't built in, use the config file:

config.json
{
  "providers": {
    "claude": { "type": "cli", "model": "opus" },
    "my-cli": {
      "type": "cli",
      "adapter": "custom",
      "command": "some-agent-cli",
      "args": ["run", "--model", "{{model}}", "--quiet", "{{prompt}}"],
      "promptVia": "arg",
      "model": "some-model"
    }
  }
}

Template placeholders: {{model}}, {{system}}, {{prompt}}, {{outfile}}. A lone placeholder that resolves to nothing drops out of the command line along with the flag introducing it, so ["--model", "{{model}}"] works even for provider:default. Set "promptVia": "stdin" to pipe the prompt instead of passing it as an argument.

Coding-plan backends through the Claude CLI

Moonshot (Kimi), MiniMax, and Z.ai (GLM) sell coding-plan subscriptions that speak the Anthropic API. Point the claude binary at one of them and that vendor joins the debate on the plan you already pay for:

config.json
{
  "providers": {
    "moonshot": { "type": "cli", "backend": "moonshot", "model": "kimi-k3" },
    "minimax":  { "type": "cli", "backend": "minimax",  "model": "MiniMax-M3" },
    "glm":      { "type": "cli", "backend": "glm",      "model": "glm-5.3" }
  }
}
BackendEndpointToken env var
moonshothttps://api.moonshot.ai/anthropicMOONSHOT_API_KEY
minimaxhttps://api.minimax.io/anthropicMINIMAX_API_KEY
glmhttps://api.z.ai/api/anthropicZAI_API_KEY

Reviews

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

Frequently Asked Questions about Brainstorm MCP

Yes, hosted mode uses local Claude models (opus, sonnet, haiku) and requires no API keys.

Supports OpenAI, Gemini, DeepSeek, Groq, Ollama, Mistral, Together, and local Claude models.

It runs code diffs through multiple models, aggregates findings with severity and categories, and synthesizes a verdict.

Freeform, red-team (adversarial), and Socratic (probing questions) styles are supported.

The server continues with remaining models and reports which ones failed without aborting the session.

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 PreviewBrainstorm MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/spranab-brainstorm-mcp?style=directory)](https://allmcps.com/mcp/spranab-brainstorm-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/spranab-brainstorm-mcp"><img src="https://allmcps.com/api/badge/spranab-brainstorm-mcp?style=directory" alt="Brainstorm MCP on AllMCPs" /></a>