spotinfo
by alexei-led·★ 161·综合分 50
探索 AWS EC2 Spot 实例库存的 MCP 服务器,提供实时放置分数、价格数据和中断率信息。
概述
spotinfo 是一个全面的 CLI 工具和 MCP 服务器,提供有关 AWS EC2 Spot 实例的详细信息。它提供实时放置分数(1-10 分)、定价数据和中断频率分析。该工具具有高级过滤功能,包括基于正则表达式的实例类型匹配,以及按 vCPU、内存、价格、地区和放置分数进行多维度过滤。它支持多种输出格式,包括可视化表格、JSON 和 CSV,并在 AWS API 不可用时提供优雅的后备方案。MCP 集成允许 AI 助手通过自然语言直接查询 AWS Spot 实例数据。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要通过 AI 助理探索具有放置评分的 AWS spot 实例选项并比较跨区域价格时,选择此服务器。
什么时候不要选它
如果您需要超出探索范围的 spot 实例管理功能,或者您正在使用 AWS 之外的云提供商,请不要选择。
此 server 暴露的工具
从 README 抽取出 5 个工具query_spot_instancesQuery AWS EC2 Spot instances with filtering by type, region, price, and placement scores
get_placement_scoresGet real-time placement scores (1-10 scale) for spot instances
compare_spot_pricesCompare spot instance prices across different regions
filter_instancesFilter spot instances by vCPU, memory, price, and other attributes
export_spot_dataExport spot instance data in JSON or CSV format for automation
说明:Tool names inferred from MCP integration section and usage examples since explicit tool names aren't directly documented
可对比工具
安装
安装
# macOS 使用 Homebrew
brew tap alexei-led/tap
brew install alexei-led/tap/spotinfo
# Linux/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:latestClaude Desktop 设置
添加到 Claude Desktop config.json:
{
"mcpServers": {
"spotinfo": {
"command": "spotinfo",
"args": ["--mcp"]
}
}
}FAQ
- 使用 spotinfo 需要 AWS 凭证吗?
- 不需要,AWS 凭证是可选的。没有凭证,您仍然可以访问静态的 Spot 顾问数据和定价,但实时价格回退和放置分数将不可用。
- 放置分数是什么意思?
- 放置分数(1-10 分)代表您的 Spot 实例请求的成功概率,考虑您整个请求的上下文。分数越高表示成功机会越大,当您允许更多实例类型灵活性时,分数会提高。
spotinfo 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。