cloudprice-mcp
MCP server that lets Claude (or any MCP-compatible client) compare on-demand compute + storage pricing across AWS, Azure, and GCP in real time.
README
cloudprice-mcp
<!-- mcp-name: io.github.alialbaker/cloudprice-mcp -->
An MCP server that lets Claude (or any MCP-compatible client) compare on-demand compute + storage pricing across AWS, Azure, and GCP in real time.

Ask things like:
"How much does a 4 vCPU / 16 GB Linux VM cost across AWS, Azure, and GCP in us-east?"
"I have a 3-tier deployment: 8 web (4/16), 12 app (8/32), 4 DB (16/64), each with a 200 GB SSD OS disk, plus 5 TB SSD shared and 50 TB HDD bulk. Compare AWS vs Azure vs GCP monthly cost."
"What does an EC2
t3.xlargecost per month?"
Claude calls the right tool, you get a clean answer with per-row + per-cloud + combined totals. No console-clicking. No tab-switching between three pricing calculators.
Install
pip install cloudprice-mcp
Or run without installing:
pipx run cloudprice-mcp
Python 3.10+ required.
Wire it into Claude Desktop
Edit your Claude Desktop config:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Add:
{
"mcpServers": {
"cloudprice": {
"command": "cloudprice-mcp"
}
}
}
Restart Claude Desktop. The seven tools below will show up as available.
Tools exposed
Single-spec lookups (v0.1)
| Tool | What it does |
|---|---|
get_aws_price |
Look up an EC2 instance type → vCPUs, memory, hourly + monthly USD (us-east-1) |
get_azure_price |
Look up an Azure VM size → vCPUs, memory, hourly + monthly USD (eastus) |
get_gcp_price |
Look up a GCP Compute Engine machine type → vCPUs, memory, hourly + monthly USD (us-east1) |
compare_clouds |
Given a target spec (vCPUs + GB), return the cheapest matching SKU on each cloud, sorted by monthly cost, with savings summary |
Bulk + workload compare (v0.2)
| Tool | What it does |
|---|---|
compare_compute_inventory |
Bulk-compare a list of compute workloads (each with vCPUs / memory / quantity / hours / optional OS disk). Returns per-row matches, per-cloud totals, and the cheapest cloud overall. |
compare_storage_inventory |
Bulk-compare a list of storage volumes (each with capacity / disk type / quantity). Returns per-row matches, per-cloud totals, and cheapest cloud. |
compare_workload |
Combined compute + storage in one call. Mirrors a two-sheet sizing workbook (compute BoM + storage BoM). Returns nested per-section breakdowns plus combined per-cloud totals. |
Example: compare_workload input shape
{
"compute": [
{ "name": "web", "tier": "Web", "vcpus": 4, "memory_gb": 16, "quantity": 8, "os_disk_gb": 100, "os_disk_type": "ssd" },
{ "name": "app", "tier": "App", "vcpus": 8, "memory_gb": 32, "quantity": 12, "os_disk_gb": 200, "os_disk_type": "ssd" },
{ "name": "db", "tier": "DB", "vcpus": 16, "memory_gb": 64, "quantity": 4, "os_disk_gb": 500, "os_disk_type": "ssd" }
],
"storage": [
{ "name": "shared-fast", "tier": "DB", "capacity_gb": 5000, "disk_type": "ssd" },
{ "name": "shared-bulk", "tier": "App", "capacity_gb": 50000, "disk_type": "hdd" }
]
}
Snapshots (v0.2.1)
snapshot_count on storage rows and os_disk_snapshot_count on compute rows are now priced. Snapshot rates per cloud per disk type are bundled (~$0.05/GB-mo for AWS/Azure, ~$0.026/GB-mo for GCP).
Caveat — upper-bound estimate: snapshots are priced as snapshot_per_gb_month × full_capacity × quantity × snapshot_count. Real-world snapshots are incremental (only changed blocks), so actual cost is typically 20-50% of this model's number. If snapshots dominate your total, ask the cloud's calculator for a tighter estimate.
iops and throughput_mbs on storage rows are still accepted as metadata only — not used for SKU matching in this release.
Reserved Instance / Savings Plan estimator (v0.2.1)
compare_workload accepts an optional commitment parameter:
| Value | Compute discount | Use case |
|---|---|---|
none (default) |
0% | On-demand only |
1yr_no_upfront |
30% | 1-year AWS Savings Plan / Azure RI / GCP CUD (no upfront) |
3yr_partial_upfront |
50% | 3-year, partial upfront — typical "we know our baseline" deals |
Storage and snapshots are not discounted (most clouds don't offer meaningful storage commitments). Discount tiers are conservative averages — your actual rate depends on instance family, payment option, and region.
Pricing data
Prices are bundled as a curated dataset of common SKUs per cloud — VMs (≈45 SKUs across 3 clouds) and block storage (SSD + HDD per cloud) — sourced from the public AWS / Azure / GCP price lists. Each response includes an as_of date so you know how fresh the data is.
A future release will add a live mode that fetches prices directly from each cloud's public pricing API:
- AWS: Price List Bulk API
- Azure: Retail Prices API
- GCP: Cloud Billing Catalog API
Track issue #1 for live mode and issue #2 for cross-cloud service mapping (RDS↔SQL DB↔Cloud SQL, etc.).
Develop locally
git clone https://github.com/alialbaker/cloudprice-mcp.git
cd cloudprice-mcp
pip install -e ".[dev]"
pytest
To point Claude Desktop at your dev copy, swap the command in the config:
{
"mcpServers": {
"cloudprice": {
"command": "python",
"args": ["-m", "cloudprice_mcp.server"]
}
}
}
License
MIT — see LICENSE.
Credits
Built by Ali Albaker, Cloud Architect — runs a live three-cloud portfolio at ~$1.80/month across AWS, Azure, and GCP.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。