Multi-LLM council: 25+ frontier models in parallel, consensus scoring, verdict-first code review.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Bearer csa_<PAT> — mint a Personal Access Token at https://council-ai.app/settings?tab=mcp (Ultra tier)
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
List the AI models available to the current user. Returns ID, provider, tier, context window, and capability flags (web search, vision, streaming). Use the IDs returned here as the `models` array argument to council_query / council_query_with_rag.
This tool takes no arguments.
List the AI models available to the current user. Returns ID, provider, tier, context window, and capability flags (web search, vision, streaming). Use the IDs returned here as the `models` array argument to council_query / council_query_with_rag.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}Send a prompt to a council of frontier AI models across 9 labs (Anthropic, OpenAI, Google, xAI, DeepSeek, Qwen, Mistral, Moonshot, z.ai). Returns each model's independent response plus a moderator-synthesized consensus answer with an agreement score and the key point of disagreement, when one exists. Use when a single-model answer might hallucinate or when verification across labs matters (research, contracts, architecture, legal, medical, code review). Adaptive-cost pattern: for a quick check, call with 2-3 models; if consensusScore comes back low (or keyDisagreement matters to the decision), escalate by re-running with more models — easy questions stay cheap, disputed ones get more compute. TIMEOUTS: a full council can run for minutes. If your MCP client has a fixed tool-call timeout, set async=true — you get a queryId back immediately and fetch the finished result with council_result. Call council_models first to pick specific model IDs, and council_usage to check remaining budget. Bills against the user's Council AI monthly budget.
| Argument | Type | Description |
|---|---|---|
| mode | string | Cross-model visibility. 'independent' (default): all models answer in parallel, blind to each other — best for unbiased comparison; the synthesis reconciles them. 'sequential': models answer one at a time and each later model sees the earlier answers, debate-style — takes the SUM of per-model latencies instead of the max, so strongly consider async=true with it. |
| async | boolean | When true, return {queryId, status:"running"} immediately instead of waiting for the council. Fetch the finished result with council_result. Use whenever your MCP client enforces a fixed tool-call timeout (a full council typically runs 1-3 minutes) or when querying 4+ models. |
| models | array | Model IDs to include (2-10). Defaults to a cross-lab flagship council. Use council_models to list available IDs. Example: ["claude-fable-5.1", "gpt-6.1-sol", "gemini-3.8-flash"] |
| prompt* | string | The question or task to send to the council. Include all needed context — every query is stateless. Example: "Is optimistic locking or a distributed lock the better fit for this checkout flow? [paste flow description]" |
| synthesize | boolean | When true (default), include the moderator synthesis + consensus score. Set false to get only the raw per-model responses (faster, cheaper). |
| synthesisDirective | string | Optional instructions for the moderator that synthesizes the council's answers. The council models never see this — it only shapes the synthesis. Use for special modes, e.g. devil's advocate: "Argue against the majority position — find the strongest case that the consensus is wrong and surface every dissenting point." Or output contracts: "Answer VERDICT: SAFE/UNSAFE first, then justification." Omit for the standard balanced synthesis. |
Like council_query, but first retrieves the most relevant passages from the user's personal Council RAG library (uploaded PDFs, Word docs, contracts, research papers, codebases) and injects them into every model's prompt. Use when the question is about content the user has uploaded — contract review, research synthesis across a paper library, code review against an architecture doc, etc. Ultra-tier only.
| Argument | Type | Description |
|---|---|---|
| async | boolean | When true, retrieval runs immediately (sources are returned right away) but the council itself runs in the background — fetch the finished answer with council_result. Use when your MCP client enforces a fixed tool-call timeout or when querying 4+ models. |
| models | array | Model IDs to include. Defaults to the user's preferred council. |
| prompt* | string | The question or task to send to the council. Example: "Review this NDA draft against our standard playbook terms." |
| project_id | string | Restrict retrieval to a specific Council project workspace. |
| synthesize | boolean | When true (default), include the moderator synthesis + consensus score. |
| library_query | string | Optional retrieval-specific query. If omitted, the main prompt is used as the retrieval query. Set this when the user's prompt has unrelated framing but the concrete documents to retrieve are described by something different. |
Fetch the result of a council_query started with async=true. Returns status "running" while the council is still working (wait 30-60 seconds and call again), the full synthesis + per-model responses once complete, or status "failed" with the error. Polling is free — the council run itself was already billed by council_query.
| Argument | Type | Description |
|---|---|---|
| queryId* | string | The queryId returned by council_query when called with async=true. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"queryId"
],
"properties": {
"queryId": {
"type": "string",
"maxLength": 40,
"minLength": 10,
"description": "The queryId returned by council_query when called with async=true."
}
},
"additionalProperties": false
}Multi-model code review. Sends a unified diff (or code snippet) to multiple frontier AI models from different labs in parallel, each acting as an independent reviewer with an explicit verdict + findings contract. Returns a verdict-first synthesis: overall SHIP/NO-SHIP, consensus score, confirmed findings (flagged by 2+ models), then dissents (single-model findings with reasoning), then each reviewer's verdict. Diffs are capped at 14,000 characters — split larger changes by file or hunk and call once per chunk. Bills against the user's Council AI monthly budget like any council query.
| Argument | Type | Description |
|---|---|---|
| diff* | string | The unified diff (git diff output) or code snippet to review. Max 14,000 characters — if your diff is larger, split it by file or hunk and review each part separately. Example: the output of `git diff HEAD~1`. |
| async | boolean | When true, return {queryId, status:"running"} immediately and fetch the finished review with council_result. Use when your MCP client enforces a fixed tool-call timeout, or with 4+ reviewers — async runs also give slow reasoning models a much larger time budget before they are cut off. |
| focus | string | Review focus: "bugs" (correctness), "security", "performance", "architecture", or "all" (default — full review, bugs prioritized). |
| models | array | Model IDs to include as reviewers (2-10). Defaults to the user's preferred council. Use council_models to list available IDs. |
| context | string |
Return the user's current monthly cost-budget consumption (current spend, budget cap, percentage used, days until reset). Use to decide whether to warn the user before invoking another council_query, or to suggest using cheaper models. Per Council's rule: never show dollar amounts to the user in the response — use percentages.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}Permanently delete a document from the user's Council RAG library — the record, every indexed chunk, AND the stored file are removed. This cannot be undone; re-adding the document requires uploading it again. Get document IDs from library_list. Use when the user asks to remove a document or when the 200-document library cap blocks an upload. Confirm with the user before deleting anything they did not explicitly name. No model call, no budget consumption.
| Argument | Type | Description |
|---|---|---|
| documentId* | string | ID of the document to delete, as returned by library_list or library_upload. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"documentId"
],
"properties": {
"documentId": {
"type": "string",
"minLength": 1,
"description": "ID of the document to delete, as returned by library_list or library_upload."
}
},
"additionalProperties": false
}List the documents in the user's Council RAG library. Returns id, filename, source type, ingestion status, chunk count, and upload date for each document. No retrieval, no budget consumption.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}Semantic search over the user's Council RAG library (uploaded PDFs, Word docs, contracts, research papers, codebases). Returns top-K chunks with source filename and page number. No model call, no budget consumption. Use to find direct quotes, check what the library contains, or scope a follow-up council_query_with_rag call.
| Argument | Type | Description |
|---|---|---|
| limit | number | Number of chunks to return, 1-20. Default: 8. |
| query* | string | Semantic retrieval query — describe the content you want, not keywords. Example: "termination and notice-period clauses in the vendor agreement" |
| project_id | string | Restrict retrieval to a specific Council project workspace ID. Omit to search the whole library. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"limit": {
"type": "number",
"maximum": 20,
"minimum": 1,
"description": "Number of chunks to return, 1-20. Default: 8."
},
"query": {
"type": "string",
"maxLength": 2000,
"minLength": 1,
"description": "Semantic retrieval query — describe the content you want, not keywords. Example: \"termination and notice-period clauses in the vendor agreement\""
},
"project_id": {
"type": "string",
"description": "Restrict retrieval to a specific Council project workspace ID. Omit to search the whole library."
}
},
"additionalProperties": false
}Upload a document into the user's Council RAG library so future council_query_with_rag and library_search calls can retrieve it. Accepts PDF, Word (docx), text, and markdown files as base64 — images are not supported. Max 10MB per file via MCP (the web library at https://council-ai.app/settings?tab=library takes up to 50MB); libraries hold up to 200 documents. Ingestion (chunking + embedding) runs in the background: the returned document starts in "pending" status — check library_list for it to reach "ready" before querying against it. No model call, no budget consumption.
| Argument | Type | Description |
|---|---|---|
| tags | array | Free-form tags to attach to the document, e.g. ["contracts", "2026"]. |
| filename* | string | Original filename including extension — the extension drives type detection. Example: "vendor-contract-2026.pdf". |
| mimeType | string | MIME type, e.g. "application/pdf". Optional — the backend verifies the real type from the file's magic bytes regardless. |
| projectId | string | Council project workspace to file the document under. Omit for the general library. |
| contentBase64* | string | The file's raw bytes, base64-encoded (standard alphabet, no data: URI prefix). For a plain-text or markdown document, base64-encode the UTF-8 text. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"filename",
"contentBase64"
],
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Free-form tags to attach to the document, e.g. [\"contracts\", \"2026\"]."
},
"filename": {
"type": "string",
"maxLength": 512,
"minLength": 1,
"description": "Original filename including extension — the extension drives type detection. Example: \"vendor-contract-2026.pdf\"."
},
"mimeType": {
"type": "string",
"maxLength": 255,
"description": "MIME type, e.g. \"application/pdf\". Optional — the backend verifies the real type from the file's magic bytes regardless."
},
"projectId": {
"type": "string",
"description": "Council project workspace to file the document under. Omit for the general library."
},
"contentBase64": {
"type": "string",
"minLength": 1,
"description": "The file's raw bytes, base64-encoded (standard alphabet, no data: URI prefix). For a plain-text or markdown document, base64-encode the UTF-8 text."
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"prompt"
],
"properties": {
"mode": {
"enum": [
"independent",
"sequential"
],
"type": "string",
"default": "independent",
"description": "Cross-model visibility. 'independent' (default): all models answer in parallel, blind to each other — best for unbiased comparison; the synthesis reconciles them. 'sequential': models answer one at a time and each later model sees the earlier answers, debate-style — takes the SUM of per-model latencies instead of the max, so strongly consider async=true with it."
},
"async": {
"type": "boolean",
"default": false,
"description": "When true, return {queryId, status:\"running\"} immediately instead of waiting for the council. Fetch the finished result with council_result. Use whenever your MCP client enforces a fixed tool-call timeout (a full council typically runs 1-3 minutes) or when querying 4+ models."
},
"models": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 10,
"minItems": 2,
"description": "Model IDs to include (2-10). Defaults to a cross-lab flagship council. Use council_models to list available IDs. Example: [\"claude-fable-5.1\", \"gpt-6.1-sol\", \"gemini-3.8-flash\"]"
},
"prompt": {
"type": "string",
"maxLength": 20000,
"minLength": 1,
"description": "The question or task to send to the council. Include all needed context — every query is stateless. Example: \"Is optimistic locking or a distributed lock the better fit for this checkout flow? [paste flow description]\""
},
"synthesize": {
"type": "boolean",
"default": true,
"description": "When true (default), include the moderator synthesis + consensus score. Set false to get only the raw per-model responses (faster, cheaper)."
},
"synthesisDirective": {
"type": "string",
"maxLength": 8000,
"minLength": 1,
"description": "Optional instructions for the moderator that synthesizes the council's answers. The council models never see this — it only shapes the synthesis. Use for special modes, e.g. devil's advocate: \"Argue against the majority position — find the strongest case that the consensus is wrong and surface every dissenting point.\" Or output contracts: \"Answer VERDICT: SAFE/UNSAFE first, then justification.\" Omit for the standard balanced synthesis."
}
},
"additionalProperties": false
}| retrieval_limit | number | Number of chunks to retrieve. Default: 8. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"prompt"
],
"properties": {
"async": {
"type": "boolean",
"default": false,
"description": "When true, retrieval runs immediately (sources are returned right away) but the council itself runs in the background — fetch the finished answer with council_result. Use when your MCP client enforces a fixed tool-call timeout or when querying 4+ models."
},
"models": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 10,
"minItems": 2,
"description": "Model IDs to include. Defaults to the user's preferred council."
},
"prompt": {
"type": "string",
"maxLength": 20000,
"minLength": 1,
"description": "The question or task to send to the council. Example: \"Review this NDA draft against our standard playbook terms.\""
},
"project_id": {
"type": "string",
"description": "Restrict retrieval to a specific Council project workspace."
},
"synthesize": {
"type": "boolean",
"default": true,
"description": "When true (default), include the moderator synthesis + consensus score."
},
"library_query": {
"type": "string",
"description": "Optional retrieval-specific query. If omitted, the main prompt is used as the retrieval query. Set this when the user's prompt has unrelated framing but the concrete documents to retrieve are described by something different."
},
"retrieval_limit": {
"type": "number",
"maximum": 20,
"minimum": 1,
"description": "Number of chunks to retrieve. Default: 8."
}
},
"additionalProperties": false
}| What the change is supposed to do: intent, constraints, related files or invariants reviewers cannot see from the diff alone. Improves signal, reduces false positives. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"diff"
],
"properties": {
"diff": {
"type": "string",
"minLength": 1,
"description": "The unified diff (git diff output) or code snippet to review. Max 14,000 characters — if your diff is larger, split it by file or hunk and review each part separately. Example: the output of `git diff HEAD~1`."
},
"async": {
"type": "boolean",
"default": false,
"description": "When true, return {queryId, status:\"running\"} immediately and fetch the finished review with council_result. Use when your MCP client enforces a fixed tool-call timeout, or with 4+ reviewers — async runs also give slow reasoning models a much larger time budget before they are cut off."
},
"focus": {
"enum": [
"bugs",
"security",
"performance",
"architecture",
"all"
],
"type": "string",
"default": "all",
"description": "Review focus: \"bugs\" (correctness), \"security\", \"performance\", \"architecture\", or \"all\" (default — full review, bugs prioritized)."
},
"models": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 10,
"minItems": 2,
"description": "Model IDs to include as reviewers (2-10). Defaults to the user's preferred council. Use council_models to list available IDs."
},
"context": {
"type": "string",
"maxLength": 3000,
"description": "What the change is supposed to do: intent, constraints, related files or invariants reviewers cannot see from the diff alone. Improves signal, reduces false positives."
}
},
"additionalProperties": false
}