Esc to close · ⌘K / Ctrl-K opens search anywhere
BharatRouter is a native MCP server — agents don't need a wrapper to use it. Connect any MCP client (Claude Code, Claude Desktop, or your own) over streamable HTTP with a BharatRouter key as the bearer token:
claude mcp add --transport http bharatrouter https://api.bharatrouter.com/mcp \
--header "Authorization: Bearer br-..." The server is stateless (POST /mcp only). Machine-readable discovery:
server card ·
llms.txt ·
openapi.json.
| Tool | What it does |
|---|---|
list_models | The catalog with INR pricing, residency and live health — lets an agent pick a model by constraint. |
chat | One-shot completion (non-streaming); supports optimize, provider, data_policy, upstream_key. |
health | Gateway health snapshot. |
get_balance | Prepaid balance, low-balance threshold, 30-day spend. (org key) |
list_keys | Org API keys with limits, budgets, last-used. (org key) |
list_byok_keys | Saved BYOK keys and available providers. (org key) |
get_fallback_chains | Your org's saved fallback chains. (org key) |
list_endpoints | Your registered BYOE endpoints (keys masked). (org key) |
test_endpoint | Compliance-test a BYOE config without saving it. (org key) |
list_collections | The public collections registry. (org key) |
get_collection_health | Per-step uptime/p95 latency for a monitored collection. (org key) |
create_topup_link | Returns a dashboard link — the human pays; agents never move money. (org key) |
| Tool | What it does |
|---|---|
save_byok_key / remove_byok_key | Manage BYOK provider keys. |
set_fallback_chain / clear_fallback_chain | Save or remove a model's fallback chain. |
register_endpoint / remove_endpoint | Register or remove a BYOE endpoint (register runs the compliance test). |
import_collection | Import a collection into your routing (fork-before-use). |
set_monitoring / run_monitor_check | Turn monitoring on/off, or canary a collection's steps now. |
set_monitor_alert / remove_monitor_alert | Add or remove an alert on error_rate/latency_p95. |
set_key_budget | Update a key's monthly ₹ budget. |
Plus create_ephemeral_key (below), available to any DB-backed org key.
Every write tool requires an explicit user_confirmed: true argument — the
contract is that the agent asks its human before changing org state. Payments are
link-only by design.
create_ephemeral_key mints a key that expires in 1–168 hours (default 24)
with a daily cap of up to 1,000 requests (default 100). It is inference-only — it can
call chat and list_models but none of the management tools —
so an orchestrator can hand credentials to sub-agents or untrusted code without exposing
the org key. Full details on API keys & limits.
data_policy: "india_only" per call; it fails closed rather than
leaving India.