mcpField
S
SpotGPU

SpotGPU

Local
spotgpu-api.fly.devCloud & Infra0Updated 3w ago

About SpotGPU

SpotGPU is a discontinued MCP server for querying spot GPU rental prices from Vast and RunPod. Its API has been shut down, so the package no longer works.

Key features

  1. 01Queries spot GPU prices from Vast and RunPod
  2. 02Returns best offers and alternatives
  3. 03Filters by GPU, quantity, and markets

Use cases

  1. 01Compare spot prices for a selected GPU
  2. 02Check alternatives across Vast and RunPod

MCP support

It exposes the `spot_price` tool to MCP clients. The tool calls `GET /v1/spot` and returns the API response.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"flowtestpro-svg-spotgpu": {
"command": "uvx",
"args": [
"spotgpu-mcp"
],
"env": {
"SPOTGPU_API_KEY": "<SPOTGPU_API_KEY>",
"SPOTGPU_BASE_URL": "<SPOTGPU_BASE_URL>"
}
}
}
}
Run commanduvx spotgpu-mcp
Environment variables to set
SPOTGPU_API_KEYSecretSpotGPU API key (sk_…). Get a free 25-credit trial key: curl -X POST https://spotgpu-api.fly.dev/v1/keys. Credits pay for lookups, not GPU rental.
SPOTGPU_BASE_URLSpotGPU API base URL

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypispotgpu-mcp0.1.1

Tools

1

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
gpustringYes
qtyintegerNo
freshbooleanNo
marketsstringNo

Details

From the project README

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)
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:

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)
uvx spotgpu-mcp
Local (this monorepo package)
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:

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

Local editable install instead of uvx:

{
  "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):

{
  "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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.