NestDaddy

Mcp Server

dev.leanroute/mcp-server · v0.1.3

Leanroute MCP: route to 13 LLM providers, check pricing/usage/credit, manage keys from any agent.

Connect Runs on your machine

Terminal
claude mcp add mcp-server -e LEANROUTE_ADMIN_KEY=<LEANROUTE_ADMIN_KEY> -e LEANROUTE_RUNTIME_KEY=<LEANROUTE_RUNTIME_KEY> -e LEANROUTE_BASE_URL=<LEANROUTE_BASE_URL> -- npx -y @leanroute/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@leanroute/[email protected]"
      ],
      "env": {
        "LEANROUTE_ADMIN_KEY": "<LEANROUTE_ADMIN_KEY>",
        "LEANROUTE_RUNTIME_KEY": "<LEANROUTE_RUNTIME_KEY>",
        "LEANROUTE_BASE_URL": "<LEANROUTE_BASE_URL>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@leanroute/[email protected]"
      ],
      "env": {
        "LEANROUTE_ADMIN_KEY": "<LEANROUTE_ADMIN_KEY>",
        "LEANROUTE_RUNTIME_KEY": "<LEANROUTE_RUNTIME_KEY>",
        "LEANROUTE_BASE_URL": "<LEANROUTE_BASE_URL>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@leanroute/[email protected]"
      ],
      "env": {
        "LEANROUTE_ADMIN_KEY": "<LEANROUTE_ADMIN_KEY>",
        "LEANROUTE_RUNTIME_KEY": "<LEANROUTE_RUNTIME_KEY>",
        "LEANROUTE_BASE_URL": "<LEANROUTE_BASE_URL>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
LEANROUTE_ADMIN_KEY
Required, secret
Admin API key (gw_admin_*). Mint at https://leanroute.dev/dashboard/admin-keys. Required for platform tools (pricing, usage, credit, key management).
LEANROUTE_RUNTIME_KEY
Optional, secret
Runtime 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_URL
Optional
Base URL override for self-hosted Leanroute instances.

Details

Package@leanroute/[email protected] (NPM, stdio)
First published22 Aug 2026
Last updated22 Aug 2026
Registry namedev.leanroute/mcp-server

More ai and media servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.