Deprecated. Deprecated by the publisher: Discontinued Oct 2026: the SpotGPU API has been shut down. This package no longer works.
Spot GPU rental prices (Vast + RunPod) via SpotGPU GET /v1/spot
Runs on your machine from its package; the steps are below.
Not assessed yet.
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).
Run
uvx spotgpu-mcp
MCP client config
{
"mcpServers": {
"spotgpu": {
"command": "uvx",
"args": [
"spotgpu-mcp"
]
}
}
}Discontinued Oct 2026: the SpotGPU API has been shut down. This package no longer works.
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_hris the upstream provider rental price, not a SpotGPU fee.
Requires Python 3.10+ and a SpotGPU API key.
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
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.
uvx spotgpu-mcp
cd packages/mcp-spotgpu
uv sync # or: pip install -e .
export SPOTGPU_API_KEY=sk_…
spotgpu-mcp
Env:
| Variable | Required | Default |
|---|---|---|
SPOTGPU_API_KEY | yes | — |
SPOTGPU_BASE_URL | no | https://spotgpu-api.fly.dev |
Never hardcode keys. The server speaks MCP on stdio only (do not print to stdout).
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_…"
}
}
}
}
Add to .cursor/mcp.json (or user MCP config):
{
"mcpServers": {
"spotgpu": {
"command": "uvx",
"args": ["spotgpu-mcp"],
"env": {
"SPOTGPU_API_KEY": "sk_…"
}
}
}
}
spot_price| Param | Type | Default | Notes |
|---|---|---|---|
gpu | string | required | e.g. RTX_4090 |
qty | int | 1 | ≥ 1 |
markets | string | "vast,runpod" | comma-separated |
fresh | bool | false | maps to fresh=1 |
On success returns JSON text of the API body (best.usd_per_hr, alts, …).
Requests send X-SpotGPU-Client: mcp-spotgpu.
io.github.flowtestpro-svg/spotgpu-mcp