PlugWiki
LLM Gateway logo

LLM Gateway MCP server

OfficialRemote
Gethttps://api.llmgateway.io/mcptheopenco/llmgateway

Lets your AI assistant chat with any model, generate images, browse models and check usage and costs on LLM Gateway.

This is the hosted MCP server of LLM Gateway, an API gateway for many AI models. You connect your client to its address with an API key from your dashboard.

Your assistant can read usage and cost reports, list models, send messages to other models and generate images. The chat and image tools are billed to the workspace that issued the key.

Good for

  • LLM Gateway users who track spend by model, provider and coding app
  • Claude Code users who want a second model to review code
  • Developers who generate images from their assistant

Works in

14 should work

Tap an app to see how to set it up and any known problems.

Install LLM Gateway MCP

Claude Code

  1. 1

    Copy this prompt.

    Add the LLM Gateway MCP server to Claude Code. Run this command:
    
    claude mcp add --transport http --scope user llmgateway https://api.llmgateway.io/mcp --header "Authorization: Bearer your-api-key-here"
    
    Then check that it loaded and tell me if I need to sign in or restart.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires LLM Gateway API key.

Claude Code and Cursor setups are from the LLM Gateway docs. Replace your-api-key-here with a key from the API Keys page of your dashboard.

From the vendor's docs. Source.

Tools

  • Shows who you are connected as

    Shows the connected user, organization, project, role and any API key spending limits. Owners and admins also see the organization's credit balance, and credentials are never returned.

    Try: “Which LLM Gateway project and role am I connected as?”

    Read · get-account

  • Shows your usage and costs

    Returns request and token totals, errors, cache hits, costs and a time series for a date range, plus your most-used provider, model and coding app.

    Try: “Show my usage and costs for the last 30 days.”

    Read · get-usage

  • Ranks providers, models, apps or keys

    Ranks providers, models, coding apps or API keys by requests, cost or tokens, with paging.

    Try: “Which coding app accounts for the most cost this month?”

    Read · get-usage-breakdown

  • Lists available LLM models

    Lists models with capabilities and pricing, with filters for family and deprecated models.

    Try: “List the Anthropic models you can reach, with prices.”

    Read · list-models

  • Lists image models

    Lists the image generation models you can use.

    Try: “Which image models are available?”

    Read · list-image-models

  • Sends a message to any model

    Sends a conversation to a model you choose and returns the full answer. The cost is billed to the workspace that issued the key.

    Try: “Ask a different model to review this function.”

    Write · chat

  • Generates an image from a prompt

    Generates one to four images from a text prompt with an image model, defaulting to qwen-image-3.0. Image generation is billed to your workspace.

    Try: “Generate a minimalist blue logo for my startup.”

    Write · generate-image

  • Generates an image with Gemini 3 Pro

    Generates an image with Gemini 3 Pro Image and returns an inline preview. The hosted server returns it inline without writing files, since saving needs a server upload directory.

    Try: “Create a 16:9 hero image for my landing page.”

    Write · generate-nano-banana

Read from the source code

Permissions

medium risk · 3 things to watch · 2 advisories

Medium risk

It can run paid model calls and image generation on the workspace behind your API key. Use a key for the project you want to expose, and watch its spending limits.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • Chat and image tools spend your credits

    chat, generate-image and generate-nano-banana are billed to the workspace that issued the key. Spending limits on the key or member still apply to them. docs.llmgateway.io

  • The API key sits in your client config

    The key is sent as a Bearer header, so it is stored in the config file. Use a key limited to one project and rotate it if the file is shared. docs.llmgateway.io

  • Usage tools only read your own scope

    Owners and admins see the project's usage across keys, and developers see only keys they created. The tools cannot override scope. docs.llmgateway.io

Security advisories

Technical details
Talks toapi.llmgateway.io
Scopes
  • One LLM Gateway project, from the API key you use

Questions

Is the LLM Gateway MCP server official?

Yes. It is the hosted server of LLM Gateway itself, with its code in the LLM Gateway repository.

What is the LLM Gateway MCP server URL?

The address is https://api.llmgateway.io/mcp, and https://llmgateway.io/mcp also works. Send your API key in an Authorization Bearer header.

Do I need an API key?

Yes. Create one on the API Keys page of your LLM Gateway dashboard. A DevPass plan key also works, with model IDs written without a provider prefix.

Which clients are documented?

The docs cover Claude Code, Codex and Cursor, and describe the plain HTTP endpoint for other clients.

Does it cost money?

Reading usage and listing models do not run models, and the docs say analytics tools incur no model charges. Chat and image generation are billed to the workspace that issued the key.

Can it run read-only?

No read-only switch is documented. The analytics tools are read-only, and the chat and image tools spend credits.

Can it see other people's usage?

Owners and admins see the project's usage across keys. Developers see only the keys they created. A project key never reaches another project or organization.

Does it save images to my disk?

Not on the hosted server. The docs say saving needs an upload directory configured on the server, and otherwise images come back inline.

Information

updated Nov 2, 2026

Publisher
Official
Endpoint
https://api.llmgateway.io/mcp
Transport
Streamable HTTP
Auth
API key
Version
1.0.0
Last commit
Oct 31, 2026
Open issues
34
Listed in
Official MCP registry

WebsiteGitHubOfficial MCP RegistryChangelogIssues

Sources

Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.

Show all 3
  1. LLM Gateway MCP server docs · docs.llmgateway.io
  2. LLM Gateway MCP source (v1.23.0) · github.com
  3. LLM Gateway usage tools source · github.com

Facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Updated Nov 2, 2026.