jasonwilbur/cloud-cost-mcp

☁️ Cloud Platforms
0 Views
0 Installs

πŸ“‡ ☁️ 🍎 πŸͺŸ 🐧 - Multi-cloud pricing comparison across AWS, Azure, GCP, and OCI with 2,700+ instance types. Real-time pricing from public APIs, workload calculators, and migration savings estimator.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "jasonwilbur-cloud-cost-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "jasonwilbur-cloud-cost-mcp"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

Cloud Cost MCP

npm version npm downloads CI License: Apache-2.0

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

Installation

For Claude Code Users

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

For 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-mcp

Then 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

ToolDescription
compare_computeCompare VM/instance pricing by vCPU and memory
compare_storageCompare object and block storage pricing
compare_egressCompare data transfer costs (OCI: 10TB free!)
compare_kubernetesCompare managed K8s costs (EKS, AKS, GKE, OKE)
find_cheapest_computeFind cheapest provider for given specs

Calculator Tools

ToolDescription
calculate_workload_costFull workload estimate across all clouds
quick_estimateInstant comparison for common presets
estimate_migration_savingsCalculate migration savings
list_presetsList 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

ToolDescription
get_data_freshnessCheck pricing data age (warns if >30 days)
get_provider_detailsGet detailed pricing for one provider
get_storage_summaryStorage pricing by tier for all providers

Real-Time API Tools

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

ToolDescription
refresh_aws_ec2_pricingFetch 1,147 EC2 instance types with spot/reserved pricing
refresh_aws_rds_pricingFetch 353 RDS database instance types
get_aws_lightsail_pricingGet Lightsail bundle pricing
list_aws_regionsList AWS regions with pricing data
list_aws_instance_familiesList EC2 instance families

GCP (287 instance types)

ToolDescription
refresh_gcp_pricingFetch GCP Compute Engine pricing (40+ regions)
list_gcp_regionsList GCP regions with pricing data
list_gcp_instance_familiesList GCP instance families

Azure (1,199 VM types)

ToolDescription
refresh_azure_pricingFetch Azure Retail Prices API
refresh_azure_full_pricingFetch 1,199 VM types from vantage.sh
list_azure_regionsList Azure regions with pricing data
list_azure_categoriesList Azure VM categories

OCI (600+ products)

ToolDescription
refresh_oci_pricingFetch live OCI pricing (public API)
list_oci_categoriesList OCI service categories

GPU Tools (OCI)

ToolDescription
list_gpu_shapesList GPU shapes with filtering by model, use case, price
get_gpu_shape_detailsGet detailed specs and pricing for a GPU shape
compare_gpu_shapesCompare multiple GPU shapes side-by-side
recommend_gpu_shapeGet GPU recommendation based on workload type

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

Status

ToolDescription
check_api_statusCheck if all real-time APIs are accessible

Data Freshness

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

ProviderData SourceInstance TypesReal-Time
AWSinstances.vantage.sh1,147 EC2 + 353 RDSβœ“ Yes
Azureinstances.vantage.sh + Retail Prices API1,199βœ“ Yes
GCPinstances.vantage.sh287βœ“ Yes
OCIOracle Cloud Price List API600+βœ“ 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

Data freshness

This server uses a two-tier data model β€” it helps to know which is which:

  1. 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 the refresh-data GitHub Action. You can also regenerate locally with npm 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_pricing tool or the dedicated oci-pricing-mcp.
  2. 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 via npm 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

Related MCP Servers

4everland/4everland-hosting-mcp

πŸŽ–οΈ πŸ“‡ 🏠 🍎 🐧 - An MCP server implementation for 4EVERLAND Hosting enabling instant deployment of AI-generated code to decentralized storage networks like Greenfield, IPFS, and Arweave.

☁️ Cloud Platforms0 views
aashari/mcp-server-aws-sso

πŸ“‡ ☁️ 🏠 - AWS Single Sign-On (SSO) integration enabling AI systems to securely interact with AWS resources by initiating SSO login, listing accounts/roles, and executing AWS CLI commands using temporary credentials.

☁️ Cloud Platforms0 views
agentmetal/mcp

πŸŽ–οΈ πŸ“‡ ☁️ - Provision, SSH into, run commands on, and manage Linux VPSes from an agent β€” pay USDC over x402 or by card over HTTP 402, a running box in under 60s. No signup, no API key to buy.

☁️ Cloud Platforms0 views
alexbakers/mcp-ipfs

πŸ“‡ ☁️ - upload and manipulation of IPFS storage

☁️ Cloud Platforms0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

No check timestamp yet.

Unclaimed listing (imported or pending owner verification). Claim it β†’
β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.