Get started

MCP server

Agents can use Vioneer as a set of tools: find a model and its price, work out what a job will cost, check what is left and ask any model. Point your MCP client at https://vioneer.xyz/mcp with an API key.

The tools

ToolWhat it does
list_modelsModel ids, prices per million tokens, context window and the saving against list price
estimate_costWhat requests of a given size cost on a model, before you run them
get_balanceYour account's credit, and this key's budget and what it has left
get_usageThis key's recent requests and its last 30 days
chatAsks any model and returns the reply, its tokens and its cost, billed to this key

The server speaks MCP over Streamable HTTP at https://vioneer.xyz/mcp, and takes your key as Authorization: Bearer <key>.

Claude Code

shell
claude mcp add --transport http vioneer https://vioneer.xyz/mcp \
  --header "Authorization: Bearer $VIONEER_API_KEY"

Cursor

In ~/.cursor/mcp.json, or .cursor/mcp.json in a project:

mcp.json
{
  "mcpServers": {
    "vioneer": {
      "url": "https://vioneer.xyz/mcp",
      "headers": { "Authorization": "Bearer your Vioneer key" }
    }
  }
}

Claude Desktop

Through mcp-remote, in claude_desktop_config.json:

claude_desktop_config.json
{
  "mcpServers": {
    "vioneer": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://vioneer.xyz/mcp", "--header", "Authorization:${AUTH_HEADER}"],
      "env": { "AUTH_HEADER": "Bearer your Vioneer key" }
    }
  }
}

Keep it safe

  • Give the agent a key of its own with a budget: the key stops at that amount, whatever the agent asks for. Budgets
  • The key stays in your client's settings, out of the model's sight. No tool creates or shows a key, so a prompt planted in a web page cannot get one out of the agent.
  • chat is billed like any other request, within the key's budget, rate limit and model allowlist.

If something does not work

  • 401: the key is wrong, revoked or missing. Keys are shown once, when you create them; make a new one in the dashboard if in doubt.
  • 402: the account is out of credit. Top up and the next request goes through.
  • 403: the key is not allowed that model. Check its model allowlist under Keys.
  • 404 on a model: the id is not in the catalogue. Copy it from the price list.
  • 429: a rate or concurrency limit was hit. Wait for the retry-after seconds, or raise the key’s limit.
  • The client says it cannot connect: check the address ends in /mcp and the header reads Authorization: Bearer and your key.

Every request, failed ones included, is listed in the dashboard’s activity log with its status and cost.