Cloud Cost MCP
Compare managed Kubernetes costs across AWS (EKS), Azure (AKS), GCP (GKE), and OCI (OKE), including control plane and node pricing.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Cloud Cost MCP Compare 4 vCPU 16GB VMs across AWS, Azure, GCP, and OCI"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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: 4,900+ instance types across all providers
AWS: 1,300+ EC2 instances + 1,180+ managed-database types + Lightsail
Azure: 1,680+ VM types (official Azure Retail Prices API)
GCP: 360+ 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)
Fresh data, two ways: AWS/Azure/GCP bundled data is auto-refreshed weekly via GitHub Actions, and the
refresh_*tools fetch live pricing on demand (cached 60 min in-memory). OCI bundled data is curated. See Data freshness for the exact model.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
Related MCP server: cloudscope-mcp
Installation
For Claude Code Users
# One-command install
claude mcp add cloud-cost -- npx -y cloud-cost-mcpFor Claude Desktop Users
Add this to your claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json), then restart Claude Desktop:
{
"mcpServers": {
"cloud-cost": {
"command": "npx",
"args": ["-y", "cloud-cost-mcp"]
}
}
}Manual Installation
npm install -g cloud-cost-mcpThen reference the installed binary in any MCP client config:
{
"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 VM/instance pricing by vCPU and memory |
| Compare object and block storage pricing |
| Compare data transfer costs (OCI: 10TB free!) |
| Compare managed K8s costs (EKS, AKS, GKE, OKE) |
| Find cheapest provider for given specs |
Calculator Tools
Tool | Description |
| Full workload estimate across all clouds |
| Instant comparison for common presets |
| Calculate migration savings |
| 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 |
| Check pricing data age (warns if >30 days) |
| Get detailed pricing for one provider |
| Storage pricing by tier for all providers |
Real-Time API Tools
AWS (1,147 EC2 + 353 RDS + Lightsail)
Tool | Description |
| Fetch 1,147 EC2 instance types with spot/reserved pricing |
| Fetch 353 RDS database instance types |
| Get Lightsail bundle pricing |
| List AWS regions with pricing data |
| List EC2 instance families |
GCP (287 instance types)
Tool | Description |
| Fetch GCP Compute Engine pricing (40+ regions) |
| List GCP regions with pricing data |
| List GCP instance families |
Azure (1,199 VM types)
Tool | Description |
| Fetch Azure Retail Prices API |
| Fetch 1,199 VM types from vantage.sh |
| List Azure regions with pricing data |
| List Azure VM categories |
OCI (600+ products)
Tool | Description |
| Fetch live OCI pricing (public API) |
| List OCI service categories |
GPU Tools (OCI)
Tool | Description |
| List GPU shapes with filtering by model, use case, price |
| Get detailed specs and pricing for a GPU shape |
| Compare multiple GPU shapes side-by-side |
| Get GPU recommendation based on workload type |
Available GPU shapes: A10, A100 80GB, H100 80GB, H200 141GB, L40S, MI300X
Status
Tool | Description |
| 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 AWSDevelopment
# 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.jsData freshness
This server uses a two-tier data model — it helps to know which is which:
Bundled data (
src/data/bundled/*.json) is what the comparison/calculator tools read by default, so the server works instantly with no network calls.AWS, Azure, GCP bundled data is regenerated from live upstream sources (
instances.vantage.sh+ the official Azure Retail Prices API) and auto-refreshed weekly via therefresh-dataGitHub Action. You can also regenerate locally withnpm run fetch-data.OCI bundled data is curated (vantage.sh has no OCI feed) and updated manually. For always-live OCI pricing, use the
refresh_oci_pricingtool or the dedicated oci-pricing-mcp.
Live refresh tools (
refresh_aws_ec2_pricing,refresh_azure_full_pricing,refresh_gcp_pricing,refresh_oci_pricing,refresh_aws_rds_pricing) fetch current pricing from provider APIs at call time, cached 60 minutes in-memory for the life of the process. These return fresh data to the caller but do not rewrite the bundled files — that only happens vianpm run fetch-data/ the weekly Action.
Use get_data_freshness to see the bundled timestamp and staleness for each provider.
License
Apache-2.0
Author
Jason Wilbur (jasonwilbur.com)
Related Projects
oci-pricing-mcp - Dedicated OCI pricing MCP with 25+ tools
Available Tools
31 toolscalculate_workload_costBRead-onlyIdempotent
Estimate total monthly cost for a workload across all cloud providers. Includes compute, storage, egress, and Kubernetes.
Inputs: compute, storage, egress, kubernetes.
check_api_statusARead-onlyIdempotent
Check if the real-time pricing APIs (Azure, OCI, AWS) are accessible.
Inputs: no named parameters.
compare_computeARead-onlyIdempotent
Compare VM/instance pricing across AWS, Azure, GCP, and OCI. Finds instances matching your vCPU and memory requirements.
Inputs: vcpus (required), memoryGB (required), category.
compare_egressBRead-onlyIdempotent
Compare data transfer/egress costs. OCI offers 10TB/month free (100x more than others)!
Inputs: monthlyGB (required).
compare_gpu_shapesARead-onlyIdempotent
Compare multiple OCI GPU shapes side-by-side on specs, pricing, and price-per-GPU metrics.
Inputs: shapes (required).
compare_kubernetesARead-onlyIdempotent
Compare managed Kubernetes pricing (EKS, AKS, GKE, OKE). Shows control plane and worker node costs.
Inputs: nodeCount (required), nodeVcpus (required), nodeMemoryGB (required).
compare_storageARead-onlyIdempotent
Compare object and block storage pricing across all clouds.
Inputs: sizeGB (required), tier, type.
estimate_migration_savingsCRead-onlyIdempotent
Calculate potential savings when migrating from one cloud provider to another.
Inputs: currentProvider (required), targetProvider, compute, storage, +1 more.
find_cheapest_computeARead-onlyIdempotent
Find the cheapest cloud provider for specific compute specs.
Inputs: vcpus (required), memoryGB (required), category.
get_aws_lightsail_pricingARead-onlyIdempotent
Get AWS Lightsail bundle pricing. Simplified VPS with fixed monthly pricing including storage and transfer.
Inputs: region.
get_data_freshnessARead-onlyIdempotent
Check how recent the pricing data is for each provider. Warns if data is stale (>30 days).
Inputs: no named parameters.
get_gpu_shape_detailsARead-onlyIdempotent
Get detailed specifications and pricing for a specific OCI GPU shape.
Inputs: shapeFamily (required).
get_provider_detailsARead-onlyIdempotent
Get detailed pricing data for a specific cloud provider.
Inputs: provider (required), category.
get_storage_summaryARead-onlyIdempotent
Get storage pricing summary by tier (hot, cool, cold, archive) for all providers.
Inputs: sizeGB (required).
list_aws_instance_familiesARead-onlyIdempotent
List AWS EC2 instance families with counts (e.g., General purpose: 200, Compute optimized: 150).
Inputs: no named parameters.
list_aws_regionsARead-onlyIdempotent
List all AWS regions available in the pricing data.
Inputs: no named parameters.
list_azure_categoriesARead-onlyIdempotent
List Azure VM categories with counts (e.g., generalpurpose: 400, computeoptimized: 200).
Inputs: no named parameters.
list_azure_regionsARead-onlyIdempotent
List all Azure regions available in the pricing data.
Inputs: no named parameters.
list_gcp_instance_familiesARead-onlyIdempotent
List GCP instance families with counts.
Inputs: no named parameters.
list_gcp_regionsARead-onlyIdempotent
List all GCP regions available in the pricing data with their display names.
Inputs: no named parameters.
list_gpu_shapesARead-onlyIdempotent
List OCI GPU shapes with pricing. Filter by GPU model (A10, A100, H100, H200, L40S, MI300X) or use case (inference, training).
Inputs: gpuModel, useCase, maxPricePerHour.
list_oci_categoriesARead-onlyIdempotent
List all service categories available from OCI's real-time pricing API.
Inputs: no named parameters.
list_presetsARead-onlyIdempotent
List all available deployment presets for quick_estimate.
Inputs: no named parameters.
quick_estimateARead-onlyIdempotent
Get instant cost comparison for common deployment presets including GPU workloads.
Inputs: preset (required).
recommend_gpu_shapeBRead-onlyIdempotent
Get GPU shape recommendation based on workload requirements and budget.
Inputs: workloadType (required), minGPUMemoryGB, budget.
refresh_aws_ec2_pricingARead-onlyIdempotent
Fetch real-time AWS EC2 pricing from instances.vantage.sh. Returns 1,147 instance types with on-demand, spot, and reserved pricing. No authentication required.
Inputs: region, family, architecture, maxResults, +2 more.
refresh_aws_rds_pricingARead-onlyIdempotent
Fetch real-time AWS RDS database pricing. Returns 353 instance types across multiple database engines.
Inputs: region, engine, maxResults.
refresh_azure_full_pricingARead-onlyIdempotent
Fetch comprehensive Azure VM pricing from instances.vantage.sh. Returns 1,199 instance types with on-demand, spot, and Windows pricing.
Inputs: region, category, includeSpot, maxResults.
refresh_azure_pricingARead-onlyIdempotent
Fetch latest Azure VM pricing from the public Azure Retail Prices API. No authentication required.
Inputs: region, vmSeries, maxResults.
refresh_gcp_pricingARead-onlyIdempotent
Fetch real-time GCP Compute Engine pricing from instances.vantage.sh. Returns 287 instance types with on-demand and spot pricing across 40+ regions.
Inputs: region, family, includeSpot, maxResults.
refresh_oci_pricingARead-onlyIdempotent
Fetch latest OCI pricing from Oracle's public API. Returns 592 SKUs (562 standard + 30 BYOL) with PAY_AS_YOU_GO pricing. Automatically detects and flags BYOL (Bring Your Own License) variants. Includes summary statistics and API coverage notes. No authentication required.
Inputs: currency, category, search.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 31 tools
Each tool targets a specific combination of cloud provider and resource type (e.g., compare_compute, compare_egress, compare_storage, etc.), with no overlapping functionality. The descriptions clearly delineate their distinct purposes.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., calculate_workload_cost, list_aws_regions, refresh_oci_pricing). The prefixes (get_, list_, compare_, refresh_) are semantically clear and uniformly applied.
With 31 tools, the server exceeds the 25+ threshold considered too many for typical scope. While the breadth of cloud providers and resource types partially justifies this, many tools could be consolidated (e.g., unifying refresh_* tools or combining compare_* tools).
The tool set covers the full lifecycle of cloud cost estimation: compute, storage, egress, GPU, Kubernetes, migration savings, and data freshness. Missing aspects like specific database or network pricing are out of scope, making the surface complete for its intended domain.
Maintenance
Related MCP Connectors
Hosted MCP server for LLM cost estimation, model comparison, and budget-aware routing.
- Costory FinOps MCPDeprecatedio.costory
FinOps agent MCP: one allocated view of cloud, AI and data costs for your team. Starter $300/mo
Hosted MCP server for AWS cloud spend: service breakdowns, anomalies, savings and forecasts.
Cloudflare Workers MCP server: ai-cost-optimizer
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server for unified cost tracking and analysis across AWS, OpenAI, and Anthropic. It enables users to query expenditures, compare costs across providers, and analyze usage trends through natural language.10MIT
- AlicenseAqualityCmaintenanceCloud cost management MCP server for Azure. Ask your AI about your cloud bill.15149 npm1MIT
- AlicenseAqualityBmaintenanceMCP server that lets Claude (or any MCP-compatible client) compare on-demand compute + storage pricing across AWS, Azure, and GCP in real time.393,275 PyPI2MIT
- AlicenseAqualityBmaintenanceLocal-first FinOps MCP server. Ask about your AWS, Azure, GCP, and SaaS costs in plain English. Anomaly detection, rightsizing, idle-resource cleanup, and Jira/Linear ticketing. Credentials never leave your machine.1020Apache 2.0