{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "mcp.council-ai.app",
    "site": "council-ai.app",
    "addresses": [
      {
        "address": "216.24.57.16",
        "endpoints": 632,
        "shared_infrastructure": true,
        "network": {
          "asn": 397273,
          "name": "RENDER - Render",
          "prefix": "216.24.57.0/24",
          "country": "US"
        }
      },
      {
        "address": "216.24.57.18",
        "endpoints": 632,
        "shared_infrastructure": true,
        "network": {
          "asn": 397273,
          "name": "RENDER - Render",
          "prefix": "216.24.57.0/24",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "216.24.57.16",
          "216.24.57.18"
        ],
        "first_seen": "2026-11-21T16:37:01.674Z",
        "last_seen": "2026-11-22T20:41:02.212Z",
        "checks": 2
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "council-ai",
      "version": "0.1.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 631,
      "sample": [
        {
          "id": "211",
          "url": "https://api.alphabazaar.ai/mcp",
          "server_name": "ai.alphabazaar/arena",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:35:04.192Z"
        },
        {
          "id": "753",
          "url": "https://pay.edge-agents.ai/mcp",
          "server_name": "ai.edge-agents/intelligence",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:49:02.408Z"
        },
        {
          "id": "869",
          "url": "https://api.flamigo.ai/mcp",
          "server_name": "ai.flamigo/presentation",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:52:11.588Z"
        },
        {
          "id": "1458",
          "url": "https://lucidflow.ai/api/mcp",
          "server_name": "ai.lucidflow/bpmn-validator",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T05:05:02.319Z"
        },
        {
          "id": "1945",
          "url": "https://regga.ai/mcp",
          "server_name": "ai.regga/regga",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:48:01.786Z"
        },
        {
          "id": "1999",
          "url": "https://mcp.robomart.ai/mcp",
          "server_name": "ai.robomart/robomart",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:49:03.104Z"
        },
        {
          "id": "2147",
          "url": "https://mcp.shumi.ai/mcp",
          "server_name": "ai.shumi/mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:50:09.928Z"
        },
        {
          "id": "2797",
          "url": "https://vetaid-mcp.onrender.com/mcp",
          "server_name": "ai.vetaid/vetaid",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:55:03.193Z"
        },
        {
          "id": "2959",
          "url": "https://app.xyla.ai/mcp",
          "server_name": "ai.xyla/xyla",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:56:13.267Z"
        },
        {
          "id": "2975",
          "url": "https://api.zaptu.ai/mcp",
          "server_name": "ai.zaptu/zaptu",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:57:02.447Z"
        },
        {
          "id": "3803",
          "url": "https://mcp.outcomet.app/mcp",
          "server_name": "app.outcomet/mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T07:06:02.611Z"
        },
        {
          "id": "4626",
          "url": "https://app.sagashi.au/mcp",
          "server_name": "au.sagashi/sagashi",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T07:16:02.253Z"
        },
        {
          "id": "5055",
          "url": "https://api.assurs.ch/mcp",
          "server_name": "ch.assurs/lamal",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T07:25:02.835Z"
        },
        {
          "id": "5751",
          "url": "https://sickslip.onrender.com/api/mcp",
          "server_name": "co.sickslip.www/verify",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T07:34:02.336Z"
        },
        {
          "id": "5794",
          "url": "https://api.uniall.co/v1/agent/mcp",
          "server_name": "co.uniall/rwa-index",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T07:35:02.932Z"
        },
        {
          "id": "6216",
          "url": "https://mcp.advisorfinder.com/mcp",
          "server_name": "com.advisorfinder/mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T07:40:06.015Z"
        },
        {
          "id": "6300",
          "url": "https://agenthelpnetwork.com/mcp",
          "server_name": "com.agenthelpnetwork/agent-help-network",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T07:42:01.743Z"
        },
        {
          "id": "6369",
          "url": "https://mcp.agenttrafficlab.com/mcp",
          "server_name": "com.agenttrafficlab/atl",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T07:43:03.509Z"
        },
        {
          "id": "6631",
          "url": "https://aloha-dial-api.onrender.com/mcp",
          "server_name": "com.alohalabshq/dial",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T07:48:03.571Z"
        },
        {
          "id": "6780",
          "url": "https://mcp.app-clap.com/mcp",
          "server_name": "com.app-clap/appclap",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T07:56:05.516Z"
        }
      ]
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.github.omarkeshk",
      "total": 0,
      "sample": []
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "33641",
    "server_name": "io.github.omarkeshk/council-ai",
    "url": "https://mcp.council-ai.app/mcp",
    "host": "mcp.council-ai.app",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T20:41:02.212Z",
    "last_state": "listed",
    "last_detail": "resources/list failed: resources/list failed; the server answered error -32601 with the message \"Method not found\"",
    "consecutive_failures": 0,
    "current_sha": "a96dcf26df0eb76a0824737063465b37892d1cd31b268d960e49a8d589be56a6",
    "first_listed_at": "2026-11-21T16:37:01.674Z",
    "created_at": "2026-11-21T10:55:03.885Z",
    "resolved_addresses": [
      "216.24.57.16",
      "216.24.57.18"
    ]
  },
  "server": {
    "name": "io.github.omarkeshk/council-ai",
    "title": null,
    "description": "Multi-LLM council: 25+ frontier models in parallel, consensus scoring, verdict-first code review.",
    "version": "1.0.1",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://council-ai.app/mcp",
    "published_at": "2026-08-08T04:51:39.627Z",
    "updated_at": "2026-08-08T04:51:39.627Z",
    "first_seen": "2026-11-21T10:55:03.343Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "vector-search"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:42:10.851Z"
  },
  "operator": {
    "key": "council-ai.app",
    "name": "council-ai.app",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 671,
    "first_check_in_window": "2026-11-21T16:37:01.674Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "a96dcf26df0eb76a0824737063465b37892d1cd31b268d960e49a8d589be56a6",
    "tools": 10,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T16:37:02.307Z",
    "tool_names": [
      "council_query",
      "council_result",
      "council_query_with_rag",
      "council_review",
      "library_search",
      "library_list",
      "library_upload",
      "library_delete",
      "council_models",
      "council_usage"
    ],
    "declared": {
      "tools": [
        {
          "name": "council_query",
          "title": "Council Query",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "errors": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "modelId",
                    "message"
                  ],
                  "properties": {
                    "message": {
                      "type": "string"
                    },
                    "modelId": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Per-model failures, if any. The synthesis covers the models that responded."
              },
              "status": {
                "enum": [
                  "running",
                  "complete",
                  "failed"
                ],
                "type": "string",
                "description": "Only present on async queries: \"running\" means poll council_result with the queryId."
              },
              "queryId": {
                "type": "string",
                "description": "Server-side ID of this council query. With async=true, pass it to council_result."
              },
              "synthesis": {
                "type": "string",
                "description": "Moderator-synthesized consensus answer across all models. Empty when synthesize=false; absent while an async query is still running."
              },
              "durationMs": {
                "type": "number",
                "description": "Wall-clock duration of the council run (fan-out + synthesis), in milliseconds."
              },
              "wasSyncRun": {
                "type": "boolean",
                "description": "True when this ran synchronously — the path with the tight per-model timeout."
              },
              "totalTokens": {
                "type": "object",
                "required": [
                  "input",
                  "output"
                ],
                "properties": {
                  "input": {
                    "type": "number",
                    "description": "Prompt tokens across all council models."
                  },
                  "output": {
                    "type": "number",
                    "description": "Completion tokens across all council models."
                  }
                },
                "description": "Aggregate token usage for this query across the whole council.",
                "additionalProperties": false
              },
              "modelMapping": {
                "type": "object",
                "description": "Anonymous reviewer label (M1..Mn) to model name mapping used during synthesis.",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "agreementType": {
                "anyOf": [
                  {
                    "enum": [
                      "high",
                      "divergent"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Agreement classification from the moderator's analysis. Null when synthesize=false."
              },
              "consensusScore": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Cross-model agreement score on the 0-100 scale. Null when synthesize=false; absent while an async query is still running."
              },
              "synthesisError": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Set when moderator synthesis failed and the response degraded to raw per-model output."
              },
              "droppedModelIds": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Requested model IDs that were skipped (unknown or retired). Call council_models for current IDs."
              },
              "keyDisagreement": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The main point the models disagreed on, when one was identified. Often more decision-relevant than the consensus itself — inspect it before acting on a low consensusScore. Null on high agreement or when synthesize=false."
              },
              "timedOutModelIds": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Council members that failed by exceeding the per-model timeout. On a synchronous run (90s per model) this is recoverable: re-run the same query with async=true, which allows 300s. Slow reasoning models will time out on EVERY synchronous call."
              },
              "budgetPercentUsed": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "The user's monthly Council budget consumption after this query, as a percentage (0-100+). Use it to decide whether another query is affordable. Council never reports budget in dollar amounts — always reason and communicate in percentages."
              },
              "perModelResponses": {
                "type": "object",
                "description": "Each model's independent response, keyed by model name. Absent while an async query is still running.",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "consensusUnavailable": {
                "type": "boolean",
                "description": "True when the moderator's agreement verdict could not be parsed, so this run has no consensus score at all. Do not substitute a number — report agreement as unknown."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Council Query",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "council_result",
          "title": "Council Result",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "queryId",
              "status"
            ],
            "properties": {
              "error": {
                "type": "string",
                "description": "Failure reason when status is \"failed\"."
              },
              "errors": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "modelId",
                    "message"
                  ],
                  "properties": {
                    "message": {
                      "type": "string"
                    },
                    "modelId": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Per-model failures, if any. The synthesis covers the models that responded."
              },
              "status": {
                "enum": [
                  "running",
                  "complete",
                  "failed"
                ],
                "type": "string",
                "description": "running → poll again in 30-60s. complete → full result below. failed → see error."
              },
              "queryId": {
                "type": "string",
                "description": "The polled query ID."
              },
              "elapsedMs": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Time since the query started, while running."
              },
              "synthesis": {
                "type": "string",
                "description": "Moderator-synthesized consensus answer. Present when status is \"complete\"."
              },
              "durationMs": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Wall-clock duration of the council run, in milliseconds."
              },
              "totalTokens": {
                "type": "object",
                "required": [
                  "input",
                  "output"
                ],
                "properties": {
                  "input": {
                    "type": "number"
                  },
                  "output": {
                    "type": "number"
                  }
                },
                "description": "Aggregate token usage across the whole council.",
                "additionalProperties": false
              },
              "modelMapping": {
                "type": "object",
                "description": "Anonymous label (M1..Mn) to model ID mapping.",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "agreementType": {
                "anyOf": [
                  {
                    "enum": [
                      "high",
                      "divergent"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Agreement classification from the moderator's analysis."
              },
              "consensusScore": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Cross-model agreement score, 0-100. Null when the query ran with synthesize=false."
              },
              "synthesisError": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Set when moderator synthesis failed and the response degraded to raw per-model output."
              },
              "droppedModelIds": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Requested model IDs that were skipped (unknown or retired)."
              },
              "keyDisagreement": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The main point the models disagreed on, when one was identified."
              },
              "budgetPercentUsed": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Monthly Council budget consumption, as a percentage (0-100+). Never dollars."
              },
              "perModelResponses": {
                "type": "object",
                "description": "Each model's independent response, keyed by anonymous label (M1..Mn).",
                "additionalProperties": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Council Result",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "council_query_with_rag",
          "title": "Council Query with RAG",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "retrievedChunks"
            ],
            "properties": {
              "status": {
                "enum": [
                  "running",
                  "complete",
                  "failed"
                ],
                "type": "string",
                "description": "Only present on async queries: \"running\" means poll council_result with the queryId."
              },
              "queryId": {
                "type": "string",
                "description": "Present on async queries — pass it to council_result."
              },
              "synthesis": {
                "type": "string",
                "description": "Moderator-synthesized consensus answer, grounded in the retrieved library chunks. Absent while an async query is still running."
              },
              "ragSkipped": {
                "type": "boolean",
                "description": "True when retrieval found nothing and the query fell through to a plain council_query."
              },
              "consensusScore": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Cross-model agreement score on the 0-100 scale. Null when synthesize=false; absent while an async query is still running."
              },
              "retrievedChunks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "chunkId": {
                      "type": "string",
                      "description": "ID of the retrieved chunk."
                    },
                    "content": {
                      "type": "string",
                      "description": "The retrieved passage text."
                    },
                    "distance": {
                      "type": "number",
                      "description": "Vector distance — lower is more relevant."
                    },
                    "filename": {
                      "type": "string",
                      "description": "Source document filename."
                    },
                    "documentId": {
                      "type": "string",
                      "description": "ID of the parent document."
                    },
                    "pageNumber": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Page number in the source document, when known."
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Library chunks that were injected into every model's prompt. Empty when the library had no relevant content."
              },
              "perModelResponses": {
                "type": "object",
                "description": "Each model's independent response, keyed by model name. Absent while an async query is still running.",
                "additionalProperties": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Council Query with RAG",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "council_review",
          "title": "Council Code Review",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "focus"
            ],
            "properties": {
              "focus": {
                "enum": [
                  "bugs",
                  "security",
                  "performance",
                  "architecture",
                  "all"
                ],
                "type": "string",
                "description": "The review focus this synthesis was produced under."
              },
              "errors": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "modelId",
                    "message"
                  ],
                  "properties": {
                    "message": {
                      "type": "string"
                    },
                    "modelId": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Per-reviewer failures, if any."
              },
              "status": {
                "enum": [
                  "running",
                  "complete",
                  "failed"
                ],
                "type": "string",
                "description": "Only present on async reviews: \"running\" means poll council_result with the queryId."
              },
              "queryId": {
                "type": "string",
                "description": "Server-side ID of this review query. With async=true, pass it to council_result."
              },
              "synthesis": {
                "type": "string",
                "description": "Verdict-first moderator synthesis: ## Council Verdict (SHIP/NO-SHIP), ## Confirmed Findings (2+ reviewers agree), ## Dissents, ## Reviewer Verdicts. Absent while an async review is still running."
              },
              "modelMapping": {
                "type": "object",
                "description": "Anonymous reviewer label (M1..Mn) to model name mapping — how dissents are attributed.",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "consensusScore": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Cross-reviewer agreement score on the 0-100 scale. Absent while an async review is still running."
              },
              "perModelResponses": {
                "type": "object",
                "description": "Each reviewer model's raw independent review, keyed by model name. Absent while an async review is still running.",
                "additionalProperties": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Council Code Review",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "library_search",
          "title": "Library Search",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "hits"
            ],
            "properties": {
              "hits": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "chunkId": {
                      "type": "string",
                      "description": "ID of the matched chunk."
                    },
                    "content": {
                      "type": "string",
                      "description": "The matched passage text."
                    },
                    "distance": {
                      "type": "number",
                      "description": "Vector distance — lower is more relevant."
                    },
                    "filename": {
                      "type": "string",
                      "description": "Source document filename."
                    },
                    "documentId": {
                      "type": "string",
                      "description": "ID of the parent document."
                    },
                    "pageNumber": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Page number in the source document, when known."
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Top-K matching chunks, most relevant first. Empty when nothing matches."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Library Search",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "library_list",
          "title": "Library List",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "documents"
            ],
            "properties": {
              "documents": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Document ID."
                    },
                    "status": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Ingestion status, e.g. ready or processing."
                    },
                    "filename": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Original filename as uploaded."
                    },
                    "createdAt": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Upload timestamp, ISO 8601."
                    },
                    "projectId": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Project workspace the document belongs to, if any."
                    },
                    "sizeBytes": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "File size in bytes."
                    },
                    "chunkCount": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Number of indexed chunks."
                    },
                    "sourceType": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Source type, e.g. pdf or docx."
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Every document in the user's library, newest first. Empty when the library has no documents."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Library List",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "library_upload",
          "title": "Library Upload",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "document"
            ],
            "properties": {
              "document": {
                "type": "object",
                "required": [
                  "id",
                  "filename",
                  "status",
                  "sizeBytes"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "Document ID — use with library_delete or to track ingestion."
                  },
                  "tags": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Tags as stored."
                  },
                  "status": {
                    "type": "string",
                    "description": "Ingestion status. Starts \"pending\"; becomes \"ready\" when queryable, or \"failed\" with errorMessage."
                  },
                  "filename": {
                    "type": "string",
                    "description": "Sanitized filename as stored."
                  },
                  "mimeType": {
                    "type": "string",
                    "description": "Verified MIME type."
                  },
                  "createdAt": {
                    "type": "string",
                    "description": "Upload timestamp, ISO 8601."
                  },
                  "projectId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Project workspace, when set."
                  },
                  "sizeBytes": {
                    "type": "number",
                    "description": "Stored file size in bytes."
                  },
                  "sourceType": {
                    "type": "string",
                    "description": "Detected source type, e.g. pdf or docx."
                  }
                },
                "description": "The created document record, in \"pending\" status until background ingestion completes.",
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Library Upload",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "library_delete",
          "title": "Library Delete",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "success",
              "deletedChunks"
            ],
            "properties": {
              "success": {
                "type": "boolean",
                "description": "True when the document and all its data were removed."
              },
              "deletedChunks": {
                "type": "number",
                "description": "Number of indexed chunks that were deleted along with the document."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Library Delete",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "council_models",
          "title": "Council Models",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "userPlan",
              "models"
            ],
            "properties": {
              "models": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "name",
                    "provider"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Model ID — pass these in the models argument of council tools."
                    },
                    "name": {
                      "type": "string",
                      "description": "Human-readable model name."
                    },
                    "tier": {
                      "type": "string",
                      "description": "Council pricing tier of the model."
                    },
                    "modelId": {
                      "type": "string",
                      "description": "Provider-side model identifier."
                    },
                    "provider": {
                      "type": "string",
                      "description": "Lab/provider, e.g. anthropic, openai, google."
                    },
                    "maxTokens": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Context window size, when known."
                    },
                    "supportsVision": {
                      "type": "boolean",
                      "description": "Whether the model accepts images."
                    },
                    "supportsStreaming": {
                      "type": "boolean",
                      "description": "Whether the model streams tokens."
                    },
                    "supportsWebSearch": {
                      "type": "boolean",
                      "description": "Whether the model can search the web."
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Models available to this user, across all providers."
              },
              "userPlan": {
                "type": "string",
                "description": "The user's current subscription plan."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Council Models",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "council_usage",
          "title": "Council Usage",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "status": {
                "type": "string",
                "description": "Budget status: ok, warning, or exceeded."
              },
              "percentUsed": {
                "type": "number",
                "description": "Percentage of the monthly budget consumed, 0-100+."
              },
              "periodEndsAt": {
                "type": "string",
                "description": "When the current monthly budget cycle resets, ISO 8601."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Council Usage",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": null
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}