llm-council-mcp
Provides integration with OpenAI's API to serve as the Architect in council deliberations, enabling architectural strategy, modular contract design, API schema planning, and file layout consultations using models like gpt-5.6-sol.
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., "@llm-council-mcpRun a council deliberation on my proposed authentication architecture"
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.
LLM Council MCP Server (llm-council-mcp)
Attribution & Inspiration: This project is inspired by Andrej Karpathy's LLM Council multi-perspective deliberation methodology. It operationalizes the 3-Stage Council Protocol (Independent Gathering, Adversarial Critique, and Chairman Synthesis) as a native Model Context Protocol (MCP) tool server for modern AI coding agents.
A high-performance, host-agnostic MCP server that empowers Any AI Coding Agent (Google Antigravity, Claude Code, Codex, Cursor) to act as the Chairman & Executor while delegating:
Architectural Strategy & Modular Contracts to OpenAI (
gpt-5.6-sol) (The Architect)Adversarial Critique & Edge-Case Stress Testing to DeepSeek (
deepseek-v4-pro/deepseek-reasoner) (The Contrarian)
Both models are queried concurrently via asynchronous I/O to minimize latency, giving any host agent frontier-grade peer review without slowing down execution.
Architecture & 3-Stage Deliberation Protocol
┌─────────────────────────────────────────┐
│ THE CHAIRMAN & EXECUTOR │
│ (Dynamic Host: Antigravity / Claude / │
│ Codex / Cursor) │
│ Context Ingestion & Workspace State │
└────────────────────┬────────────────────┘
│
[MCP: deliberate_council]
│
┌───────────────────────┴───────────────────────┐
▼ ▼
┌─────────────────────┐ ┌─────────────────────┐
│ The Architect │ │ The Contrarian │
│ (OpenAI gpt-5.6) │ │(DeepSeek Reasoner) │
│ Stage 1: Gathering │ CONCURRENT ASYNC IO │ Stage 2: Critique │
│ Modular contracts │ ◄─────────────────────► │ Adversarial flaws, │
│ & layout blueprint │ Independent Review │ race conditions │
└──────────┬──────────┘ └──────────┬──────────┘
│ │
└───────────────────────┬───────────────────────┘
│
▼
┌─────────────────────────────────────────┐
│ CHAIRMAN'S DECREE │
│ (Synthesized by Host Agent) │
│ Reconciles tensions, produces decree, │
│ edits files, and verifies builds │
└─────────────────────────────────────────┘Stage 1: The Gathering (The Architect): OpenAI independently evaluates the problem, designing clean interface boundaries, type contracts, and sequence of changes.
Stage 2: The Critique (The Contrarian): DeepSeek Reasoner independently stress-tests the problem, searching for race conditions, subtle logic regressions, and unnecessary over-engineering.
Stage 3: The Chairman's Decree (The Host Agent): The calling agent (Antigravity Gemini, Claude Code, or Codex/Cursor) receives both structured perspectives, resolves points of tension, creates the implementation plan, and executes the workspace changes.
Related MCP server: brainstorm-mcp
Exposed MCP Tools
Tool | Description |
| Concurrently queries both the Architect ( |
| Single-target query to OpenAI for API schema design, interface planning, or modular file layouts. |
| Single-target query to DeepSeek-V4 Pro for adversarial code reviews, bug-hunting, edge cases, and over-engineering checks. |
| Offloads focused implementation subtasks, utility code, unit test suites, or regex writing to high-speed workers (DeepSeek-V4 Flash or OpenAI gpt-5-mini). Prevents host turn/token depletion. |
| High-speed document/log parsing and filtering via DeepSeek-V4 Flash in ~1–2s. Extracts only requested signals without bloating host agent context. |
Installation & Build
cd D:/Repositories/llm-council-mcp
npm install
npm run buildMulti-Platform Configuration
1. Google Antigravity 2.0 / AGY CLI
Add to ~/.gemini/config/mcp_config.json:
{
"mcpServers": {
"llm-council": {
"command": "node",
"args": [
"D:/Repositories/llm-council-mcp/dist/index.js"
],
"env": {
"OPENAI_API_KEY": "sk-proj-YOUR_OPENAI_KEY",
"DEEPSEEK_API_KEY": "sk-YOUR_DEEPSEEK_KEY",
"COUNCIL_ARCHITECT_MODEL": "gpt-5.6-sol",
"COUNCIL_CONTRARIAN_MODEL": "deepseek-reasoner",
"COUNCIL_TIMEOUT_MS": "120000"
}
}
}
}2. Claude Code / Claude Desktop
Add to ~/.claude/mcp.json or claude_desktop_config.json:
{
"mcpServers": {
"llm-council": {
"command": "node",
"args": [
"D:/Repositories/llm-council-mcp/dist/index.js"
],
"env": {
"OPENAI_API_KEY": "sk-proj-YOUR_OPENAI_KEY",
"DEEPSEEK_API_KEY": "sk-YOUR_DEEPSEEK_KEY"
}
}
}
}3. Cursor & Codex
Add the same server block to ~/.cursor/mcp.json or Cursor Settings → Features → MCP.
Environment Variables
Variable | Description | Default |
| Your OpenAI Platform API key ( | Required |
| Your DeepSeek Platform API key ( | Required |
| OpenAI API Base URL |
|
| DeepSeek API Base URL |
|
| Default model for the Architect role |
|
| Default model for the Contrarian role |
|
| Max API timeout in milliseconds |
|
Economics & Cost Efficiency
Because the host orchestrator absorbs 95% of workspace file searches, git diffs, and terminal runs within your base plan, the Council only burns external API tokens during high-level planning rounds:
OpenAI (
gpt-5.6-sol): ~$0.025 / roundDeepSeek (
deepseek-v4-pro): ~$0.007 / roundCombined Cost: ~$0.032 (~3 to 4 cents) per full Council deliberation.
A $50 balance ($35 OpenAI + $15 DeepSeek) funds ~1,400 full deliberations (5 to 7+ months of active development).
Credits & License
Inspired by the LLM Council architecture conceived by Andrej Karpathy.
Released under the MIT License.
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 Servers
- AlicenseBqualityDmaintenanceEnables AI agents to consult expert models (Claude, GPT, Gemini, DeepSeek, Z.ai) for technical guidance, code reviews, and architectural advice without switching context.4214MIT
- AlicenseAqualityBmaintenanceEnables multi-round brainstorming debates between multiple AI models like GPT, DeepSeek, and Ollama to produce synthesized final outputs. Users can orchestrate parallel model interactions where AI agents critique and refine each other's ideas to reach a consolidated conclusion.715867MIT
- AlicenseAqualityDmaintenanceEnables structured multi-model AI planning sessions across multiple CLI coding tools, orchestrating independent planning, peer review, and final synthesis.16341MIT
- AlicenseNot gradedqualityBmaintenanceEnables multi-strategy AI orchestration including council decision review, debate, brainstorming, evaluation, and spec review, with support for multiple LLM providers and advisor personas.20MIT
Related MCP Connectors
Adaptive plan/build/review cycles for AI coding assistants, persisted across sessions.
Coding agents from Claude Code, Cursor and Codex claim jobs and lock files on one shared board.
Deterministic AI code review, with an audit record. Governance inside the agent loop.
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/luthfiyufajjiru/llm-council-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server