AWS Calculator

•
9
•

Create and manage AWS cost estimates through natural language prompts, leveraging the official AWS Pricing Calculator for accurate, real-time pricing.

This tool acts as an MCP server for the official AWS Pricing Calculator, enabling AI assistants to generate and retrieve detailed AWS cost estimates. It allows users to define infrastructure requirements using natural language, then programmatically searches services, configures fields, builds estimates, and exports them to shareable calculator.aws links. Critically, it uses headless Chrome to scrape actual calculated costs directly from the AWS calculator website, ensuring accuracy by avoiding approximations or hardcoded rates. It supports all 436 AWS services across 72 regions, including complex pricing models like Savings Plans and Reserved Instances, all without requiring AWS credentials.

Key Features

01Utilizes headless Chrome to retrieve real, actual costs directly from calculator.aws
026 GitHub stars
03Supports all AWS pricing models, including Savings Plans and Reserved Instances
04No AWS credentials required for operation
05Generate AWS cost estimates via natural language for 436 services across 72 regions
06Integrates seamlessly with AI clients like Claude, Kiro, Cursor, and VS Code

Use Cases

01Estimating AWS infrastructure costs for new projects or expansions with AI assistants
02Generating detailed, shareable AWS cost breakdowns for financial planning and reporting
03Integrating real-time AWS pricing data into AI-driven development and DevOps workflows

aws-calculator-mcp

npm version License: MIT

MCP server for AWS Pricing Calculator. Create cost estimates through natural language, get shareable links, retrieve actual AWS-calculated costs.

  • 436 services, 72 regions
  • Real pricing via headless Chrome (not approximations)
  • Savings Plans, Reserved Instances, all pricing models
  • No AWS credentials required

Install

Add to your MCP client config:

{
  "mcpServers": {
    "aws-calculator": {
      "command": "npx",
      "args": ["-y", "aws-calculator-mcp@latest"]
    }
  }
}
Client Config file
Kiro ~/.kiro/settings/mcp.json
Claude Desktop (macOS) ~/Library/Application Support/Claude/claude_desktop_config.json
Claude Desktop (Windows) %APPDATA%\Claude\claude_desktop_config.json
Cursor .cursor/mcp.json
VS Code .vscode/mcp.json

Requires Node.js ≥ 18. Chrome optional (only for cost retrieval).

What it does

You ask your AI assistant to estimate AWS costs. The MCP handles the rest:

  1. Searches the AWS service catalog
  2. Looks up valid configuration fields
  3. Builds the estimate incrementally
  4. Exports to calculator.aws (shareable link)
  5. Opens the link in headless Chrome to get actual calculated costs

The pricing is identical to calculator.aws because it is calculator.aws doing the math.

Tools

Tool Purpose
search_services Find services by keyword
get_service_fields Get valid config fields for a service
create_estimate Start a new estimate
add_service Add configured services
update_service Modify a service in-place
export_estimate Get a shareable calculator.aws URL
refresh_estimate Get actual costs via headless Chrome
generate_report Per-service cost breakdown (CSV/Markdown)
import_estimate Download an existing estimate

Example

"Estimate a production stack in us-west-2: 2x c5.xlarge EC2 with Savings Plan, Lambda at 20M requests, S3 500GB, CloudFront 1TB"

→ Returns a calculator.aws link + $333.92/mo breakdown by service.

How it works

Your prompt → Agent configures services → MCP packages payload → calculator.aws saves it
                                                                → Chrome opens it → scrapes real costs

No local price calculations. No hardcoded rates. The AWS calculator frontend computes everything.

Requirements

  • Node.js ≥ 18
  • Chrome (optional) — for refresh_estimate and generate_report. Install with npx puppeteer browsers install chrome or use system Chrome.

License

MIT