Skip to main content
Glama

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.

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

Related MCP server: roundtable-mcp

Install (60 seconds)

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

That is enough for hosted mode (no API keys — it debates using the models already available in your environment). Add provider keys to bring GPT, Gemini, DeepSeek, Groq or Ollama into the debate.

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, moonshot, minimax, glm, qwen) don't need a baseURL.

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:

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

Use them like any other provider:

{ "topic": "GraphQL vs REST", "models": ["claude:sonnet", "codex:default", "openai:gpt-5.4"] }

Built-in adapters:

Provider

Command

Default model

Status

claude

claude -p

sonnet

verified

codex

codex exec

default

verified

gemini

gemini -p

gemini-2.5-pro

best-effort, verify locally

cursor-agent

cursor-agent -p

default

best-effort

opencode

opencode run

default

best-effort

qwen

qwen -p

qwen3-coder-plus

best-effort

kimi

kimi --print

default

best-effort

droid

droid exec

default

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

Variable

Effect

BRAINSTORM_CLI_PROVIDERS

auto (default), off, or a comma-separated list of adapters to detect

BRAINSTORM_PREFER_CLI

1 — debates with no explicit models use only CLI providers, skipping metered APIs

BRAINSTORM_CLI_TIMEOUT_MS

Per-call timeout for CLI providers (default 300000)

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

{
  "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:

{
  "providers": {
    "moonshot": { "type": "cli", "backend": "moonshot", "model": "kimi-k2-thinking" },
    "minimax":  { "type": "cli", "backend": "minimax",  "model": "MiniMax-M2" },
    "glm":      { "type": "cli", "backend": "glm",      "model": "glm-4.6" }
  }
}

Backend

Endpoint

Token env var

moonshot

https://api.moonshot.ai/anthropic

MOONSHOT_API_KEY

minimax

https://api.minimax.io/anthropic

MINIMAX_API_KEY

glm

https://api.z.ai/api/anthropic

ZAI_API_KEY

The token is read from your environment at call time — the config file holds the variable name, never the secret. ANTHROPIC_API_KEY is stripped from the child so your Anthropic account is never billed for these. Any CLI provider also accepts an "env" block to override the backend manually; a value of "$NAME" indirects through the server's environment.

These vendors are reachable as plain metered APIs too — moonshot, minimax, glm and qwen have known base URLs, so MOONSHOT_API_KEY alone is enough to register moonshot as an API provider.

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, API key status, and detected CLIs

readOnly

add_provider

Add a new API or CLI 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

{ "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

{
  "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

{
  "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 / CLI Mode

  1. You ask Claude to brainstorm a topic

  2. The tool sends the topic to all configured providers in parallel — HTTP for API providers, a spawned subprocess for CLI providers

  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 CLI mode, prompts are passed to agent CLIs installed on your machine, which talk to their own vendors under your existing subscription. 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

Development

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

Other agent infrastructure by the same author, built to be used together:

  • saga-mcp — SQLite-backed project tracker: once the debate settles, the decision goes somewhere durable.

  • yantrikdb-mcp — persistent cognitive memory so the agent remembers what you decided and why.

  • swarmcode — real-time channel between Claude Code instances on different machines.

  • truenas-mcp — 278 TrueNAS SCALE actions behind one hierarchical tool.

  • mcpier — self-hosted MCP control plane that keeps API keys off your clients.

License

MIT

Available Tools

7 tools
add_providerA

Add a new AI provider for brainstorming. Supports any OpenAI-compatible API, or a locally installed agent CLI (kind='cli') that runs on an existing subscription instead of API credits.

ParametersJSON Schema
NameRequiredDescriptionDefault
argsNocli only ('custom' adapter): argv template. Placeholders: {{model}}, {{system}}, {{prompt}}, {{outfile}}.
kindNo'api' (default) for an OpenAI-compatible HTTP endpoint, 'cli' for a local agent CLI.
nameYesProvider name, e.g. 'groq', 'ollama', 'mistral', 'claude'
adapterNocli only: built-in adapter — claude, codex, gemini, qwen, kimi, cursor-agent, opencode, droid — or 'custom'. Defaults to the provider name.
backendNocli only: run the Claude CLI against another vendor's coding plan — moonshot, minimax, glm. Overrides 'adapter'.
baseURLNoapi only: base URL, e.g. 'http://localhost:11434/v1' for Ollama
commandNocli only: executable to run. Required for adapter 'custom'.
promptViaNocli only ('custom' adapter): how the prompt reaches the CLI.
apiKeyEnvVarNoapi only: environment variable holding the API key. Use 'NONE' if no key required.
defaultModelYesDefault model for this provider, e.g. 'llama3', 'sonnet'. Use 'default' to let a CLI pick its own.

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only provide destructiveHint=false, leaving the behavioral burden mostly on the description. The description usefully conveys that the tool supports API and CLI modes and that CLI mode uses an existing subscription instead of API credits. However, it doesn't disclose side effects like whether the provider is persisted, whether it overrides existing providers, or what happens on invalid configurations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is exactly two sentences and immediately states the purpose and the two supported modes. There is no redundancy, and the most valuable scope information is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the high complexity (10 params, no output schema), the description provides a helpful high-level framing that complements the fully self-describing schema. The only clear gap is that the description doesn't cover return values or post-add confirmation behavior, but the schema details all parameters well.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description doesn't add significant value beyond the schema; it merely echoes the CLI/API distinction already present in field descriptions. It does not clarify conditional requirements or the relationship between adapter, backend, and command beyond what the schema contains.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb (Add) and explicit resource (new AI provider for brainstorming), and distinguishes this from siblings like list_providers and brainstorm tools. It clearly identifies both supported modes: OpenAI-compatible APIs and local CLI providers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear context for when to use the tool: adding a provider for brainstorming, with either API or CLI. It doesn't explicitly say when not to use it or name alternatives like list_providers, but the context is specific enough for an agent to select it over purely brainstorming or listing tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

brainstormA
Read-only

Run a multi-round brainstorming debate between multiple AI models. IMPORTANT: Before calling this tool, you MUST ask the user to choose a mode:

  1. API mode — Calls configured providers. These are either HTTP APIs billed per token (OpenAI, Gemini, DeepSeek, ...) or locally installed agent CLIs such as 'claude' and 'codex', which run on the user's existing subscription at no API cost. Call list_providers to see which of each are available.

  2. Hosted mode — No API keys needed. You execute prompts using sub-agents with models available in your environment (opus/sonnet/haiku, GPT, Gemini, etc.). Same model can be used multiple times — each run produces different perspectives.

Present these two options to the user with a one-liner explanation, then proceed based on their choice.

For API mode: set mode='api'. When participate=true (default), YOU also participate as a debater alongside external models via brainstorm_respond. For Hosted mode: set mode='hosted'. Ask the user which models to use, then spawn sub-agents for each model, collect responses, and call brainstorm_collect.

ParametersJSON Schema
NameRequiredDescriptionDefault
modeNoExecution mode. Must be provided — if not, the tool will return options for the user to choose. 'api' — MCP server calls model APIs directly using configured API keys. 'hosted' — No API keys needed. Returns prompts for the HOST to execute using sub-agents with models available in the environment (opus/sonnet/haiku, GPT, Gemini, etc.).
styleNoDebate style. 'freeform' (default): open brainstorming. 'redteam': adversarial — models find flaws, risks, and weaknesses. 'socratic': probing questions that expose assumptions and push for deeper understanding.freeform
topicYesThe topic, question, or prompt to brainstorm about
modelsNoOptional: specific models to use as 'provider:model' (e.g. 'openai:gpt-4o', or 'claude:sonnet' / 'codex:default' for subscription-backed CLI providers). If not provided, all configured providers are used with their default models.
roundsNoNumber of debate rounds (default: 3)
contextNoOptional context to ground the debate — code snippets, PR diffs, error logs, architecture docs, etc. Models will see this alongside the topic.
participateNoWhether Claude should actively participate as a debater in each round (default: true). Set to false for a non-interactive debate between external models only.
synthesizerNoOptional: model for final synthesis as 'provider:model'. Defaults to the first model.
systemPromptNoOptional system prompt to guide the brainstorming style or constraints

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description discloses detailed side effects beyond annotations: API mode calls external APIs with billing implications, hosted mode spawns sub-agents with environment models, and participation behavior via brainstorm_respond when participate=true. It also notes that if mode is omitted, the tool returns options. This is far richer than the readOnlyHint alone.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is long but well-structured with clear sections, bolding, and lists. Every sentence conveys required operational details—nothing is redundant. While it could arguably be trimmed, the complexity of the tool's dual modes justifies the length. It is not flabby; it is dense and purposeful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 9 parameters, no output schema, and complex branching (API vs hosted), the description covers prerequisites, alternatives, and step-by-step invocation guidance. It explains the full flow including how to use sibling tools (list_providers, brainstorm_respond, brainstorm_collect) and the host's role. It does not describe return values, but that is acceptable since no output schema is provided and the focus is on executing the tool properly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already provides 100% coverage for all parameters, so the baseline is 3. The description adds extra meaning by explaining how mode interacts with user choice, prompts the use of list_providers, and clarifies the participate flag's role (via brainstorm_respond in API mode). It also clarifies the models format ('provider:model') implicitly through examples in the schema description. This elevates it above the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool runs a multi-round brainstorming debate between multiple AI models. It specifies the verb (run), the resource (debate), and distinguishes itself from sibling tools like brainstorm_quick (presented as a quick version) and brainstorm_respond/collect (which are sub-components).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly instructs the agent to ask the user to choose a mode before calling, explains both modes with one-liners, and directs the agent to use list_providers for available providers. It also tells what to do in hosted mode (ask which models to use, spawn sub-agents) and clarifies when to set mode='api' vs 'hosted'. Clear guidance on when to use and how to proceed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

brainstorm_collectA
Read-only

Submit collected model responses for a hosted brainstorm session. After receiving prompts from brainstorm (mode='hosted') or a previous brainstorm_collect call, execute each prompt by spawning a sub-agent for EACH model (use the model parameter to select the right model, e.g., model='sonnet' or model='haiku'). Collect all responses and submit them here. This tool returns either: (1) the next round's prompt to execute, (2) a synthesis prompt for a single model, or (3) the final formatted debate result when complete.

ParametersJSON Schema
NameRequiredDescriptionDefault
responsesYesArray of model responses collected by the host
session_idYesThe session ID from the brainstorm tool

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations include readOnlyHint: true, which already signals a non-destructive operation. The description adds transparency by explaining the three return outcomes (next prompt, synthesis prompt, final result) and the nested structure of responses required, without conflicting with the annotation. It could mention whether the session state is updated, but the return-value description suffices.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is verbose but appropriately detailed for a multi-step workflow. It avoids redundancy and clearly structures the steps and return types. Some minor redundancy exists (e.g., repeating 'brainstorm' mode), but it remains readable and direct.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With readOnlyHint already provided, the description covers the tool's purpose, usage sequence, return types, and parameter details. It lacks mention of error conditions or session expiration, but for the tool's complexity, this is sufficient. Overall, it gives the agent enough context to use the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All two required parameters (session_id and responses) are fully described in the schema with clear semantics. The description further clarifies the 'model' parameter by giving examples ('sonnet' or 'haiku') and emphasizes the requirement to collect responses for each model, enhancing the schema's clarity. Coverage is 100%.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Submit collected model responses for a hosted brainstorm session.' It specifies the exact action (submit responses) and the resource (brainstorm session), and distinguishes it from siblings by referencing the workflow of the `brainstorm` tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit when-to-use guidance: after receiving prompts from `brainstorm` (mode='hosted') or a previous `brainstorm_collect` call. It also explains the required workflow (execute each prompt per model using the model parameter) and lists the three possible return types, giving clear context for invocation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

brainstorm_quickA
Read-only

Get instant multi-model perspectives on any question — no debate rounds, no synthesis delay. Fires all models in parallel and returns a compact comparison. Under 10 seconds. Use this for quick second opinions, snap decisions, or when you want diverse perspectives fast. For deeper analysis with multiple rounds and synthesis, use the brainstorm tool instead.

ParametersJSON Schema
NameRequiredDescriptionDefault
styleNoPerspective style (default: freeform)freeform
topicYesThe question or topic to get quick perspectives on
modelsNoOptional: specific models as 'provider:model' (API providers, or CLI providers like 'claude:sonnet' that use a subscription instead of API credits). If not provided, all configured providers are used.
contextNoOptional context — code snippets, error logs, etc. Models will see this alongside the topic.

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotation `readOnlyHint: true` tells the agent this is a read operation. The description adds useful behavioral context: parallel model firing, compact comparison output, no debate rounds, no synthesis delay, and the under-10-second expectation. It does not mention potential rate limiting or model failure behavior, but this is beyond the essential disclosure for this tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences, front-loaded with the core behavior, and each sentence earns its place: what it does, the key guarantees, and when to use it vs. the alternative.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the 4-parameter schema, readOnlyHint annotation, and no output schema, this description is sufficiently complete. It covers the tool's behavior, timing, return format (compact comparison), and the sibling-tool boundary. No critical context for selection or invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all four parameters are already well-documented. The description adds little parameter-level meaning beyond what the schema states, though it indirectly emphasizes the default behavior of firing all models in parallel.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: getting instant multi-model perspectives via parallel calls. It explicitly distinguishes this from the `brainstorm` sibling tool by contrasting quick versus deep analysis with rounds and synthesis.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit usage guidance: use for quick second opinions, snap decisions, or diverse perspectives fast. It also names the alternative `brainstorm` for deeper analysis, making the decision between siblings clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

brainstorm_respondA
Read-only

Submit YOUR (Claude's) response for the current round of an interactive brainstorm session. After the brainstorm tool returns external models' responses, call this tool with your substantive contribution. Read all responses carefully and engage with specific points — agree, disagree, build upon, or challenge ideas. Do not just summarize. After your response, the next round runs automatically (or synthesis if final round).

ParametersJSON Schema
NameRequiredDescriptionDefault
responseYesYour substantive contribution to this round of the debate. Engage deeply with the other models' responses. Minimum 50 characters.
session_idYesThe session ID returned by the brainstorm tool

TDQS

A3.7/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description says 'Submit' and 'call' implying a write operation, but the annotation readOnlyHint: true indicates read-only. This contradiction makes the score 1 per instructions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is moderately concise, front-loads the main purpose, but includes instructional details (like 'Read all responses carefully') that could be trimmed without losing clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the schema descriptions, the description provides sufficient context on when to use the tool and what to do, though it does not address edge cases like multiple calls or error handling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already provides descriptions for both session_id and response, and the description adds contextual flavor (e.g., 'substantive contribution') but no new semantic information beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states the tool submits Claude's response for the current round, and distinguishes from siblings by referencing the brainstorm tool and the condition after external models return.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says to call this tool after the brainstorm tool returns external models' responses, and provides guidance on what to do (read, engage, not summarize) and the automatic next-round behavior.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

brainstorm_reviewA
Read-only

Multi-model code review. Pass a diff and get structured findings with severity, file/line references, and a verdict (approve / approve with warnings / needs changes). Multiple models review independently, then findings are synthesized and deduplicated. Use this for PR reviews, code audits, or pre-commit checks.

ParametersJSON Schema
NameRequiredDescriptionDefault
diffYesThe unified diff to review (e.g., output of `git diff`)
focusNoOptional: focus areas for the review. Default: all categories.
titleNoOptional: PR title or change summary for context
modelsNoOptional: specific models as 'provider:model'. Default: all configured providers.
descriptionNoOptional: PR description or commit message
instructionsNoOptional: repo-specific review instructions (e.g., 'we use strict null checks', 'focus on SQL injection risks')

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint: true, so the safety profile is clear. The description adds process transparency: multiple models review independently, findings are synthesized and deduplicated, and it states the output verdict types. This enriches understanding beyond the annotation without contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise—three sentences with a clear front-loaded purpose. Each sentence adds value: what it does, how it works, and when to use it. No filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Without an output schema, the description compensates by outlining the output structure (severity, file/line refs, verdict). It covers the main workflow and use cases, leaving parameter specifics to the schema. Adequate for an agent to invoke correctly, though it could mention how to format the diff or handle errors.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% with all six parameters explained. The description itself adds minimal parameter detail beyond stating 'Pass a diff' and mentioning the verdict values. Since the schema already covers parameter meaning, the description does not significantly enhance understanding, matching the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Multi-model code review' and specifies the action: pass a diff and receive structured findings with severity, file/line references, and a verdict. It also lists concrete use cases (PR reviews, code audits, pre-commit checks), distinguishing it from sibling brainstorming tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says 'Use this for PR reviews, code audits, or pre-commit checks,' providing clear when-to-use guidance. It does not explicitly mention when not to use it or alternative tools, but the context is specific enough for typical scenarios.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_providersA
Read-only

List all configured AI providers and their default models for brainstorming. Includes locally installed agent CLIs (claude, codex, ...) which run on an existing subscription instead of metered API credits.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already declare readOnlyHint=true, so the read-only behavior is covered, leaving the description free to add detail about the inclusion of locally installed CLIs and their subscription-based billing, which is useful. It doesn't describe the response structure or pagination, but the absence of parameters suggests a simple listing, so this is adequate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no fluff. The first clearly states the primary purpose, and the second adds crucial context about the local CLIs and billing model. Every word earns its place, and it's front-loaded with the key action.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (no params, no output schema), but the description covers the essential details: what is listed, the nuance of local CLIs versus API-based, and the billing context. It could mention that the output is in a structured format, but the lack of output schema and the simplicity of the task don't demand more.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With zero parameters, the description's job is to clarify what the tool returns, which it does by specifying the content: providers, default models, and the local CLI variants. Since there are no parameters, it maximizes clarity about the output, making this a strong score.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool lists configured AI providers and their default models, and it explicitly distinguishes its scope by including locally installed agent CLIs. This differentiates it from sibling tools like brainstorm (which likely generates ideas) and add_provider (which modifies providers).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It implies usage as a discovery tool for available providers, noting that some run on subscriptions rather than metered API credits, which helps in selecting providers for brainstorming. However, it doesn't explicitly state when not to use it or brand it as a read-only complement to add_provider; the context is clear but exclusions are absent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 6 tool updatesv1.6.0
    • Changedadd_provider11 fields changed
      • addedInput schema / properties / adapter
        Added value: +{
        +  "description": "cli only: built-in adapter — claude, codex, gemini, qwen, kimi, cursor-agent, opencode, droid — or 'custom'. Defaults to the provider name.",
        +  "type": "string"
        +}
      • changedInput schema / properties / apiKeyEnvVar / description
        Previous value: -"Environment variable name for the API key. Use 'NONE' if no key required."New value: +"api only: environment variable holding the API key. Use 'NONE' if no key required."
      • addedInput schema / properties / args
        Added value: +{
        +  "description": "cli only ('custom' adapter): argv template. Placeholders: {{model}}, {{system}}, {{prompt}}, {{outfile}}.",
        +  "items": {
        +    "type": "string"
        +  },
        +  "type": "array"
        +}
      • addedInput schema / properties / backend
        Added value: +{
        +  "description": "cli only: run the Claude CLI against another vendor's coding plan — moonshot, minimax, glm. Overrides 'adapter'.",
        +  "type": "string"
        +}
      • changedInput schema / properties / baseURL / description
        Previous value: -"API base URL, e.g. 'http://localhost:11434/v1' for Ollama"New value: +"api only: base URL, e.g. 'http://localhost:11434/v1' for Ollama"
      • addedInput schema / properties / command
        Added value: +{
        +  "description": "cli only: executable to run. Required for adapter 'custom'.",
        +  "type": "string"
        +}
      • changedInput schema / properties / defaultModel / description
        Previous value: -"Default model to use for this provider, e.g. 'llama3', 'mixtral-8x7b-32768'"New value: +"Default model for this provider, e.g. 'llama3', 'sonnet'. Use 'default' to let a CLI pick its own."
      • addedInput schema / properties / kind
        Added value: +{
        +  "description": "'api' (default) for an OpenAI-compatible HTTP endpoint, 'cli' for a local agent CLI.",
        +  "enum": [
        +    "api",
        +    "cli"
        +  ],
        +  "type": "string"
        +}
      • changedInput schema / properties / name / description
        Previous value: -"Provider name, e.g. 'groq', 'ollama', 'mistral'"New value: +"Provider name, e.g. 'groq', 'ollama', 'mistral', 'claude'"
      • addedInput schema / properties / promptVia
        Added value: +{
        +  "description": "cli only ('custom' adapter): how the prompt reaches the CLI.",
        +  "enum": [
        +    "arg",
        +    "stdin"
        +  ],
        +  "type": "string"
        +}
      • changedInput schema / required
        Previous value: -[
        -  "name",
        -  "baseURL",
        -  "apiKeyEnvVar",
        -  "defaultModel"
        -]New value: +[
        +  "name",
        +  "defaultModel"
        +]
    • Changedbrainstorm5 fields changed
      • addedInput schema / properties / context
        Added value: +{
        +  "description": "Optional context to ground the debate — code snippets, PR diffs, error logs, architecture docs, etc. Models will see this alongside the topic.",
        +  "type": "string"
        +}
      • addedInput schema / properties / mode
        Added value: +{
        +  "description": "Execution mode. Must be provided — if not, the tool will return options for the user to choose.\n'api' — MCP server calls model APIs directly using configured API keys.\n'hosted' — No API keys needed. Returns prompts for the HOST to execute using sub-agents with models available in the environment (opus/sonnet/haiku, GPT, Gemini, etc.).",
        +  "enum": [
        +    "api",
        +    "hosted"
        +  ],
        +  "type": "string"
        +}
      • changedInput schema / properties / models / description
        Previous value: -"Optional: specific models to use as 'provider:model' (e.g. 'openai:gpt-4o'). If not provided, all configured providers are used with their default models."New value: +"Optional: specific models to use as 'provider:model' (e.g. 'openai:gpt-4o', or 'claude:sonnet' / 'codex:default' for subscription-backed CLI providers). If not provided, all configured providers are used with their default models."
      • addedInput schema / properties / participate
        Added value: +{
        +  "default": true,
        +  "description": "Whether Claude should actively participate as a debater in each round (default: true). Set to false for a non-interactive debate between external models only.",
        +  "type": "boolean"
        +}
      • addedInput schema / properties / style
        Added value: +{
        +  "default": "freeform",
        +  "description": "Debate style. 'freeform' (default): open brainstorming. 'redteam': adversarial — models find flaws, risks, and weaknesses. 'socratic': probing questions that expose assumptions and push for deeper understanding.",
        +  "enum": [
        +    "freeform",
        +    "redteam",
        +    "socratic"
        +  ],
        +  "type": "string"
        +}
    • Addedbrainstorm_collect
    • Addedbrainstorm_quick
    • Addedbrainstorm_respond
    • Addedbrainstorm_review
  2. 3 tool updatesv1.0.1
    • First observedadd_provider
    • First observedbrainstorm
    • First observedlist_providers

TDQS

A4.3/5.0
Disambiguation5/5

Each tool has a clearly distinct role: the main brainstorm tool handles debate setup, with dedicated helpers for API (brainstorm_respond) and hosted (brainstorm_collect) modes. Brainstorm_quick is a fast parallel mode, brainstorm_review is code-specific, and list/add_provider manage providers. No overlapping purposes.

Naming Consistency5/5

All tools follow a consistent snake_case verb_noun pattern. Core brainstorming actions are prefixed with 'brainstorm_', while provider management uses list_providers and add_provider. Naming is predictable and clear.

Tool Count5/5

Seven tools is well-scoped for a brainstorming server. It covers the core debate workflow (main, respond, collect), a quick alternative, a specialized code review mode, and provider management, without unnecessary bloat or missing essentials.

Completeness4/5

The surface covers the full brainstorming workflow—multi-round debate, quick requests, code review, and provider setup. Minor gaps exist in provider management (no update/delete) and no explicit session management, but these are non-critical and easily worked around.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    Not graded
    maintenance
    Orchestrates multiple AI models (Gemini, OpenAI, Claude, local models) within a single conversation context, enabling collaborative workflows like multi-model code reviews, consensus building, and CLI-to-CLI bridging for specialized tasks.
    -
  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables Claude to orchestrate multi-model AI roundtable discussions between GPT-4o, Gemini, Grok, and DeepSeek through independent responses and cross-critique rounds. It supports various discussion presets such as debate, brainstorm, and consensus to facilitate diverse perspectives and synthesis.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to facilitate structured multi-model debates that synthesize multiple perspectives into clear categories like ground truths and blind spots. It provides tools for running real-time debates, checking model health, and managing history via the Model Context Protocol.
    13
    1
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Facilitates structured multi-agent debates with arguments, rebuttals, and judgments across multiple rounds, enabling diverse AI personas to engage in formal debate and collaborative problem-solving.
    1
    35
    17
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/spranab/brainstorm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server