Cloud Cost MCP

Cloud Cost MCP

Multi-cloud pricing comparison MCP server that enables natural language queries to compare compute, storage, egress, and Kubernetes costs across AWS, Azure, GCP, and OCI.

Category
访问服务器

README

Cloud Cost MCP

Multi-cloud pricing comparison MCP server for AWS, Azure, GCP, and OCI. Compare compute, storage, egress, and Kubernetes costs across all major cloud providers with a single query.

⚠️ DISCLAIMER: All pricing data is retrieved from publicly available APIs and data sources including instances.vantage.sh, Azure Retail Prices API, and Oracle Cloud Price List API. This data is provided for informational and estimation purposes only. Cloud pricing changes frequently and may vary by region, account type, commitment terms, and other factors. Users are solely responsible for verifying all pricing information directly with cloud providers before making any purchasing or architectural decisions. The authors make no warranties about the accuracy, completeness, or timeliness of this data.

Features

  • Comprehensive Coverage: 2,700+ instance types across all providers
    • AWS: 1,147 EC2 instances + 353 RDS database types + Lightsail
    • Azure: 1,199 VM types
    • GCP: 287 instance types across 40+ regions
    • OCI: 600+ products via Oracle API
  • No API Keys Required: All data from public APIs (instances.vantage.sh + provider APIs)
  • Real-Time Pricing: All providers have real-time refresh capability
  • Natural Language Queries: Ask Claude "What's cheapest for 4 vCPU 16GB?"
  • Workload Calculator: Estimate full workload costs including compute, storage, and egress
  • Migration Planning: Calculate potential savings when switching providers

Installation

For Claude Code Users

# One-command install
claude mcp add cloud-cost -- npx cloud-cost-mcp

Manual Installation

npm install -g cloud-cost-mcp

Then add to your Claude Code configuration:

{
  "mcpServers": {
    "cloud-cost": {
      "command": "cloud-cost-mcp"
    }
  }
}

Usage Examples

Once installed, just ask Claude:

Compare Compute

"Compare 4 vCPU 16GB VMs across AWS, Azure, GCP, and OCI"
"Find the cheapest cloud for an 8-core VM with 32GB RAM"
"What's the best deal for ARM instances with 4 cores?"

Compare Storage

"Compare object storage pricing for 1TB across all clouds"
"What's the cheapest archival storage for 10TB?"

Compare Egress (OCI Advantage!)

"Compare egress costs for 5TB monthly"
"What's the cheapest cloud for 10TB data transfer?"

Note: OCI offers 10TB/month free egress - 100x more than AWS/Azure/GCP!

Full Workload Estimates

"Estimate cost for 3 VMs with 4 vCPU each, 500GB storage, and 1TB egress"
"What would a Kubernetes cluster with 5 nodes cost across all clouds?"

Quick Estimates

"Quick estimate for a medium API server"
"Compare all clouds for a kubernetes-cluster preset"
"Estimate cost for gpu-training-large preset"

GPU Pricing (OCI)

"List all available GPU shapes"
"Compare A100 vs H100 GPU pricing"
"What GPU should I use for ML training with 80GB memory?"
"Get details for BM.GPU.H100.8"

Migration Planning

"How much could I save migrating from AWS to OCI?"
"Compare my current GCP setup against other clouds"

Available Tools

Comparison Tools

Tool Description
compare_compute Compare VM/instance pricing by vCPU and memory
compare_storage Compare object and block storage pricing
compare_egress Compare data transfer costs (OCI: 10TB free!)
compare_kubernetes Compare managed K8s costs (EKS, AKS, GKE, OKE)
find_cheapest_compute Find cheapest provider for given specs

Calculator Tools

Tool Description
calculate_workload_cost Full workload estimate across all clouds
quick_estimate Instant comparison for common presets
estimate_migration_savings Calculate migration savings
list_presets List available deployment presets

Available presets: small-web-app, medium-api-server, large-database, ml-training, kubernetes-cluster, data-lake, high-egress-cdn, high-traffic-web, gpu-inference, gpu-training-small, gpu-training-large

Data Management Tools

Tool Description
get_data_freshness Check pricing data age (warns if >30 days)
get_provider_details Get detailed pricing for one provider
get_storage_summary Storage pricing by tier for all providers

Real-Time API Tools

AWS (1,147 EC2 + 353 RDS + Lightsail)

Tool Description
refresh_aws_ec2_pricing Fetch 1,147 EC2 instance types with spot/reserved pricing
refresh_aws_rds_pricing Fetch 353 RDS database instance types
get_aws_lightsail_pricing Get Lightsail bundle pricing
list_aws_regions List AWS regions with pricing data
list_aws_instance_families List EC2 instance families

GCP (287 instance types)

Tool Description
refresh_gcp_pricing Fetch GCP Compute Engine pricing (40+ regions)
list_gcp_regions List GCP regions with pricing data
list_gcp_instance_families List GCP instance families

Azure (1,199 VM types)

Tool Description
refresh_azure_pricing Fetch Azure Retail Prices API
refresh_azure_full_pricing Fetch 1,199 VM types from vantage.sh
list_azure_regions List Azure regions with pricing data
list_azure_categories List Azure VM categories

OCI (600+ products)

Tool Description
refresh_oci_pricing Fetch live OCI pricing (public API)
list_oci_categories List OCI service categories

GPU Tools (OCI)

Tool Description
list_gpu_shapes List GPU shapes with filtering by model, use case, price
get_gpu_shape_details Get detailed specs and pricing for a GPU shape
compare_gpu_shapes Compare multiple GPU shapes side-by-side
recommend_gpu_shape Get GPU recommendation based on workload type

Available GPU shapes: A10, A100 80GB, H100 80GB, H200 141GB, L40S, MI300X

Status

Tool Description
check_api_status Check if all real-time APIs are accessible

Data Freshness

All providers now support real-time pricing refresh via public APIs:

Provider Data Source Instance Types Real-Time
AWS instances.vantage.sh 1,147 EC2 + 353 RDS ✓ Yes
Azure instances.vantage.sh + Retail Prices API 1,199 ✓ Yes
GCP instances.vantage.sh 287 ✓ Yes
OCI Oracle Cloud Price List API 600+ ✓ Yes

Use check_api_status to verify API accessibility. Use get_data_freshness to check bundled data age.

Key Insights

OCI Cost Advantages

  • 10TB/month free egress (vs 100GB on AWS/Azure/GCP)
  • Free Kubernetes control plane (basic clusters)
  • Uniform global pricing (no regional variation)
  • Always Free tier includes 4 OCPUs + 24GB RAM on ARM

Free Kubernetes Control Planes

  • OCI (OKE): Free basic clusters
  • Azure (AKS): Free control plane
  • AWS (EKS) and GCP (GKE): $73/month per cluster

Example Output

User: "Compare cost for a 4 vCPU, 16GB RAM VM across all clouds"

┌─────────┬──────────────────────┬────────┬──────────┬─────────────┐
│ Provider│ Instance Type        │ vCPUs  │ Memory   │ Monthly Cost│
├─────────┼──────────────────────┼────────┼──────────┼─────────────┤
│ OCI     │ VM.Standard.E5.Flex  │ 4      │ 16 GB    │ $61.32      │
│ GCP     │ e2-standard-4        │ 4      │ 16 GB    │ $97.82      │
│ AWS     │ t3.xlarge            │ 4      │ 16 GB    │ $121.47     │
│ Azure   │ Standard_D4s_v5      │ 4      │ 16 GB    │ $140.16     │
└─────────┴──────────────────────┴────────┴──────────┴─────────────┘

Cheapest: OCI ($61.32/month) - 50% savings vs AWS

Development

# Clone and install
git clone https://github.com/jasonwilbur/cloud-cost-mcp.git
cd cloud-cost-mcp
npm install

# Build
npm run build

# Test locally with Claude Code
claude mcp add cloud-cost-dev -- node /path/to/cloud-cost-mcp/dist/index.js

Updating Pricing Data

All providers support real-time refresh:

# Refresh all providers
refresh_aws_ec2_pricing
refresh_azure_full_pricing
refresh_gcp_pricing
refresh_oci_pricing

Data is cached for 60 minutes. Bundled fallback data is in src/data/bundled/.

License

Apache-2.0

Author

Jason Wilbur (jasonwilbur.com)

Related Projects

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选