brainstorm-mcp
brainstorm-mcp orchestrates multi-round AI brainstorming debates between multiple language models (GPT, Gemini, DeepSeek, Groq, Ollama, etc.) with Claude as an active participant, delivering diverse perspectives and a synthesized conclusion.
Run multi-round debates (
brainstorm): Submit a topic and have AI models debate, critique, and refine ideas across 1–10 rounds, culminating in a final synthesized output from a designated synthesizer model.Specify which models to include (e.g.
openai:gpt-4o,deepseek:deepseek-chat)Configure number of rounds (default: 3, max: 10)
Choose a synthesizer model for final consolidated output (with fallback)
Provide a custom system prompt to guide debate style or constraints
Enable/disable Claude's active participation as a debater via
brainstorm_respond
List configured providers (
list_providers): View all configured AI providers, their default models, and API key status.Add providers dynamically (
add_provider): Register any OpenAI-compatible API at runtime — including custom or self-hosted models like Ollama.
Additional capabilities: parallel model execution per round, per-model timeouts and fault tolerance (debate continues if a model fails), automatic context truncation near limits, cost/token estimation, and session management with 10-minute TTL and automatic cleanup.
Enables local LLMs to participate in multi-round brainstorming debates, allowing them to critique other models' ideas and refine their own positions within the debate workflow.
Integrates OpenAI models like GPT-4o, o3, and o4 to participate in structured brainstorming debates and serve as synthesizers for final consolidated outputs.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@brainstorm-mcpbrainstorm the best database architecture for a global fintech app"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
brainstorm-mcp
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

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 creditsbrainstorm_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-mcpThat 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-mcpHosted 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 |
|
|
| verified |
|
|
| verified |
|
|
| best-effort, verify locally |
|
|
| best-effort |
|
|
| best-effort |
|
|
| best-effort |
|
|
| best-effort |
|
|
| 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 |
|
|
|
|
| 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 |
|
|
|
|
|
|
|
|
|
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 |
| Multi-round debate between AI models (API or hosted mode) | readOnly |
| Instant multi-model perspectives — parallel, no rounds | readOnly |
| Multi-model code review with findings, severity, verdict | readOnly |
| Submit Claude's response in an interactive session | readOnly |
| Submit model responses in a hosted session | readOnly |
| Show configured providers, API key status, and detected CLIs | readOnly |
| 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
You ask Claude to brainstorm a topic
The tool sends the topic to all configured providers in parallel — HTTP for API providers, a spawned subprocess for CLI providers
Claude reads their responses and contributes its own perspective
Models see each other's responses and refine across rounds
A synthesizer produces the final verdict
Hosted Mode
You ask Claude to brainstorm with specific models (e.g., opus, sonnet, haiku)
The tool returns prompts — no API calls are made
Claude spawns sub-agents with different models to execute prompts
Responses are collected and fed back for the next round
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
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 startRelated projects
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 toolsadd_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.
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | cli only ('custom' adapter): argv template. Placeholders: {{model}}, {{system}}, {{prompt}}, {{outfile}}. | |
| kind | No | 'api' (default) for an OpenAI-compatible HTTP endpoint, 'cli' for a local agent CLI. | |
| name | Yes | Provider name, e.g. 'groq', 'ollama', 'mistral', 'claude' | |
| adapter | No | cli only: built-in adapter — claude, codex, gemini, qwen, kimi, cursor-agent, opencode, droid — or 'custom'. Defaults to the provider name. | |
| backend | No | cli only: run the Claude CLI against another vendor's coding plan — moonshot, minimax, glm. Overrides 'adapter'. | |
| baseURL | No | api only: base URL, e.g. 'http://localhost:11434/v1' for Ollama | |
| command | No | cli only: executable to run. Required for adapter 'custom'. | |
| promptVia | No | cli only ('custom' adapter): how the prompt reaches the CLI. | |
| apiKeyEnvVar | No | api only: environment variable holding the API key. Use 'NONE' if no key required. | |
| defaultModel | Yes | Default model for this provider, e.g. 'llama3', 'sonnet'. Use 'default' to let a CLI pick its own. |
TDQS
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.
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.
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.
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.
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.
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.
brainstormARead-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:
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.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Execution 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.). | |
| style | No | 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. | freeform |
| topic | Yes | The topic, question, or prompt to brainstorm about | |
| models | No | 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. | |
| rounds | No | Number of debate rounds (default: 3) | |
| context | No | Optional context to ground the debate — code snippets, PR diffs, error logs, architecture docs, etc. Models will see this alongside the topic. | |
| participate | No | 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. | |
| synthesizer | No | Optional: model for final synthesis as 'provider:model'. Defaults to the first model. | |
| systemPrompt | No | Optional system prompt to guide the brainstorming style or constraints |
TDQS
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.
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.
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.
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.
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.
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_collectARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| responses | Yes | Array of model responses collected by the host | |
| session_id | Yes | The session ID from the brainstorm tool |
TDQS
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.
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.
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.
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.
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.
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_quickARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Perspective style (default: freeform) | freeform |
| topic | Yes | The question or topic to get quick perspectives on | |
| models | No | Optional: 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. | |
| context | No | Optional context — code snippets, error logs, etc. Models will see this alongside the topic. |
TDQS
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.
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.
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.
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.
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.
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_respondARead-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).
| Name | Required | Description | Default |
|---|---|---|---|
| response | Yes | Your substantive contribution to this round of the debate. Engage deeply with the other models' responses. Minimum 50 characters. | |
| session_id | Yes | The session ID returned by the brainstorm tool |
TDQS
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.
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.
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.
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.
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.
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_reviewARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| diff | Yes | The unified diff to review (e.g., output of `git diff`) | |
| focus | No | Optional: focus areas for the review. Default: all categories. | |
| title | No | Optional: PR title or change summary for context | |
| models | No | Optional: specific models as 'provider:model'. Default: all configured providers. | |
| description | No | Optional: PR description or commit message | |
| instructions | No | Optional: repo-specific review instructions (e.g., 'we use strict null checks', 'focus on SQL injection risks') |
TDQS
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.
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.
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.
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.
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.
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_providersARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
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.
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.
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.
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.
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.
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.
6 tool updates
v1.6.0- Changed
add_provider11 fields changed- added
Input schema / properties / adapterAdded 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" +} - changed
Input schema / properties / apiKeyEnvVar / descriptionPrevious 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." - added
Input schema / properties / argsAdded value: +{ + "description": "cli only ('custom' adapter): argv template. Placeholders: {{model}}, {{system}}, {{prompt}}, {{outfile}}.", + "items": { + "type": "string" + }, + "type": "array" +} - added
Input schema / properties / backendAdded value: +{ + "description": "cli only: run the Claude CLI against another vendor's coding plan — moonshot, minimax, glm. Overrides 'adapter'.", + "type": "string" +} - changed
Input schema / properties / baseURL / descriptionPrevious 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" - added
Input schema / properties / commandAdded value: +{ + "description": "cli only: executable to run. Required for adapter 'custom'.", + "type": "string" +} - changed
Input schema / properties / defaultModel / descriptionPrevious 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." - added
Input schema / properties / kindAdded value: +{ + "description": "'api' (default) for an OpenAI-compatible HTTP endpoint, 'cli' for a local agent CLI.", + "enum": [ + "api", + "cli" + ], + "type": "string" +} - changed
Input schema / properties / name / descriptionPrevious value: -"Provider name, e.g. 'groq', 'ollama', 'mistral'"New value: +"Provider name, e.g. 'groq', 'ollama', 'mistral', 'claude'" - added
Input schema / properties / promptViaAdded value: +{ + "description": "cli only ('custom' adapter): how the prompt reaches the CLI.", + "enum": [ + "arg", + "stdin" + ], + "type": "string" +} - changed
Input schema / requiredPrevious value: -[ - "name", - "baseURL", - "apiKeyEnvVar", - "defaultModel" -]New value: +[ + "name", + "defaultModel" +]
- Changed
brainstorm5 fields changed- added
Input schema / properties / contextAdded 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" +} - added
Input schema / properties / modeAdded 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" +} - changed
Input schema / properties / models / descriptionPrevious 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." - added
Input schema / properties / participateAdded 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" +} - added
Input schema / properties / styleAdded 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" +}
- Added
brainstorm_collect - Added
brainstorm_quick - Added
brainstorm_respond - Added
brainstorm_review
3 tool updates
v1.0.1- First observed
add_provider - First observed
brainstorm - First observed
list_providers
TDQS
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.
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.
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.
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
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
Multi-model AI debates: GPT-4o, Claude, Gemini & 200+ models discuss, then synthesize insight.
Fan out deep research across multiple AI providers, synthesize into one unified report.
Multi-LLM council: 25+ frontier models in parallel, consensus scoring, verdict-first code review.
Multiple AIs peer-review and debate your question, then return one fact-checked answer.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceOrchestrates 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.-
- AlicenseNot gradedqualityNot gradedmaintenanceEnables 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.-
- AlicenseNot gradedqualityDmaintenanceEnables 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.131MIT
- AlicenseAqualityCmaintenanceFacilitates 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.13517MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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