Skip to content
RelaySwitch logo

RelaySwitch MCP server

Proxies one URL and key to 302 chat models, metering each message with a per-message price for character chat apps.

read 2026-12-01

← Back to RelaySwitch

How to connect

Add the server to your MCP client config. Claude Desktop, Cursor and most other clients read this shape:

{
  "mcpServers": {
    "gateway": {
      "type": "http",
      "url": "https://api.relayswitch.io/mcp"
    }
  }
}

Add it

Claude Code, in a terminal

claude mcp add --transport http relayswitch https://api.relayswitch.io/mcp

Add to CursorAdd to VS Code

claude.ai, ChatGPT and other clients: add https://api.relayswitch.io/mcp as a custom connector in the settings.

Tools it offers15 tools · read 2026-12-01
  • list_modelsseen, not called yet

    Every chat, embedding, rerank and transcription model on RelaySwitch with its id, type, the routes and tools that take it, our price (per million tokens, or per audio minute for transcription), the developer's list price where recorded…

  • list_media_modelsseen, not called yet

    Every media model on RelaySwitch with its id, kind, endpoint, unit and price per image, second, generation or minute at each setting, next to the developer's price where recorded. No key needed. Live from GET /v1/catalog/media.

  • media_modeldescribed by the server

    Everything generate needs to call one image, video, speech, music or 3D model: each setting under params with its type, the values it takes, its range and its default, and the price per unit at each setting under pricing. No key needed…

  • estimatedescribed by the server

    The cost of a request on every chat model (or the ids given), cheapest first, with the developer's list cost and the saving. Give input_tokens, or a prompt / messages to count from. With the caller's key, prices are the key's own (price…

  • media_quotedescribed by the server

    What generate would charge for exactly these settings, at the key's own rates: the units billed, the charge, and the developer's own price for the same request where one is on record. The settings are checked as a real request's would be…

  • proofdescribed by the server

    Whether each model is still the model it says it is: every day one fixed prompt goes to every model and the verdict per model is stable, changed, failed or unchecked, with the time of the last check and how long the answer has been…

  • chatchanges datadescribed by the server

    Sends messages to any chat model id through POST /v1/chat/completions and returns the answer, the token usage and what the request cost. system adds instructions, image_urls lets a model that sees images look at them (a file generate made…

  • comparechanges datadescribed by the server

    Sends the same conversation (or one prompt) to 2 to 5 chat model ids at once through POST /v1/chat/completions and returns every answer side by side with its token usage, cost and time, plus the total. For a second opinion from another…

  • searchseen, not called yet

    One web search through POST /v1/search: titles, URLs, snippets and publish dates, up to 10 results, optionally only from the last day, week, month or year. Billed as one search to the key in the MCP request's Authorization header (the…

  • embeddescribed by the server

    Embeds one text or up to 64 through POST /v1/embeddings with an embedding model id from list_models (type embedding) and returns one vector per text, in order, with the token usage and the charge. Billed to the key in the MCP request's…

  • rerankdescribed by the server

    Orders up to 100 documents by relevance to a query through POST /v1/rerank with a rerank model id from list_models (type rerank): each result's index into documents, its score and its text, best first. Billed per input token to the key in…

  • transcribedescribed by the server

    Turns the speech in an audio or video file at an https URL (25 MB at most; a file generate made works) into text through POST /v1/audio/transcriptions, or into English with translate. Use a transcription model id from list_models (type…

  • generatechanges datadescribed by the server

    Runs any media model id from list_media_models with its settings (see media_model) through POST /v1/generations, waits up to wait_seconds for the files, and returns the generation: a link per file (kept 30 days), a finished image inline…

  • generationdescribed by the server

    One generation by id: its status, progress, files and charge, waiting up to wait_seconds for it to finish first. Use it after generate answers with a video still running. Needs the key the generation was made with. Live from GET…

  • generationsdescribed by the server

    The organization's generations, newest first, each with its status, model, files and charge: the asset library behind generate. Filter by kind, model or status; page with before. Files are kept 30 days. Needs the key. Live from GET…

How we checked it

Should an agent connect it

Connect it, with care
  • Its tools do route character chat to many models through one key, but not set a prepaid budget and model list per agent key.
  • On Nov 26, 2026 we called its read-only tools following a fixed scenario, and only 0 of 2 steps returned what the check expects.

Once connected

  • For "route character chat to many models through one key", the likely first call is list_models.

Said by rules from the measurements above. The likely first call is a model's pick from the tool list; read its description before relying on it.

Measured daily

daily checks: 24, the first on 2026-11-08
  • INITE MCP score76 of 100answers 100 · does the job 50 · definitions 97 · context 94 · connects 100 · lowered until one of our scenario runs passes
  • Checked by calling it0 of 2 steps passedlatest run Nov 26, 2026, read-only calls only
  • What an agent can do with it1 of 2 use cases
  • Answered100% of days24 of 24 daily checks
  • Median first answer203 msslowest in twenty: 385 ms
  • Space in an agent's context≈ 3,769 tokensthe definitions of all its tools (15), which an agent carries on every turn
  • Tool definitionsA · 97 of 100
  • Typed results0 of 15 toolsdeclared outputSchema: results come typed, read once
  • Parameters without a description: in 3 of 15

What an agent can do with it

  • can do · route character chat to many models through one key
  • cannot · set a prepaid budget and model list per agent key
  • not sure · check which model answered each request with signed receipts

Each of the product's use cases, put to Jev against this server's tool list: can an agent do it with these tools?

Worth a look

None of the five warning signs in these definitions.

A program checks the server once a day: initialize and tools/list, no model. Tokens are the definitions' length at about four characters a token. The grade averages six checks of every tool's name, description, schema and annotations; it says how well the tools are described, not whether they work. The score weighs what was measured and nothing else: answering (25%), doing the product's job (25%), definitions (20%), context (10%), use (10%) and how readily a client connects (10%). A part that was not measured is left out, and a hidden instruction caps the score at 40. The state of vendors' MCP servers: method and numbers →

Security2026-11-30

Grade A, 98 of 100, checked 2026-11-30 · 19 of 19 checks judged · 1 failed

Full report →

When we asked itchecked 2026-12-01
  • Stateanswerschecked 2026-12-01
  • Tools15
  • Server calls itselfrelayswitch
  • Server version2026-10-19
  • Protocol version2025-06-18

On 2026-12-01 the server answered initialize and tools/list without a sign-in. First answer in 234 ms.

Whose server it is
  • Registry nameio.relayswitch/gatewayverified in the MCP registry

The registry name sits under relayswitch.io. The registry only lets a publisher use that namespace after proving control of the domain through DNS or HTTP.

OpenAPI spec

68 paths, read 2026-12-01. Open the spec ↗

Each line is something a program found when it went looking: the registry entry, the server's own answer, a spec that parses. A missing line means we did not find it, not that it does not exist.