Integrations
Supports configuration through environment variables for API keys and provider settings.
Enables access to Google AI models like Gemini, with configurable parameters and integration with the overall model orchestration system.
Available as an npm package for easy installation and integration into existing projects.
MindBridge MCP Server ⚡ The AI Router for Big Brain Moves
MindBridge is your AI command hub — a Model Context Protocol (MCP) server built to unify, organize, and supercharge your LLM workflows.
Forget vendor lock-in. Forget juggling a dozen APIs.
MindBridge connects your apps to any model, from OpenAI and Anthropic to Ollama and DeepSeek — and lets them talk to each other like a team of expert consultants.
Need raw speed? Grab a cheap model.
Need complex reasoning? Route it to a specialist.
Want a second opinion? MindBridge has that built in.
This isn't just model aggregation. It's model orchestration.
Core Features 🔥
What it does | Why you should use it |
---|---|
Multi-LLM Support | Instantly switch between OpenAI, Anthropic, Google, DeepSeek, OpenRouter, Ollama (local models), and OpenAI-compatible APIs. |
Reasoning Engine Aware | Smart routing to models built for deep reasoning like Claude, GPT-4o, DeepSeek Reasoner, etc. |
getSecondOpinion Tool | Ask multiple models the same question to compare responses side-by-side. |
OpenAI-Compatible API Layer | Drop MindBridge into any tool expecting OpenAI endpoints (Azure, Together.ai, Groq, etc.). |
Auto-Detects Providers | Just add your keys. MindBridge handles setup & discovery automagically. |
Flexible as Hell | Configure everything via env vars, MCP config, or JSON — it's your call. |
Why MindBridge?
"Every LLM is good at something. MindBridge makes them work together."
Perfect for:
- Agent builders
- Multi-model workflows
- AI orchestration engines
- Reasoning-heavy tasks
- Building smarter AI dev environments
- LLM-powered backends
- Anyone tired of vendor walled gardens
Installation 🛠️
Option 1: Install from npm (Recommended)
Option 2: Install from source
- Clone the repository:Copy
- Install dependencies:Copy
- Configure environment variables:EditCopy
.env
and add your API keys for the providers you want to use.
Configuration ⚙️
Environment Variables
The server supports the following environment variables:
OPENAI_API_KEY
: Your OpenAI API keyANTHROPIC_API_KEY
: Your Anthropic API keyDEEPSEEK_API_KEY
: Your DeepSeek API keyGOOGLE_API_KEY
: Your Google AI API keyOPENROUTER_API_KEY
: Your OpenRouter API keyOLLAMA_BASE_URL
: Ollama instance URL (default: http://localhost:11434)OPENAI_COMPATIBLE_API_KEY
: (Optional) API key for OpenAI-compatible servicesOPENAI_COMPATIBLE_API_BASE_URL
: Base URL for OpenAI-compatible servicesOPENAI_COMPATIBLE_API_MODELS
: Comma-separated list of available models
MCP Configuration
For use with MCP-compatible IDEs like Cursor or Windsurf, you can use the following configuration in your mcp.json
file:
Replace the API keys with your actual keys. For the OpenAI-compatible configuration, you can remove the api_key
field if the service doesn't require authentication.
Usage 💫
Starting the Server
Development mode with auto-reload:
Production mode:
When installed globally:
Available Tools
- getSecondOpinionCopy
- listProviders
- Lists all configured providers and their available models
- No parameters required
- listReasoningModels
- Lists models optimized for reasoning tasks
- No parameters required
Example Usage 📝
Development 🔧
npm run lint
: Run ESLintnpm run format
: Format code with Prettiernpm run clean
: Clean build artifactsnpm run build
: Build the project
Contributing
PRs welcome! Help us make AI workflows less dumb.
License
MIT — do whatever, just don't be evil.
Made with ❤️ by Pink Pixel
You must be authenticated.
An AI router that connects applications to multiple LLM providers (OpenAI, Anthropic, Google, DeepSeek, Ollama, etc.) with smart model orchestration capabilities, enabling dynamic switching between models for different reasoning tasks.
- Core Features 🔥
- Why MindBridge?
- Installation 🛠️
- Configuration ⚙️
- Usage 💫
- Example Usage 📝
- Development 🔧
- Contributing
- License