Skip to content
mcp/skillhub

Leanroute MCP Server

by leanroutedev.leanroute/mcp-serverv0.1.3

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

Node.jsstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Maintained48d ago

Install Leanroute MCP server

Install in Claude Code

claude mcp add leanroute -e LEANROUTE_ADMIN_KEY='<leanroute-admin-key>' -e LEANROUTE_RUNTIME_KEY='<leanroute-runtime-key>' -- npx -y @leanroute/mcp-server

Configuration

VariableRequiredSecretDescription
LEANROUTE_ADMIN_KEYyesyesAdmin API key (gw_admin_*). Mint at https://leanroute.dev/dashboard/admin-keys. Required for platform tools (pricing, usage, credit, key management).
LEANROUTE_RUNTIME_KEY—yesRuntime 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——Base URL override for self-hosted Leanroute instances.

Freshness

Maintained — last maintenance signal 48d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    no data · GitHub

  2. Latest release

    no data · GitHub

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-08-22 · 48d ago · official registry · v0.1.3

FAQ

›How do I install the Leanroute MCP server in Claude Code?

Run: claude mcp add leanroute -e LEANROUTE_ADMIN_KEY='<leanroute-admin-key>' -e LEANROUTE_RUNTIME_KEY='<leanroute-runtime-key>' -- npx -y @leanroute/mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Leanroute require an API key?

Yes. It expects LEANROUTE_ADMIN_KEY, LEANROUTE_RUNTIME_KEY, of which 2 are secrets.

›Can I use Leanroute as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is Leanroute in the official MCP registry?

Yes, as dev.leanroute/mcp-server.

Alternatives to Leanroute

Other ai & llm tools MCP servers.

View all