cloudcostsmcp
v1.0.2Anchor AI FinOps to real, live cloud pricing — AWS, GCP & Azure public and enterprise rates.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
cache_stats
Return statistics about the local pricing cache (entry counts, DB size).
compare_bom
Price a multi-service workload across multiple cloud providers simultaneously and return a side-by-side cost comparison. Use this when the user wants to compare total costs across AWS, GCP, and/or Azure for the same infrastructure. OUTPUT FORMAT — aggregate totals only: for each workload key, storage capacity, provisioned IOPS, and provisioned throughput costs are summed into ONE number in the breakdown map. This tool does NOT return separate line items for storage $, IOPS $, and throughput $. If the user asks for a cost breakdown with storage capacity, provisioned IOPS, and provisioned thr…
| Parameter | Type | Description |
|---|---|---|
workload * | object | Cloud-agnostic workload description. Each key is a logical service name. |
providers | array | Which providers to compare. Defaults to all three. |
region_preference | string | Preferred region tier: 'us' (US regions), 'eu' (Europe), 'apac' (Asia-Pacific). |
terms | array | Pricing terms to include. Common values: on_demand, reserved_1yr, cud_1yr. Default: ['on_demand', 'reserved_1yr']. |
compare_prices
Compare pricing for any service across multiple regions. Fetches concurrently. Returns results sorted cheapest first, with % delta between cheapest and most expensive. Optionally shows delta vs a baseline region. Args: spec: PricingSpec dict (same as get_price). The region field is overridden per comparison — you can pass any region in the spec. regions: List of region codes to compare, e.g. ["us-east-1", "eu-west-1", "ap-northeast-1"] baseline_region: Optional region for delta comparison, e.g. "us-east-…
| Parameter | Type | Description |
|---|---|---|
regions * | array | |
spec * | object | |
baseline_region | string |
describe_catalog
Discover what each provider supports and how to call get_price. - No args → full support matrix across all configured providers. - provider only → all domains/services for that provider. - provider + domain [+ service] → targeted guidance with required_fields, supported_terms, filter_hints, and a ready-to-use example_invocation you can pass directly to get_price. Use this before get_price when unsure of exact field names or values. Args: provider: Cloud provider — "aws", "gcp", or "azure". Empty = all p…
| Parameter | Type | Description |
|---|---|---|
domain | string | |
provider | string | |
service | string |
estimate_bom
Use this tool for total infrastructure cost, TCO, monthly spend for a multi-resource stack, or cost comparison between architectures. Handles compute + storage + database + AI together in a single call — do NOT call get_price individually for multi-resource questions; use this tool instead. Returns per-item and total monthly/annual costs with real public pricing data, plus a not_included list of supplementary costs (egress, load balancers, monitoring). These are SUPPLEMENTARY — only price them if the user asked for TCO; for most…
| Parameter | Type | Description |
|---|---|---|
items * | array |
estimate_unit_economics
Estimate per-unit economics (cost per user, per request, per transaction) given a Bill of Materials and expected monthly usage volume. Args: items: Same format as estimate_bom — list of cloud resource PricingSpec dicts plus quantity field. See estimate_bom for full item format. units_per_month: Monthly volume being measured (e.g. 10000 users) unit_label: What the unit represents — "user", "request", "transaction", etc.
| Parameter | Type | Description |
|---|---|---|
items * | array | |
units_per_month * | number | |
unit_label | string |
find_available_regions
Find all regions where a specific service/instance type is available, cheapest first. Args: spec: PricingSpec dict (same as get_price). The region field is overridden per comparison — pass any region in the spec. regions: Region codes to check. Omit for major regions. Pass ["all"] to search every available region. baseline_region: Optional region for delta comparison.
| Parameter | Type | Description |
|---|---|---|
spec * | object | |
baseline_region | string | |
regions |
find_cheapest_region
Find the cheapest region for any cloud service. Queries pricing concurrently across regions and returns results sorted cheapest first, with the price delta between cheapest and most expensive regions. Args: spec: PricingSpec dict (same as get_price). The region field is overridden for each comparison — pass any region in the spec. regions: List of region codes to compare. Omit for major regions (faster). Pass ["all"] to search every available region (slow on first run without cache).…
| Parameter | Type | Description |
|---|---|---|
spec * | object | |
baseline_region | string | |
regions |
get_discount_summary
Return a summary of all active cloud discounts for the authenticated account. For AWS: active Savings Plans (type, commitment $/hr, utilization %) and active Reserved Instances (instance type, count, payment type, days remaining), plus Cost Explorer utilization for the previous month. Requires credentials and OCC_AWS_ENABLE_COST_EXPLORER=true for AWS. Args: provider: Cloud provider — "aws" (GCP CUD support coming later)
| Parameter | Type | Description |
|---|---|---|
provider | string |
get_price
Unified pricing tool — returns public catalog rates plus contracted/effective prices where credentials are available. Pass a spec dict with at minimum: provider, domain, region. Domain-specific required fields (call describe_catalog for the complete list): COMPUTE : resource_type ("m5.xlarge" / "n1-standard-4" / "Standard_D4s_v3") os ("Linux" or "Windows"), term ("on_demand"/"spot"/"cud_1yr") Fargate: vcpu (e.g. 2.0), memory_gb (e.g. 4.0), service="fargate" STORAGE : storage_type ("gp3"/"io2"/"…
| Parameter | Type | Description |
|---|---|---|
spec * | object |
get_prices_batch
Get prices for multiple compute instance types in a single region in one call. Fetches all prices concurrently. Useful for comparing a shortlist of candidate instance types (e.g. m5.xlarge vs c5.xlarge vs r5.xlarge) without separate calls. Args: provider: Cloud provider — "aws", "gcp", or "azure" instance_types: List of instance types, e.g. ["m5.xlarge", "c5.xlarge", "r5.large"] region: Region code, e.g. "us-east-1" or "us-central1" os: Operating system — "Linux" (default) or "Windows" term: Pric…
| Parameter | Type | Description |
|---|---|---|
instance_types * | array | |
provider * | string | |
region * | string | |
os | string | |
term | string |
get_spot_history
get_spot_history is not available. For spot pricing, use get_price with term="spot" to look up current spot prices, or use list_instance_types to browse instance families and their spot price ranges.
list_instance_types
List available compute instance types matching the given filters. Args: provider: Cloud provider — "aws", "gcp", or "azure" region: Region code, e.g. "us-east-1" (AWS), "us-central1" (GCP), "eastus" (Azure) family: Instance family prefix filter, e.g. "m5" (AWS), "n2" (GCP) min_vcpu: Minimum vCPU count filter min_memory_gb: Minimum memory in GB filter gpu: If True, only return GPU-enabled instance types
| Parameter | Type | Description |
|---|---|---|
provider * | string | |
region * | string | |
family | string | |
gpu | boolean | |
min_memory_gb | ||
min_vcpu |
list_regions
List all regions where a cloud service is available for the given provider. Args: provider: Cloud provider — "aws", "gcp", or "azure" domain: Domain filter — "compute" (default), "storage", "database"
| Parameter | Type | Description |
|---|---|---|
provider * | string | |
domain | string |
refresh_cache
Invalidate the pricing cache to force fresh data on next request. Args: provider: Provider to clear ("aws", "gcp", "azure"), or empty string to purge expired entries.
| Parameter | Type | Description |
|---|---|---|
provider | string |
search_pricing
Deprecated helper that redirects to the correct tools. Use describe_catalog to browse available services by domain/provider, or get_price with a known spec.