MCP Server
dev.leanroute/mcp-server
v0.1.3Updated Aug 22, 2026stdio · npm
Leanroute MCP: route to 13 LLM providers, check pricing/usage/credit, manage keys from any agent.
Install
Needs 1 secret. Replace 1 placeholder with your own values.
Run in your terminal. Replace 1 placeholder.
claude mcp add mcp-server -e 'LEANROUTE_ADMIN_KEY=<your-leanroute-admin-key>' -e LEANROUTE_BASE_URL=https://api.leanroute.dev -- npx -y @leanroute/[email protected]Configuration
3 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.
LEANROUTE_ADMIN_KEYEnv var· required· secretAdmin API key (gw_admin_*). Mint at https://leanroute.dev/dashboard/admin-keys. Required for platform tools (pricing, usage, credit, key management).LEANROUTE_RUNTIME_KEYEnv var· optional· secretRuntime API key (gw_live_*). Mint at https://leanroute.dev/dashboard/keys. Optional — only required for the route_call tool that dispatches actual LLM completions.LEANROUTE_BASE_URLEnv var· optionalBase URL override for self-hosted Leanroute instances.Default:https://api.leanroute.dev
Links
Listed in the official MCP Registry since Aug 22, 2026. Mirrored daily; last checked Nov 26, 2026.