Spotinfo

Cloud and DevOps

CLI for exploring Spot instance pricing across AWS, GCP and Azure. Inspect Spot instance types, savings, price, and AWS interruption frequency, offline, from embedded data.

Your AI app calls the Spotinfo MCP server, which does the cloud and DevOps work and sends the result back to the chat.

About Spotinfo

Spotinfo is a community MCP server from alexei-led, filed in our directory under cloud and devops. CLI for exploring Spot instance pricing across AWS, GCP and Azure. Inspect Spot instance types, savings, price, and AWS interruption frequency, offline, from embedded data.

At a glance

Publisher
alexei-led (community)
Runs
See the README for setup
Written in
Go
License
Apache-2.0
GitHub stars
166

How to set up Spotinfo

  1. Follow the install steps in the Spotinfo README; it is written in Go, so have that toolchain ready.
  2. Check the Spotinfo README for keys or settings; the registry lists none that Spotinfo requires.
  3. Add Spotinfo to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Spotinfo tools to confirm the connection.
  5. Run one read-only task with Spotinfo first, and keep your app asking before each tool call until the results look right.

Spotinfo compared with similar servers

  • Sample AWS Pricing Calculator by aws-samples has fewer GitHub stars than Spotinfo (163 against 166); both are community servers, and both run locally.
  • Docker Hub by docker has more GitHub stars than Spotinfo (173 against 166); Docker Hub is official while Spotinfo is a community server, and both run locally.
  • Streamable MCP Server Template by iceener has fewer GitHub stars than Spotinfo (162 against 166); both are community servers, and both run locally.

Before you connect Spotinfo

  • Give Spotinfo its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Spotinfo tool call until you trust what it does with them.
  • Treat text that Spotinfo fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Spotinfo on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Spotinfo

How marketing and sales teams put Spotinfo to work, by company size. Pick the size closest to yours and start Spotinfo on one use case.

Small business

  • A small business can ask Spotinfo why the site is slow or down and get the likely cause in plain words.
  • Owners can use Spotinfo to check hosting costs and spot services they pay for but no longer use.
  • Spotinfo runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Web teams can connect Spotinfo to watch deploys during a launch and roll back fast if a campaign page breaks.
  • Marketing engineering can use Spotinfo to spin up preview environments for every landing page review.
  • Start Spotinfo on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should give Spotinfo read access first, with changes gated by the same approvals as any infrastructure change.
  • Large orgs can use Spotinfo to answer cost and reliability questions across accounts, so marketing launches are planned with real capacity.
  • Spotinfo is a community server, so have security review the code and pin a version before Spotinfo touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Spotinfo README

From alexei-led/spotinfo on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md

spotinfo

Pick a Spot machine on AWS, GCP or Azure from one command line. No credentials. Every price ships inside the binary, so --offline answers in about a tenth of a second.

The problem

Spot capacity is far cheaper than On-Demand, between 40% and 85% off in the snapshots that ship with this tool. Finding the right machine does not scale by hand:

  • Each cloud publishes prices in a different place, in a different shape, on a different schedule. AWS has a JSON feed and an interruption Advisor. GCP has server-rendered HTML pages. Azure has a REST API and a separate documentation site for vCPU and memory.
  • The consoles rank by price. They do not rank by "cheapest machine with at least 4 vCPU and 16 GiB that my workload can survive losing".
  • A price page has no memory of yesterday, so a script that reads one is a scraper you now own.

The result is that most teams pick one instance family, hard-code it, and stop looking.

What spotinfo does

One command ranks real machines against a real requirement, and says where the number came from.

$ spotinfo recommend --cloud azure --architecture arm64 --min-vcpu 4 --min-memory-gib 16
RANK  CLOUD  REGION        MACHINE            ARCHITECTURE  vCPU  MEMORY GiB  USD/HOUR    SAVINGS  RISK          WHY
   1  azure  centralindia  Standard_D4ps_v6   arm64            4        16.0  0.017076        81%  unavailable   ARCHITECTURE_MATCH,COST_POLICY,KNOWN_POSITIVE_PRICE,RESOURCE_MINIMUMS_MET
   2  azure  centralindia  Standard_D4ps_v5   arm64            4        16.0  0.018665        81%  unavailable   ARCHITECTURE_MATCH,COST_POLICY,KNOWN_POSITIVE_PRICE,RESOURCE_MINIMUMS_MET
   3  azure  centralindia  Standard_D4pds_v5  arm64            4        16.0  0.022361        81%  unavailable   ARCHITECTURE_MATCH,COST_POLICY,KNOWN_POSITIVE_PRICE,RESOURCE_MINIMUMS_MET

Four properties make that output worth trusting:

It works with no credentials. Price snapshots ship inside the binary, and a weekly job refreshes them through a reviewed pull request. AWS and Azure additionally read live feeds when they can reach them, AWS on every run, Azure when you name one or two regions, and fall back to the snapshot when they cannot. --offline skips every price and risk request; only --with-score still reaches a cloud, because no snapshot carries a placement figure.

It says what it does not know. GCP and Azure publish no redistributable interruption data, so every candidate reports RISK: unavailable. It is never a zero and never a low bucket. A cloud that measures nothing must not outrank a cloud that measures honestly. On GCP, --live-risk fetches a per-project preemption rate for the ranked page, Google measures it differently from AWS, so it is shown and never filtered on.

It refuses questions it cannot answer, and says why. --workload web caps interruption frequency at an AWS Spot Advisor bucket boundary. Ask for it on a cloud that measures something else and the command stops before it reads a price, naming the vendor limit rather than a feature nobody built:

$ spotinfo recommend --cloud gcp --workload web --architecture x86_64 --min-vcpu 4 --min-memory-gib 16
spotinfo: gcp: unsupported capability: risk: the web workload caps interruption frequency at 5%, an AWS Spot Advisor bucket boundary, and gcp publishes no figure measured that way; workload cost applies no ceiling and answers on every cloud

Every answer carries its source. The JSON report names each source URL and the SHA-256 of the document that was read, so a reader can fetch it again and compare.

Install

# macOS with Homebrew
brew install alexei-led/tap/spotinfo

# Linux and Windows
curl -L https://github.com/alexei-led/spotinfo/releases/latest/download/spotinfo_linux_amd64.tar.gz | tar xz

# Docker
docker pull ghcr.io/alexei-led/spotinfo:latest

macOS, Linux and Windows, on AMD64 and ARM64. Full instructions: Installation.

Use it

# Cheapest Arm machine with 4 vCPU and 16 GiB, on each cloud
spotinfo recommend --cloud aws   --architecture arm64 --min-vcpu 4 --min-memory-gib 16
spotinfo recommend --cloud gcp   --architecture arm64 --min-vcpu 4 --min-memory-gib 16
spotinfo recommend --cloud azure --architecture arm64 --min-vcpu 4 --min-memory-gib 16

# A web tier that must survive interruption: AWS only, interruption capped at 5%
spotinfo recommend --architecture x86_64 --min-vcpu 2 --min-memory-gib 8 --workload web

# The five cheapest AWS regions for a machine. Every region is the default
spotinfo recommend --architecture x86_64 --min-vcpu 4 --min-memory-gib 16 --top 5

# A versioned JSON report for a pipeline
spotinfo recommend --cloud azure --architecture arm64 --min-vcpu 4 --min-memory-gib 16 \
  --output json

# Browse what a cloud publishes, with prices and a risk column
spotinfo list --machine "m5\." --region us-east-1

# Add AWS placement scores. This one needs AWS credentials
spotinfo list --machine "m5\." --region us-east-1 --with-score

Two commands, on purpose, and both answer on all three clouds. spotinfo list requires nothing and answers "what is there". spotinfo recommend requires an architecture and a size floor and answers "what should I run". They share a vocabulary, not a purpose. See Quick start and the Usage guide.

Cloud coverage

AWS GCP Azure
spotinfo list yes yes yes
spotinfo recommend yes yes yes
Interruption risk published unavailable, or opt-in live unavailable
Workloads cost, web, ci, batch cost cost
Operating systems linux, windows linux linux, windows
Architectures x86_64, arm64 x86_64, arm64 x86_64, arm64
Credentials optional optional never used

Region lists, machine counts and the reasoning behind each limit: Cloud coverage.

MCP server

spotinfo is a Model Context Protocol server, so an assistant can ask these questions directly.

{
  "mcpServers": {
    "spotinfo": { "command": "spotinfo", "args": ["--mcp"] }
  }
}

Ask: "Cheapest arm64 Azure Spot VM with 4 vCPUs and 16 GiB", or "Compare m5.large spot prices across US regions". Three tools answer: list_spot_machines, recommend_spot_machines and list_cloud_regions.

Setup: MCP server and Claude Desktop.

Documentation

Document What is in it
Quick start The first five minutes
Installation Every install method, and how to check one
Usage guide Every flag, every output format
Cloud coverage What each cloud serves, and what it refuses
Examples Pipelines, Terraform, CI, cost monitors
MCP server Tools, arguments, assistant setup
API reference The spotinfo.list/v1 and spotinfo.recommend/v3 contracts
AWS placement scores What a score means, and does not
Data sources Every feed, snapshot, cache and refresh rule
Troubleshooting Errors, causes, fixes
Migrating to v2 Every renamed flag, tool, schema and field
Multi-cloud parity What GCP and Azure cannot do yet, and why

AWS credentials

Credentials are optional. Without them, spotinfo answers from the AWS feeds and the embedded snapshot. With them, two more features work:

Feature Permission
Live price for machines the static feed prices at $0 ec2:DescribeSpotPriceHistory
Placement scores (--with-score) ec2:GetSpotPlacementScores

Credentials load through the standard AWS SDK chain. The chain is probed once per run, so a machine without credentials skips both calls instead of waiting for each to time out.

GCP credentials are optional too. Application Default Credentials and a project, from --gcp-project or GOOGLE_CLOUD_PROJECT, are needed for --live-risk and for --with-score, and a Cloud Billing Catalog API key in --gcp-billing-key prices GCP regions beyond the committed snapshot. Azure needs no credentials at all. See Cloud coverage.

Development

Go 1.26+, make, golangci-lint.

make build            # hermetic: embeds the committed data, downloads nothing
make test             # unit and end-to-end tests, no credentials, no network
make lint
make verify-data      # manifests, source contracts, parser contracts, coverage floors

Contributions are welcome. Read CLAUDE.md for the repository rules. Make sure that every test passes before you open a pull request.

License

Apache 2.0. See LICENSE.

Questions about Spotinfo

What is the Spotinfo MCP server?

CLI for exploring Spot instance pricing across AWS, GCP and Azure. Inspect Spot instance types, savings, price, and AWS interruption frequency, offline, from embedded data. Spotinfo is maintained by alexei-led on GitHub at alexei-led/spotinfo, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Spotinfo MCP server?

Spotinfo doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (alexei-led/spotinfo). Like most servers, Spotinfo ends with a command or URL you paste into your AI app's MCP config.

Does Spotinfo need an API key?

The registry lists no required keys for Spotinfo. Check the Spotinfo README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Spotinfo an official MCP server?

No. Spotinfo is a community server maintained by alexei-led. Community servers can be excellent; read the code and the open issues before you give Spotinfo access to company data.

What license is Spotinfo under?

Spotinfo is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of Spotinfo; the service it connects to has its own terms.