MCP server: One MCP server.

SpotGPU

@flowtestpro-svgMCP server · External

Spot GPU rental prices (Vast + RunPod) via SpotGPU GET /v1/spot

Price comparisonv0.1.1MITPython
Freeno charge per call

Runs on your machine from its package; the steps are below.

What it does

  1. Reads
  2. Writes
  3. High impact

Not assessed yet.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Runs locally over stdio

This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).

PyPIspotgpu-mcpv0.1.1

Run

uvx spotgpu-mcp

MCP client config

{
  "mcpServers": {
    "spotgpu": {
      "command": "uvx",
      "args": [
        "spotgpu-mcp"
      ]
    }
  }
}
README2 min read

Discontinued Oct 2026: the SpotGPU API has been shut down. This package no longer works.

spotgpu-mcp

MCP (Model Context Protocol) server for SpotGPU spot GPU rental prices.

Exposes one tool: spot_price → GET /v1/spot (Vast + RunPod best + alts).

Credits ≠ rental. SpotGPU API credits pay for price lookups.
usd_per_hr is the upstream provider rental price, not a SpotGPU fee.

Install / run

Requires Python 3.10+ and a SpotGPU API key.

Get an API key (free trial, 25 credits)

bash
curl -X POST https://spotgpu-api.fly.dev/v1/keys

No auth, no email. The response contains api_key (shown once — store it) with 25 trial credits (1 credit per successful lookup). Limit: 3 keys per IP per 24h. Put it in SPOTGPU_API_KEY in your MCP client config. Check your balance:

bash
curl -H "Authorization: Bearer $SPOTGPU_API_KEY" https://spotgpu-api.fly.dev/v1/account

Out of credits (HTTP 402)

When credits run out the API returns 402 insufficient_credits and the tool error points to the top-up page. Buy a credit pack ($5 / 500, $10 / 1000, $50 / 5000) at https://spotgpu-api.fly.dev/topup, or POST /v1/checkout with {"pack_id": "credits_500"} and your Bearer key to get a Stripe Checkout URL. A 401 tool error includes the signup curl above.

One-shot (PyPI)

bash
uvx spotgpu-mcp

Local (this monorepo package)

bash
cd packages/mcp-spotgpu
uv sync   # or: pip install -e .
export SPOTGPU_API_KEY=sk_…
spotgpu-mcp

Env:

VariableRequiredDefault
SPOTGPU_API_KEYyes—
SPOTGPU_BASE_URLnohttps://spotgpu-api.fly.dev

Never hardcode keys. The server speaks MCP on stdio only (do not print to stdout).

Claude Desktop

Add to claude_desktop_config.json:

json
{
  "mcpServers": {
    "spotgpu": {
      "command": "uvx",
      "args": ["spotgpu-mcp"],
      "env": {
        "SPOTGPU_API_KEY": "sk_…"
      }
    }
  }
}

Local editable install instead of uvx:

json
{
  "mcpServers": {
    "spotgpu": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/spotgpu/packages/mcp-spotgpu", "spotgpu-mcp"],
      "env": {
        "SPOTGPU_API_KEY": "sk_…"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json (or user MCP config):

json
{
  "mcpServers": {
    "spotgpu": {
      "command": "uvx",
      "args": ["spotgpu-mcp"],
      "env": {
        "SPOTGPU_API_KEY": "sk_…"
      }
    }
  }
}

Tool: spot_price

ParamTypeDefaultNotes
gpustringrequirede.g. RTX_4090
qtyint1≥ 1
marketsstring"vast,runpod"comma-separated
freshboolfalsemaps to fresh=1

On success returns JSON text of the API body (best.usd_per_hr, alts, …).

Attribution

Requests send X-SpotGPU-Client: mcp-spotgpu.

Published

Similar modules

Browse Price comparison