# council-ai [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://council-ai.app/mcp  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/council-ai-2

## Description
Multi-LLM council: 25+ frontier models in parallel, consensus scoring, verdict-first code review.

## Tools
Capabilities this server exposes over MCP:

- **council_query** — 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.
- **council_result** — 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.
- **council_query_with_rag** — 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.
- **council_review** — 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.
- **library_search** — 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.
- **library_list** — 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.
- **library_upload** — 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.
- **library_delete** — 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.
- **council_models** — 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.
- **council_usage** — 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.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "council-ai": {
    "url": "https://mcp.council-ai.app/mcp"
  }
}
```

## Documentation

## What council-ai does

council-ai exposes a multi-model AI council through MCP. Its main query workflow sends a prompt to selected frontier models across Anthropic, OpenAI, Google, xAI, DeepSeek, Qwen, Mistral, Moonshot, and z.ai. The response includes each model's answer, a synthesized consensus, an agreement score, and a key disagreement when the models diverge.

The server also provides a code-review workflow. Given a unified diff or code snippet, council_review asks multiple models to review the change independently and returns an overall SHIP or NO-SHIP verdict, a consensus score, confirmed findings reported by at least two models, dissenting findings, and each reviewer's verdict.

## How it works

Use council_models to inspect the models available to the current user, including provider, tier, context window, and capability flags. Pass selected model IDs to council_query or council_query_with_rag. A small group of two or three models can handle an initial check; a low consensus score or consequential disagreement can justify a second run with more models.

Long council runs can take minutes. With async=true, council_query returns a query ID immediately. Retrieve progress and the completed response with council_result; a running status means the call should be retried after 30–60 seconds. Polling does not consume additional budget, while the council run is billed against the user's monthly Council AI budget.

## Setup and configuration

Configure an MCP client to connect to the hosted streamable HTTP endpoint:

`https://mcp.council-ai.app/mcp`

After connecting, use council_models to choose model IDs and council_usage to inspect budget consumption. council_usage reports current spend, the budget cap, percentage used, and days until reset. When communicating budget information to users, report percentages rather than dollar amounts.

## Tools and capabilities

- `council_query` compares independent model responses and produces a moderated synthesis.
- `council_result` retrieves the result of an asynchronous query.
- `council_review` performs multi-model, verdict-first review of diffs or snippets.
- `council_query_with_rag` adds relevant passages from the user's Council RAG library to every model prompt. This requires the Ultra tier.
- `library_search` finds relevant chunks and returns source filenames and page numbers without using a model call or budget.
- `library_list` reports document IDs, filenames, source types, ingestion states, chunk counts, and upload dates.
- `library_upload` accepts base64-encoded PDF, DOCX, text, and Markdown files. New uploads begin in pending status while ingestion runs in the background.
- `library_delete` permanently removes a document, its indexed chunks, and its stored file.

## Limitations and notes

Code-review diffs are limited to 14,000 characters. Split larger changes by file or hunk and review each portion separately. Uploaded library files are limited to 10 MB per MCP upload, images are unsupported, and each library can contain up to 200 documents. Wait for a document to reach ready status before using it in retrieval-based queries.

Deleting a document cannot be undone and requires its document ID. Library listing, search, upload, and deletion do not make model calls or consume council budget, but council queries and code reviews do. A full council may exceed a client's fixed tool-call timeout, so asynchronous execution is the appropriate mode in that situation.

_Full upstream README: https://allmcps.com/mcp/council-ai-2/readme_

