thinkingcap

Infatoshi/thinkingcap

3.3

If you are the rightful owner of thinkingcap and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

ThinkingCap is a multi-agent research MCP server that integrates multiple LLM providers for comprehensive analysis and response synthesis.

🧠 ThinkingCap

A multi-agent research MCP server that runs multiple LLM providers in parallel and synthesizes their responses. Built on the Model Context Protocol for seamless integration with Claude Desktop, Cursor, and other MCP-compatible tools.

🌟 Features

  • 🔀 Multi-Agent Research: Deploy multiple AI agents simultaneously for comprehensive analysis
  • 🎯 Multi-Provider Support: OpenAI, Anthropic, xAI, Google, OpenRouter, Groq, Cerebras
  • ⚡ Parallel Execution: All agents run concurrently for maximum speed
  • 🔄 Intelligent Synthesis: Combines multiple perspectives into unified, comprehensive answers
  • 🔍 Built-in Web Search: DuckDuckGo search integration (no API key required)
  • 🔌 MCP Native: Works with any MCP-compatible client via npx

🚀 Quick Start

Installation

No installation required! Just add to your MCP client configuration.

Configuration

Add the following to your MCP client configuration (e.g., ~/.cursor/mcp.json):

{
  "mcpServers": {
    "thinkingcap": {
      "command": "npx",
      "args": [
        "-y",
        "thinkingcap",
        "openrouter:moonshotai/kimi-k2-thinking",
        "groq:moonshotai/kimi-k2-instruct-0905",
        "cerebras:zai-glm-4.6",
        "xai:grok-4-fast"
      ]
    }
  }
}

Customizing Agents

You can specify any combination of providers and models as arguments:

"args": [
  "-y",
  "thinkingcap",
  "anthropic:claude-sonnet-4-20250514",
  "openai:gpt-4o",
  "google:gemini-2.0-flash"
]

📋 Supported Providers

ProviderEnv VariableDefault ModelExample
openaiOPENAI_API_KEYgpt-5.1openai:gpt-4o
openrouterOPENROUTER_API_KEYmoonshotai/kimi-k2-thinkingopenrouter:anthropic/claude-3.5-sonnet
groqGROQ_API_KEYmoonshotai/kimi-k2-instruct-0905groq
cerebrasCEREBRAS_API_KEYzai-glm-4.6cerebras
xaiXAI_API_KEYgrok-4-fastxai:grok-4-fast
anthropicANTHROPIC_API_KEYclaude-opus-4-5anthropic
googleGOOGLE_API_KEYgemini-3-pro-previewgoogle:gemini-2.0-flash

🔑 Environment Variables

API keys are read from environment variables. Add them to your ~/.bashrc or ~/.zshrc:

export OPENROUTER_API_KEY="sk-or-..."
export GROQ_API_KEY="gsk_..."
export CEREBRAS_API_KEY="..."
export XAI_API_KEY="..."
# etc.

🛠️ How It Works

  1. Query Decomposition: Your research query is broken into multiple specialized questions
  2. Parallel Execution: Each agent (provider/model combo) researches a different angle
  3. Web Search: Each agent performs web searches to gather current information
  4. Synthesis: All agent responses are combined into one comprehensive answer

🔥 OpenRouter Fireworks Routing

When using OpenRouter, requests are automatically routed to Fireworks as the preferred provider with fallbacks enabled for maximum reliability.

📝 License

MIT License

🙏 Acknowledgments