SpotGPU

io.github.flowtestpro-svgv0.1.0更新于 Sep 30, 2026

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

已验证STDIO仅桌面Other

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

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 (sk_… from https://spotgpu-api.fly.dev).

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.

PyPI / Official MCP Registry / Smithery / Glama publish is deferred until Biz Bot approval. server.json and glama.json stubs are in this package for later.

Published

来源:README.md,提交 437f9ad

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v0.1.0最新Sep 30, 2026