Integrates with Google's Gemini AI models (including variants like gemini-2.5-pro-preview, gemini-1.5-pro, etc.) to provide AI capabilities with automatic fallback mechanisms between experimental and stable models.
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., "@Gemini MCP Serverreview this Python function for security issues and suggest improvements"
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.
Council MCP Server
A Model Context Protocol (MCP) server that enables Claude to collaborate with multiple AI models via OpenRouter. Access 100+ models from Google, Anthropic, OpenAI, Meta, Mistral, and more.
Features
Multi-Model Support: Access 100+ models via OpenRouter (Gemini, GPT, Claude, Llama, Mistral, etc.)
Dynamic Model Discovery: List and filter available models by provider, capability, or pricing
Per-Request Model Override: Use different models for different tasks
Multiple Collaboration Tools: Code review, brainstorming, test generation, explanations
Response Caching: Automatic caching for repeated queries
Related MCP server: Gemini MCP Server
Quick Start
1. Prerequisites
Python 3.9+
2. Installation
# Clone the repository
git clone https://github.com/lbds137/council-mcp-server.git
cd council-mcp-server
# Install dependencies
pip install -r requirements.txt
# Copy and configure environment
cp .env.example .env
# Edit .env and add your OPENROUTER_API_KEY3. Configuration
Edit .env to configure:
# Your OpenRouter API key (required)
OPENROUTER_API_KEY=sk-or-...
# Model configuration (optional - defaults shown)
COUNCIL_DEFAULT_MODEL=google/gemini-3-pro-preview
COUNCIL_CACHE_TTL=3600
COUNCIL_TIMEOUT=6000004. Register with Claude
# Install to MCP location
./scripts/install.sh
# Or manually register
claude mcp add council python3 ~/.claude-mcp-servers/council/launcher.pyAvailable Tools
Core Tools
Tool | Description |
| General questions and problem-solving assistance |
| Code review feedback (security, performance, best practices) |
| Collaborative brainstorming for architecture and design |
| Generate comprehensive test scenarios |
| Clear explanations of complex code or concepts |
| Combine multiple viewpoints into a coherent summary |
Model Management
Tool | Description |
| Check server status and current model |
| List available models with filtering |
| Change the active model for subsequent requests |
Model Override
All tools support an optional model parameter to use a specific model:
# Use Claude for code review
mcp__council__code_review(
code="def hello(): print('world')",
focus="security",
model="anthropic/claude-3-opus"
)
# Use GPT-4 for brainstorming
mcp__council__brainstorm(
topic="API design patterns",
model="openai/gpt-4-turbo"
)Popular Model Configurations
Google Gemini (Default)
COUNCIL_DEFAULT_MODEL=google/gemini-3-pro-previewAnthropic Claude
COUNCIL_DEFAULT_MODEL=anthropic/claude-3.5-sonnetOpenAI GPT-4
COUNCIL_DEFAULT_MODEL=openai/gpt-4-turboMeta Llama (Free)
COUNCIL_DEFAULT_MODEL=meta-llama/llama-3.3-70b-instruct:freeDevelopment
Project Structure
council-mcp-server/
├── src/council/ # Main source code
│ ├── main.py # CouncilMCPServer entry point
│ ├── manager.py # ModelManager (OpenRouter)
│ ├── providers/ # LLM provider implementations
│ ├── discovery/ # Model discovery and filtering
│ ├── tools/ # MCP tool implementations
│ ├── core/ # Registry and orchestrator
│ └── services/ # Cache and memory
├── tests/ # Test suite
├── scripts/ # Installation scripts
├── server.py # Bundled single-file server
├── launcher.py # Launcher with venv support
├── CLAUDE.md # Claude Code instructions
└── README.md # This fileRunning Tests
# Create virtual environment
python -m venv .venv
source .venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Run tests
pytest tests/ -vBuilding the Bundle
# Generate single-file server.py
python scripts/bundler.py
# Deploy to MCP location
./scripts/install.shUpdating
To update your local MCP installation after making changes:
./scripts/install.shThen restart Claude Desktop/Code.
Troubleshooting
Server not found
# Check registration
claude mcp list
# Re-register if needed
./scripts/install.shAPI Key Issues
# Verify environment variable
echo $OPENROUTER_API_KEY
# Test with list_models tool
mcp__council__list_models(limit=5)Model Not Available
Use list_models to find available models:
mcp__council__list_models(provider="google")Version History
v4.0.0: Council - Multi-model support via OpenRouter
v3.0.0: Modular architecture with bundler
v2.0.0: Dual-model support with fallback
v1.0.0: Initial Gemini integration
License
MIT License - see LICENSE file for details.
Acknowledgments
Built for Claude using the Model Context Protocol
Powered by OpenRouter for multi-model access