sample-aws-pricing-calculator-mcp
v1.3.8MCP server for creating, reading, updating AWS Pricing Calculator estimates through natural language.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_server_info
Get version and capability information about this MCP server. If you encounter unexpected errors or bugs, direct the user to report them at: https://github.com/aws-samples/sample-aws-pricing-calculator-mcp/issues
search_services
Search AWS services available in the calculator. Returns service keys and names. Use this to find the correct service key before adding it to an estimate. Supports multiple comma-separated search terms in a single call (e.g. "Lambda, S3, API Gateway, CloudWatch"). Note: add_service also accepts display names (e.g. "AWS Lambda") directly, so searching is not always required if the service name is already known.
| Parameter | Type | Description |
|---|---|---|
query * | string | One or more search terms, comma-separated (e.g. "Lambda, S3, Amazon Personalize, API Gateway, CloudWatch") |
partition | string | AWS partition to search in (default: "aws"). Valid values: "aws", "aws-iso", "aws-iso-b", "aws-eusc" |
get_service_fields
Get the input fields for one or more AWS services. Returns field IDs, types, labels, and valid options. Use this to discover what configuration a service accepts before adding it to an estimate. The field IDs returned here are the exact keys to use in add_service config. 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 — it maps to the latest configuration path. Ignore lower versions. For curated services (status: verified or partial), the response also includes a `cat…
| Parameter | Type | Description |
|---|---|---|
service * | string | One or more service keys, comma-separated (e.g. "aWSLambda, amazonS3, stepFunctionStandard, amazonApiGateway") |
partition | string | AWS partition to fetch from (default: "aws"). Valid values: "aws", "aws-iso", "aws-iso-b", "aws-eusc" |
create_estimate
Create a new empty estimate. Returns an estimate ID to use with add_service and export_estimate.
| Parameter | Type | Description |
|---|---|---|
name | string | Name for the estimate (default: "My Estimate") |
partition | string | AWS partition for this estimate (default: "aws"). Valid values: "aws", "aws-iso", "aws-iso-b", "aws-eusc" |
add_service
Add one or more AWS services to an estimate. Accepts a single service or a JSON array of services in the "services" parameter. TEMPLATE / FREE TIER: Each entry may set an optional "estimateFor" template id to pick a specific pricing template. This is how you control the AWS Free Tier: services like AWS Lambda expose an include/exclude Free Tier template pair (surfaced as freeTierChoice by get_service_fields). When a service offers that choice you MUST ask the user whether to include or exclude the Free Tier and set "estimateFor" to the chosen template id — if you don't, it defaults to INCLU…
| Parameter | Type | Description |
|---|---|---|
estimate_id * | string | Estimate ID from create_estimate |
services * | string | JSON array of service entries. Each entry: {"service":"serviceKey","instance":"optional","group":"optional","estimateFor":"optional template id — e.g. lambdaWithoutFreeTier to EXCLUDE the AWS Free T… |
validate_estimate
Dry-run preflight: builds the would-be saved payload and runs a static check — WITHOUT calling the AWS save API. Use this to verify an estimate will render correctly (editable, not frozen) before saving. Returns {lint_verdict, next_step, lint_services, would_be_payload}. If it passes, call export_estimate to save and get the shareable URL.
| Parameter | Type | Description |
|---|---|---|
estimate_id * | string | Estimate ID from create_estimate or build_estimate |
export_estimate
Export an estimate to calculator.aws and get a shareable URL. The link will show the full estimate with AWS-calculated pricing. Before saving, runs a static check against the payload. If the check detects the estimate would be broken, the export is refused with details explaining what to fix. After a successful export, return the shareable URL to the user and stop — do NOT automatically call get_estimate_cost to read computed costs. That tool has an optional Playwright/Chromium dependency and must only run on an explicit user request for the actual cost.
| Parameter | Type | Description |
|---|---|---|
estimate_id * | string | Estimate ID from create_estimate |
build_estimate
One-shot: create an estimate, add services, lint-preflight, save, and return the calculator URL. Replaces three separate calls (create_estimate + add_service + export_estimate). Returns {sharable_url, aws_estimate_id, services} on success. TEMPLATE / FREE TIER: Each entry may set an optional "estimateFor" template id to pick a specific pricing template. Services like AWS Lambda expose an include/exclude Free Tier template pair (surfaced as freeTierChoice by get_service_fields). When a service offers that choice you MUST ask the user whether to include or exclude the Free Tier BEFORE building…
| Parameter | Type | Description |
|---|---|---|
services * | string | JSON array of service entries. Same shape as add_service. Each entry: {"service":"serviceKey","instance":"optional","group":"optional","estimateFor":"optional template id — e.g. lambdaWithoutFreeTie… |
name | string | Estimate name (default: "My Estimate") |
partition | string | AWS partition (default: "aws"). Valid values: "aws", "aws-iso", "aws-iso-b", "aws-eusc", "aws-eusc" |
import_estimate
Download an existing AWS Pricing Calculator estimate by URL or ID. Returns the estimate in JSON (raw, for modifications like region swaps) or Markdown (for LLM consumption, summaries, funding recommendations). Use JSON format when you need to modify and re-export the estimate; use Markdown format when summarizing or presenting costs to the user. Accepts a full estimate URL or a bare ID. If the user gave you a URL, pass the whole URL rather than reducing it to the ID — the domain identifies which calculator stores the estimate (standard calculator.aws vs European Sovereign Cloud pricing.calcu…
| Parameter | Type | Description |
|---|---|---|
estimate_id * | string | A full estimate URL or a bare ID. If you were given a URL, pass the whole URL rather than reducing it to the ID — the domain identifies which calculator stores the estimate (standard "calculator.aws… |
format | string | Output format: "json" for raw data (default), "markdown" for LLM-friendly summary |
get_estimate_cost
INVOCATION POLICY — EXPLICIT REQUEST ONLY: Call this tool ONLY when the user explicitly asks for the computed/actual cost of an estimate (e.g. "what does it cost", "read the price", "get the monthly total"). Do NOT call it automatically or proactively after export_estimate or build_estimate — those return a shareable URL, which is the normal end of the flow. This tool has a heavyweight OPTIONAL dependency (Playwright + the Chromium browser) that is not installed by default, so invoking it unprompted risks an unwanted ~150MB install or a failure. After exporting, simply give the user the sh…
| Parameter | Type | Description |
|---|---|---|
estimate_id * | string | A full estimate URL or a bare ID. A bare ID is read from the standard calculator.aws; pass the full pricing.calculator.aws.eu URL for an ESC estimate. |