Finds the cheapest cloud for a stateless CPU or GPU job across AWS, Vast.ai, RunPod and more.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
State, price, wall time and log tail of one of your jobs.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http cloudswap https://cloudswap.ai/mcp
State, price, wall time and log tail of one of your jobs.
| Argument | Type | Description |
|---|---|---|
| id* | string |
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
}
}
}List the providers this router prices.
No arguments.
{
"type": "object",
"properties": {}
}Price a stateless container or batch/GPU job on every provider and return the cheapest fitting place, with cost per run and the next best offers. Dry run: places nothing.
| Argument | Type | Description |
|---|---|---|
| hours | number | expected wall time on an AWS c7i-class CPU or the named GPU |
| trust | string | |
| vcpus* | integer | |
| mem_gb* | number | |
| regions | array | eu, us, asia or region codes |
| spot_ok | boolean | job may be interrupted and re-run |
| gpu_type | string | e.g. H100, A100, RTX 4090; omit for CPU jobs |
| gpu_count | integer | |
| stateless | boolean | must be true; stateful jobs are refused |
| data_in_gb | number | data pulled from AWS per run (egress cost) |
| max_price_hr | number | USD per hour cap |
{
"type": "object",
"required": [
"vcpus",
"mem_gb"
],
"properties": {
"hours": {
"type": "number",
"description": "expected wall time on an AWS c7i-class CPU or the named GPU"
},
"trust": {
"enum": [
"any",
"datacenter"
],
"type": "string"
},
"vcpus": {
"type": "integer",
"minimum": 1
},
"mem_gb": {
"type": "number",
"exclusiveMinimum": 0
},
"regions": {
"type": "array",
"items": {
"type": "string"
},
"description": "eu, us, asia or region codes"
},
"spot_ok": {
"type": "boolean",
"description": "job may be interrupted and re-run"
},
"gpu_type": {
"type": "string",
"description": "e.g. H100, A100, RTX 4090; omit for CPU jobs"
},
"gpu_count": {
"type": "integer",
"minimum": 0
},
"stateless": {
"type": "boolean",
"description": "must be true; stateful jobs are refused"
},
"data_in_gb": {
"type": "number",
"description": "data pulled from AWS per run (egress cost)"
},
"max_price_hr": {
"type": "number",
"description": "USD per hour cap"
}
}
}Run a stateless container job on the cheapest fitting machine (Vast.ai, RunPod or Shadeform), paid from your CloudSwap prepaid credits. A hold of the maximum price is taken first; you pay the real price after the run. Needs your CloudSwap API key as a Bearer token. Returns a job id: call get_job to follow it.
| Argument | Type | Description |
|---|---|---|
| env | object | |
| hours | number | expected wall time on an AWS c7i-class CPU or the named GPU |
| image | string | public container image, default python:3.12-slim |
| label | string | |
| trust | string | |
| vcpus | integer | |
| mem_gb | number | |
| command* | string | shell command run in the container |
| regions | array | eu, us, asia or region codes |
| spot_ok | boolean | job may be interrupted and re-run |
| gpu_type | string | e.g. H100, A100, RTX 4090; omit for CPU jobs |
| gpu_count | integer | |
| max_hours | number | hard time limit, 0.05 to 4 |
| stateless | boolean | must be true; stateful jobs are refused |
| data_in_gb | number | data pulled from AWS per run (egress cost) |
| max_price_hr | number | USD per hour cap |
{
"type": "object",
"required": [
"command"
],
"properties": {
"env": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"hours": {
"type": "number",
"description": "expected wall time on an AWS c7i-class CPU or the named GPU"
},
"image": {
"type": "string",
"description": "public container image, default python:3.12-slim"
},
"label": {
"type": "string"
},
"trust": {
"enum": [
"any",
"datacenter"
],
"type": "string"
},
"vcpus": {
"type": "integer",
"minimum": 1
},
"mem_gb": {
"type": "number",
"exclusiveMinimum": 0
},
"command": {
"type": "string",
"description": "shell command run in the container"
},
"regions": {
"type": "array",
"items": {
"type": "string"
},
"description": "eu, us, asia or region codes"
},
"spot_ok": {
"type": "boolean",
"description": "job may be interrupted and re-run"
},
"gpu_type": {
"type": "string",
"description": "e.g. H100, A100, RTX 4090; omit for CPU jobs"
},
"gpu_count": {
"type": "integer",
"minimum": 0
},
"max_hours": {
"type": "number",
"description": "hard time limit, 0.05 to 4"
},
"stateless": {
"type": "boolean",
"description": "must be true; stateful jobs are refused"
},
"data_in_gb": {
"type": "number",
"description": "data pulled from AWS per run (egress cost)"
},
"max_price_hr": {
"type": "number",
"description": "USD per hour cap"
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 1, 2026.
No readOnlyHint / destructiveHint annotations, so clients can't tell a read from a write without asking.
Fix: Add annotations to each tool, e.g. { readOnlyHint: true } for tools that only read.