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 整合