AWS Spot Instance CLI
CLI for exploring AWS EC2 Spot inventory. Inspect AWS Spot instance types, saving, price, and interruption frequency.
What is AWS Spot Instance CLI?
AWS Spot Instance CLI is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to cli for exploring aws ec2 spot inventory. inspect aws spot instance types, saving, price, and interruption frequency.
CLI for exploring AWS EC2 Spot inventory. Inspect AWS Spot instance types, saving, price, and interruption frequency.
This server falls under the Cloud Services category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- CLI for exploring AWS EC2 Spot inventory. Inspect AWS Spot i
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx spotinfoConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use AWS Spot Instance CLI
Spotinfo is a CLI tool and MCP server for exploring AWS EC2 Spot Instance inventory, giving AI assistants access to live Spot price data, interruption frequency statistics, placement scores, and savings compared to On-Demand pricing. It integrates with the AWS Spot Advisor dataset and optionally fetches live pricing via the EC2 API, making it valuable for DevOps teams optimizing cloud costs or selecting the right instance types for fault-tolerant workloads. Through its MCP interface, Claude can answer questions like 'which m5 instance type has the best spot savings and lowest interruption rate in us-east-1?'
Prerequisites
- spotinfo binary installed (via Homebrew, direct download, or Go build)
- AWS credentials optionally configured for placement scores and live pricing (requires ec2:DescribeSpotPriceHistory and ec2:GetSpotPlacementScores IAM permissions)
- Go 1.24+ if building from source
- Claude Desktop or another MCP-compatible client
Install spotinfo
Install the spotinfo binary using Homebrew on macOS, or download the release binary for Linux/Windows.
# macOS
brew tap alexei-led/tap
brew install alexei-led/tap/spotinfo
# Linux (amd64)
curl -L https://github.com/alexei-led/spotinfo/releases/latest/download/spotinfo_linux_amd64.tar.gz | tar xz
sudo mv spotinfo /usr/local/bin/Verify the installation
Run spotinfo to confirm the binary is accessible and check the version.
spotinfo --versionConfigure AWS credentials (optional but recommended)
Configure AWS credentials to enable live pricing and placement score features. Without credentials, spotinfo falls back to cached Spot Advisor data.
aws configure
# Ensure the IAM entity has:
# - ec2:DescribeSpotPriceHistory
# - ec2:GetSpotPlacementScoresAdd the MCP server to your client config
Add the spotinfo MCP server to your Claude Desktop configuration. The --mcp flag starts spotinfo in MCP server mode.
{
"mcpServers": {
"spotinfo": {
"command": "spotinfo",
"args": ["--mcp"]
}
}
}Restart Claude Desktop and query Spot data
Restart Claude Desktop and ask it about AWS Spot instances. The server will respond with pricing, interruption frequency, and placement scores from AWS Spot Advisor.
AWS Spot Instance CLI Examples
Client configuration
Add this to your Claude Desktop claude_desktop_config.json. The spotinfo binary must be on your PATH.
{
"mcpServers": {
"spotinfo": {
"command": "spotinfo",
"args": ["--mcp"]
}
}
}Prompts to try
Use these prompts to explore Spot instance options and optimize costs through Claude.
- "What are the cheapest m5 Spot instances in us-east-1 with a low interruption rate?"
- "Compare Spot savings and interruption frequency for c5.xlarge across us-east-1 and eu-west-1"
- "Find Spot instances with 4 vCPUs and 16 GB RAM that have a placement score above 8"
- "Which t3 instance types have the highest Spot savings percentage right now?"
- "Show me all Spot instances matching 'c5.*' sorted by interruption frequency"Troubleshooting AWS Spot Instance CLI
'spotinfo: command not found' when Claude tries to start the server
Ensure the spotinfo binary is installed and on the PATH that Claude Desktop uses. On macOS, use the full binary path in the command field (e.g., '/usr/local/bin/spotinfo') or run 'which spotinfo' to find it.
Placement scores not available or returning zero
Placement scores require valid AWS credentials with ec2:GetSpotPlacementScores permission. Run 'aws sts get-caller-identity' to confirm credentials are active, and verify the IAM policy includes the required EC2 actions.
Spot data appears stale or outdated
Spotinfo uses the AWS Spot Advisor dataset as its primary source, which is updated periodically. For live prices, ensure AWS credentials are configured so spotinfo can call ec2:DescribeSpotPriceHistory. Pass --region explicitly if you need data for a specific region.
Frequently Asked Questions about AWS Spot Instance CLI
What is AWS Spot Instance CLI?
AWS Spot Instance CLI is a Model Context Protocol (MCP) server that cli for exploring aws ec2 spot inventory. inspect aws spot instance types, saving, price, and interruption frequency. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install AWS Spot Instance CLI?
Follow the installation instructions on the AWS Spot Instance CLI GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with AWS Spot Instance CLI?
AWS Spot Instance CLI works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is AWS Spot Instance CLI free to use?
Yes, AWS Spot Instance CLI is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.
AWS Spot Instance CLI Alternatives — Similar Cloud Services Servers
Looking for alternatives to AWS Spot Instance CLI? Here are other popular cloud services servers you can use with Claude, Cursor, and VS Code.
Open WebUI
★ 138.2kUser-friendly AI Interface (Supports Ollama, OpenAI API, ...)
Anything LLM
★ 60.4kThe all-in-one AI productivity accelerator. On device and privacy first with no annoying setup or configuration.
LocalAI
★ 46.4kLocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.
Nacos
★ 33.0kan easy-to-use dynamic service discovery, configuration and service management platform for building AI cloud native applications.
Xiaozhi ESP32
★ 26.7k本项目为xiaozhi-esp32提供后端服务,帮助您快速搭建ESP32设备控制服务器。Backend service for xiaozhi-esp32, helps you quickly build an ESP32 device control server.
Gateway
★ 11.8kA blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API.
Browse More Cloud Services MCP Servers
Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up AWS Spot Instance CLI in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use AWS Spot Instance CLI?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.