SpotGPU

io.github.flowtestpro-svg由 GitHub 账号 flowtestpro-svg 发布v0.1.1更新于 Oct 24, 2026

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

发布方自己的服务:Spot

已验证STDIO仅桌面云端与基础设施金融

概览

AI 生成的概览

已停止服务的 MCP 服务器,曾通过 SpotGPU API 查询 Vast 与 RunPod 的 GPU 竞价租用价格。

可以做什么
  • 查询 Vast 与 RunPod 的 GPU 竞价租用价格,返回最优报价与备选方案(JSON)。
  • 按 GPU 型号、数量、市场列表和是否获取最新价格等参数筛选查询。
  • 返回各报价对应的上游供应商每小时租用价格。
  • 注意:README 说明 SpotGPU API 已于 2026 年 10 月关停,该软件包已无法使用。
适用场景
仅具历史参考价值:README 说明其后端 API 已关停、软件包已无法使用,因此不值得为当前的价格查询而安装。
运行要求
需要 Python 3.10+ 以及 SPOTGPU_API_KEY 中的 SpotGPU API 密钥;可选 SPOTGPU_BASE_URL 用于覆盖 API 基础地址。通过 stdio 在本地运行,通常使用 uvx。所依赖的 API 据称已关停。
安装前请注意
API 密钥属于机密,不应硬编码,且注册时仅显示一次。查询会消耗付费额度,额度用尽时返回 HTTP 402,并引导购买额度包(通过 Stripe 结账)。请求会附带 X-SpotGPU-Client 归属标头。该服务据称已停止,密钥与额度可能已无法使用。

安装

在 SourceWeft 中

  1. 打开 控制台中的 SpotGPU,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

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)

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-spotgpuuv 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

来源:README.md,提交 6b47cc4

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v0.1.1最新Oct 7, 2026
  2. v0.1.0Sep 30, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Spot 集成