cognition-wheel
Enables querying multiple AI models in parallel (Claude, Gemini, O3) and synthesizing their responses using anonymous analysis to reduce bias, providing a comprehensive answer.
README
Cognition Wheel MCP Server
A Model Context Protocol (MCP) server that implements a "wisdom of crowds" approach to AI reasoning by consulting multiple state-of-the-art language models in parallel and synthesizing their responses.
Quick Start
Option 1: Use with npx (Recommended)
# Run directly with npx (no installation needed)
npx mcp-cognition-wheel
# Or install globally
npm install -g mcp-cognition-wheel
mcp-cognition-wheel
Option 2: Build from source
- Clone the repository
- Install dependencies:
pnpm install - Copy
.env.exampleto.envand add your API keys - Build the project:
pnpm run build
How It Works
The Cognition Wheel follows a three-phase process:
-
Parallel Consultation: Simultaneously queries three different AI models:
- Claude-4-Opus (Anthropic)
- Gemini-2.5-Pro (Google)
- O3 (OpenAI)
-
Anonymous Analysis: Uses code names (Alpha, Beta, Gamma) to eliminate bias during the synthesis phase
-
Smart Synthesis: Randomly selects one of the models to act as a synthesizer, which analyzes all responses and produces a final, comprehensive answer
Features
- Parallel Processing: All models are queried simultaneously for faster results
- Bias Reduction: Anonymous code names prevent synthesizer bias toward specific models
- Internet Search: Optional web search capabilities for all models
- Detailed Logging: Comprehensive debug logs for transparency and troubleshooting
- Robust Error Handling: Graceful degradation when individual models fail
Installation
Option 1: Use with npx (Recommended)
# Run directly with npx (no installation needed)
npx mcp-cognition-wheel
# Or install globally
npm install -g mcp-cognition-wheel
mcp-cognition-wheel
Option 2: Build from source
- Clone the repository
- Install dependencies:
pnpm install - Copy
.env.exampleto.envand add your API keys - Build the project:
pnpm run build
Usage
This is an MCP server designed to be used with MCP-compatible clients like Claude Desktop or other MCP tools.
Required Environment Variables
ANTHROPIC_API_KEY: Your Anthropic API keyGOOGLE_GENERATIVE_AI_API_KEY: Your Google AI API keyOPENAI_API_KEY: Your OpenAI API key
Using with Cursor
Based on the guide from this dev.to article, here's how to integrate with Cursor:
Option 1: Using npx (Recommended)
-
Open Cursor Settings:
- Go to Settings → MCP
- Click "Add new MCP server"
-
Configure the server:
- Name:
cognition-wheel - Command:
npx - Args:
["-y", "mcp-cognition-wheel"]
Example configuration:
{ "cognition-wheel": { "command": "npx", "args": ["-y", "mcp-cognition-wheel"], "env": { "ANTHROPIC_API_KEY": "your_anthropic_key", "GOOGLE_GENERATIVE_AI_API_KEY": "your_google_key", "OPENAI_API_KEY": "your_openai_key" } } } - Name:
Option 2: Using local build
-
Build the project (if not already done):
pnpm run build -
Configure the server:
- Name:
cognition-wheel - Command:
node - Args:
["/absolute/path/to/your/cognition-wheel/dist/app.js"]
Example configuration:
{ "cognition-wheel": { "command": "node", "args": [ "/Users/yourname/path/to/cognition-wheel/dist/app.js" ], "env": { "ANTHROPIC_API_KEY": "your_anthropic_key", "GOOGLE_GENERATIVE_AI_API_KEY": "your_google_key", "OPENAI_API_KEY": "your_openai_key" } } } - Name:
-
Test the integration:
- Enter Agent mode in Cursor
- Ask a complex question that would benefit from multiple AI perspectives
- The
cognition_wheeltool should be automatically triggered
Tool Usage
The server provides a single tool called cognition_wheel with the following parameters:
context: Background information and context for the problemquestion: The specific question you want answeredenable_internet_search: Boolean flag to enable web search capabilities
Development
pnpm run dev: Watch mode for developmentpnpm run build: Build the TypeScript codepnpm run start: Run the server directly with tsx
Docker
Build and run with Docker:
# Build the image
docker build -t cognition-wheel .
# Run with environment variables
docker run --rm \
-e ANTHROPIC_API_KEY=your_key \
-e GOOGLE_GENERATIVE_AI_API_KEY=your_key \
-e OPENAI_API_KEY=your_key \
cognition-wheel
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。