Back to Directory/Communication

ai.proxyllm/proxyllm-mcp

OpenAI-compatible LLM gateway: models, savings math, key provisioning, autonomous email-OTP signup

CommunicationJavaScriptv1.0.2

proxyllm-mcp

MCP server for ProxyLLM, the OpenAI-compatible LLM gateway. It gives any MCP client (Claude Code, Claude Desktop, Cursor, Cline, Windsurf, OpenClaw) live model catalogs, plan-savings math, routing-key introspection and provisioning, and an account signup flow an agent can complete on its own: email OTP in, sk_ account token out, HTTP 402 with a checkout link until a human activates the membership.

Install

Claude Code:

claude mcp add proxyllm -- npx -y proxyllm-mcp

Cursor, Cline, Claude Desktop, or any client that takes a JSON server entry:

{
  "mcpServers": {
    "proxyllm": {
      "command": "npx",
      "args": ["-y", "proxyllm-mcp"]
    }
  }
}

No configuration is required to start. Two optional environment variables save passing tokens per call:

  • PROXYLLM_ACCOUNT_TOKEN: an sk_ (read+write) or rk_ (read-only) account token for the management tools.
  • PROXYLLM_ROUTING_KEY: a pllm_ routing key for key introspection and key-scoped model lists.

Tools

Free, no account needed:

  • proxyllm_savings_calculator: monthly OpenAI API bill in, subscription tier + flat total + monthly savings out.
  • proxyllm_list_models: OpenAI-shaped model list from the gateway.
  • proxyllm_introspect_key: what a routing key can do (lanes, models, budget, whether a Codex subscription backs it).

Account flow (an agent can run this end to end):

  • proxyllm_signup: emails a 6-digit code to the operator's inbox. No captcha.
  • proxyllm_verify_signup: exchanges the code for the sk_ account token (returned once).
  • proxyllm_account: account state; while unpaid it carries the checkout link and a message written to be relayed to the operator. Poll until plan is "pro".

Provisioning (paid accounts):

  • proxyllm_create_routing_key: mints a pllm_ key, optionally wiring its provider chain (Codex subscription seats, self-hosted Claude Code bridges, metered API keys) in the same call.
  • proxyllm_list_routing_keys: keys, plus the wireable lane ids with include_lanes.
  • proxyllm_usage: 30-day usage summary.

Unpaid accounts get 402 payment_required on management tools by design; the body names the price ($129/mo flat), the checkout URL, and the 48-hour removal deadline for never-activated accounts. Error bodies are returned verbatim because they contain the next step.

Links

MIT license.

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y proxyllm-mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "ai-proxyllm-proxyllm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "proxyllm-mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

proxyllm-mcpnpm

Compatible MCP Clients

ai.proxyllm/proxyllm-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More