← All 23 Open-Source Repositories
Role-based multi-provider MCP router for Claude Code, Gemini, Grok, and local LLMs with live subscription quota headroom and fail-open delegation.
Single-provider coding sessions hit subscription rate limits mid-build, burn frontier tokens on trivial extraction tasks, and suffer from single-family sycophancy when reviewing their own designs. `mcp-brain-router` separates orchestration from worker selection so every sub-task routes to the best available model family automatically.
git clone https://github.com/mohan-n-swamy/mcp-brain-router.git
cd mcp-brain-router
pipx install mcp-brain-router && mcp-brain-router-install
mcp-brain-router roles
pytest -q
| Variable | Default | Purpose |
|---|---|---|
BRAIN_ROUTER_CALLER | claude | |
CONFIG_TOML | ~/.config/mcp-brain-router/config.toml |
open source mcp brain router self hosted MITmcp-brain-router github configurable .envhow to self host mcp brain router with docker python typescriptopen source mcp reference architectureopen source mcp server reference architectureopen source model context protocol reference architectureopen source llm router reference architectureopen source multi agent reference architectureopen source claude code reference architecture