↑
logo

Show HN: CloudSwap, an MCP server that finds the cheapest cloud for a job

Posted by mjonesone |2 hours ago |1 comments

mjonesone 2 hours ago

Hi HN. We built CloudSwap because our own batch jobs kept running on AWS on-demand when the same work was a lot cheaper somewhere else.

You send a job spec (vCPUs, memory, optional GPU type and count, hours, regions, spot ok, max $/h, data pulled from AWS). It returns the cheapest offers that fit across AWS (on-demand and spot), Vast.ai, RunPod, Shadeform, Hetzner and DigitalOcean, ranked by cost per run with AWS egress included. Prices refresh every 15 minutes.

What surprised us: the cheapest $/h is often not the cheapest run. Same 16 vCPU benchmark on each provider, CloudSwap price per run: RunPod $0.0099, AWS spot $0.0133, Vast.ai $0.0164, and a Shadeform host $0.0284 because most of its 211 billed seconds were machine start-up. AWS on-demand direct was $0.0356 for the same job.

A few choices we made: offers under 35% of the median for the same shape are set aside as suspect. Stateless jobs only. We refuse databases and stateful apps, because egress and data gravity eat the price gap. Google Cloud is not priced yet.

It works as an MCP server for Claude Code, Cursor, Codex and others (claude mcp add --transport http cloudswap https://cloudswap.ai/mcp) or as a plain HTTP API. Quotes are free with no sign-up. Running jobs uses prepaid credits from $5.

Live board: https://cloudswap.ai/prices

Happy to answer questions. Tell me which job shapes you want priced next.