aws-calculator-mcp

v2.3.1
aws-calculator-mcp Checked 2 days ago Published 6 months ago

MCP server for AWS Pricing Calculator — create estimates, get shareable links, and retrieve actual AWS-calculated costs.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_services

Search AWS services available in the calculator. Returns service keys and names. Supports multiple comma-separated search terms (e.g. "Lambda, S3, API Gateway").

ParameterTypeDescription
query *stringOne or more search terms, comma-separated
partitionstringAWS partition (default: "aws"). Valid: "aws", "aws-iso", "aws-iso-b"

get_service_fields

Get input fields for one or more AWS services. Returns field IDs, types, labels, and valid options. Accepts multiple comma-separated service keys. IMPORTANT: When duplicate fields exist with version suffixes (e.g. fieldName and fieldName_v2), ALWAYS use the highest version.

ParameterTypeDescription
service *stringOne or more service keys, comma-separated
partitionstringAWS partition (default: "aws"). Valid: "aws", "aws-iso", "aws-iso-b"

create_estimate

Create a new empty estimate. Returns an estimate ID to use with add_service and export_estimate.

ParameterTypeDescription
namestringName for the estimate (default: "My Estimate")
partitionstringAWS partition (default: "aws"). Valid: "aws", "aws-iso", "aws-iso-b"

add_service

Add one or more AWS services to an estimate. Field values follow these patterns based on field type: - numericInput: plain string value, e.g. "1000" - frequency: object with value and unit, e.g. {"value": "19", "unit": "millionPerMonth"} - fileSize: object with value and unit, e.g. {"value": "512", "unit": "mb|NA"} - dropdown: string matching one of the option IDs from get_service_fields - durationInput: object with value and unit, e.g. {"value": "960", "unit": "min"} - dataTransferV2: array of transfer entries. Format: [{"entryType":"OUTBOUND","value":"500","unit":"gb_month","toRegion":"Exter…

ParameterTypeDescription
estimate_id *stringEstimate ID from create_estimate
services *stringJSON array of service entries. Each: {"service":"serviceKey","instance":"optional sub-service","group":"optional","config":{...with region, description, and field values}}

export_estimate

Export an estimate to calculator.aws and get a shareable URL. The link will show the full estimate with AWS-calculated pricing.

ParameterTypeDescription
estimate_id *stringEstimate ID from create_estimate

update_service

Update an existing service in an estimate by replacing its config. Use this to tweak values without recreating the entire estimate. Identifies the service by its key (and optionally group). Merges new config over existing config unless replace=true.

ParameterTypeDescription
config *stringJSON object with config fields to update. Only specified fields are changed (merged). Pass "__replace": true to replace entire config.
estimate_id *stringEstimate ID
service *stringService key to update (e.g. "amazonRDSMySQLDB", "ec2Enhancement"). For duplicate services, append :description (e.g. "ec2Enhancement:BastionHost")
groupstringGroup name if the service is in a group

import_estimate

Download an existing AWS Pricing Calculator estimate by URL or ID. Returns JSON (raw, for modifications) or Markdown (for LLM consumption).

ParameterTypeDescription
estimate_id *stringEstimate ID or full calculator.aws URL
formatstringOutput format: "json" (default) or "markdown"

refresh_estimate

Open an estimate URL in a headless browser, trigger cost recalculation, and return the updated pricing. This is the ONLY way to get actual dollar amounts — the API does not calculate costs. Automatically retries once after 15s if costs show $0 (propagation delay). Requires Chrome/Chromium.

ParameterTypeDescription
estimate_url *stringFull calculator.aws estimate URL (e.g. "https://calculator.aws/#/estimate?id=abc123")

generate_report

Generate a formatted cost report for an exported estimate. Opens the estimate in headless Chrome, navigates into each group to get per-service costs, and combines with config from the API. Returns CSV or Markdown with per-service MRR, ARR, and configured attributes (non-empty only).

ParameterTypeDescription
estimate_url *stringFull calculator.aws estimate URL (must be exported first)
format *stringOutput format: "csv" or "markdown"