Query AWS Spot pricing from your terminal, automate instance selection, and connect to AI assistants - all with one static binary.
*Problem*: No programmatic access to AWS spot instance advisor data without web scraping.
*Solution*:
- Single Go binary with embedded AWS data
- Works offline - important for CI/CD
- Implements MCP for AI assistant integration
- No runtime dependencies
*Design choices*:
- Data embedded via `go:embed` for offline use
- Regex support for flexible instance matching
- Human and machine readable outputs
- Same binary serves CLI and MCP modes
1 comment
[ 2.3 ms ] story [ 15.2 ms ] thread*Problem*: No programmatic access to AWS spot instance advisor data without web scraping.
*Solution*: - Single Go binary with embedded AWS data - Works offline - important for CI/CD - Implements MCP for AI assistant integration - No runtime dependencies
*Usage*: ```bash spotinfo --type="c5." --region=us-west-2 --sort=interruption ```
*Design choices*: - Data embedded via `go:embed` for offline use - Regex support for flexible instance matching - Human and machine readable outputs - Same binary serves CLI and MCP modes
*MCP integration*: ```json {"mcpServers": {"spotinfo": {"command": "spotinfo", "args": ["--mcp"]}}} ```
Enables natural language queries while maintaining data accuracy.
Code: https://github.com/alexei-led/spotinfo
What spot instance selection challenges haven't I considered? How could this better fit your automation workflows?