AI Gateway
Rank #72,383dev.leanroute/mcp-server
Leanroute MCP: route to 13 LLM providers, check pricing/usage/credit, manage keys from any agent.
AI Gateway is a Model Context Protocol (MCP) server published by leanroute. It ranks #72,383 of 137,492 servers tracked on MCP Toplist. AI Gateway is listed on Official MCP, with 1 tracked version. It was first listed on Aug 22, 2026 and most recently updated on Aug 22, 2026.
Ranks ahead of 65,109 of 137,492 servers on MCP Toplist.
Use AI Gateway
Requires user-supplied configuration before first use — typically an API key, token or connection string set via environment variables.
claude mcp add leanroute -e "LEANROUTE_ADMIN_KEY=<your LEANROUTE_ADMIN_KEY>" -e "LEANROUTE_RUNTIME_KEY=<your LEANROUTE_RUNTIME_KEY>" -e "LEANROUTE_BASE_URL=<your LEANROUTE_BASE_URL>" -- npx -y @leanroute/mcp-serverReplace each placeholder with your own value before saving.
[mcp_servers.leanroute]
command = "npx"
args = ["-y", "@leanroute/mcp-server"]
[mcp_servers.leanroute.env]
LEANROUTE_ADMIN_KEY = "<your LEANROUTE_ADMIN_KEY>"
LEANROUTE_RUNTIME_KEY = "<your LEANROUTE_RUNTIME_KEY>"
LEANROUTE_BASE_URL = "<your LEANROUTE_BASE_URL>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"leanroute": {
"command": "npx",
"args": [
"-y",
"@leanroute/mcp-server"
],
"env": {
"LEANROUTE_ADMIN_KEY": "<your LEANROUTE_ADMIN_KEY>",
"LEANROUTE_RUNTIME_KEY": "<your LEANROUTE_RUNTIME_KEY>",
"LEANROUTE_BASE_URL": "<your LEANROUTE_BASE_URL>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"leanroute": {
"command": "npx",
"args": [
"-y",
"@leanroute/mcp-server"
],
"env": {
"LEANROUTE_ADMIN_KEY": "<your LEANROUTE_ADMIN_KEY>",
"LEANROUTE_RUNTIME_KEY": "<your LEANROUTE_RUNTIME_KEY>",
"LEANROUTE_BASE_URL": "<your LEANROUTE_BASE_URL>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"leanroute": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@leanroute/mcp-server"
],
"env": {
"LEANROUTE_ADMIN_KEY": "<your LEANROUTE_ADMIN_KEY>",
"LEANROUTE_RUNTIME_KEY": "<your LEANROUTE_RUNTIME_KEY>",
"LEANROUTE_BASE_URL": "<your LEANROUTE_BASE_URL>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"leanroute": {
"command": "npx",
"args": [
"-y",
"@leanroute/mcp-server"
],
"env": {
"LEANROUTE_ADMIN_KEY": "<your LEANROUTE_ADMIN_KEY>",
"LEANROUTE_RUNTIME_KEY": "<your LEANROUTE_RUNTIME_KEY>",
"LEANROUTE_BASE_URL": "<your LEANROUTE_BASE_URL>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"leanroute": {
"command": "npx",
"args": [
"-y",
"@leanroute/mcp-server"
],
"env": {
"LEANROUTE_ADMIN_KEY": "<your LEANROUTE_ADMIN_KEY>",
"LEANROUTE_RUNTIME_KEY": "<your LEANROUTE_RUNTIME_KEY>",
"LEANROUTE_BASE_URL": "<your LEANROUTE_BASE_URL>"
}
}
}
}Replace each placeholder with your own value before saving.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/dev.leanroute%2Fmcp-server)<a href="https://mcptoplist.com/server/dev.leanroute%2Fmcp-server"><img src="https://mcptoplist.com/badge/dev.leanroute%2Fmcp-server.svg" alt="MCP Toplist: #72,383 of 137,492" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Listed on 1 registry
leanroute
Available versions (1)
| Version | Published |
|---|---|
| 0.1.3 | Aug 22, 2026 |
Frequently asked questions
- Who maintains AI Gateway?
- AI Gateway is maintained by leanroute, which publishes 1 MCP server (1 total version) tracked on MCP Toplist.
- Is AI Gateway listed on the Official MCP Registry?
- Yes — AI Gateway is listed on the Official MCP Registry.
- How many versions does AI Gateway have?
- MCP Toplist tracks 1 version of AI Gateway, most recently published on Aug 22, 2026.
- Where can I find the source code for AI Gateway?
- The source code for AI Gateway is hosted at github.com/leanroute/ai-gateway.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.