Skip to main content
MCP server CX Codex

AWS Billing and Cost Management — Claude Code MCP server: what it does

AWS Billing and Cost Management — an MCP server that lets your coding agent read AWS billing data: costs, budgets, anomalies, commitment discounts and invoices.

Apache-2.0 ★ 9,939 updated 2026-10-23

Open on GitHub

What AWS Billing and Cost Management does

Inside the agent you get the Billing and Cost Management API surface: Cost Explorer history and forecasts, budget status, anomaly hunting, right-sizing hints from Compute Optimizer, plus the Cost Optimization Hub list of savings. Commitment work is covered as well — how much Reserved Instances cover, what Savings Plans cost and consume, which offers exist to buy.

Bulky responses from the Savings Plans calls are moved into session SQL, so you can query them with the session-sql tool instead of burning context. Narrower areas are present too: Storage Lens queries over S3 with per-bucket and per-class cost splits, Billing Conductor proforma reports, allocation tags, cost categories, invoices, billing preferences and Enterprise Support.

Every call runs with the credentials of whoever launched it and counts against AWS service quotas. IAM policy therefore decides how much of the bill the agent can see. The server ships in the awslabs/mcp repository.

What it helps with

  • find the service behind a jump in the monthly bill
  • check whether the account still fits inside Free Tier limits
  • estimate Reserved Instance coverage before buying more
  • split S3 spend by bucket and storage class
  • reconcile proforma billing group reports with actual charges

Example prompts for the agent

  • Pull last month's spend by service and tell me which line grew the most.
  • Check the account budgets and flag any that are close to the limit.
  • List the Savings Plans we already own with their rates and compare them to what's on offer.

How to install AWS Billing and Cost Management

Install

The MCP registry has no launch command for it: see the repository README

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about AWS Billing and Cost Management

What does AWS Billing and Cost Management do?

It gives the agent read access to AWS spend and usage: Cost Explorer, budgets, anomalies, optimization recommendations, Reserved Instances and Savings Plans, invoices and billing settings.

What do I need before it works?

AWS credentials for the caller, since each request is made under your identity and follows service quotas. IAM permissions decide which billing sections the agent can reach.

Where do large Savings Plans responses go?

The server offloads them to session SQL, and you query them with the session-sql tool. That keeps the context from filling up.

Similar MCP servers

All MCP servers for Cloud: AWS, Azure, GCP →

From the same set36

The whole set →
Amazon CloudWatch Application Signals Amazon CloudWatch Application Signals — an MCP server for application performance monitoring via CloudWatch Application Signals. Gives the agent access to metrics, traces and insights for AWS services. CX Codex +1 ★ 9,939repo stars AWS CloudTrail AWS CloudTrail lets an agent search CloudTrail events and run SQL against CloudTrail Lake to trace API calls and user activity. CX Codex +1 ★ 9,939repo stars AWS CloudFormation Controls AWS CloudFormation resources through the Cloud Control API directly inside AI assistants. Helpful when building and managing cloud infrastructure. CX Codex +1 ★ 9,939repo stars AWS Cloud Control API AWS Cloud Control API is an MCP server for Claude Code that manages AWS resources through natural-language requests. It is deprecated and no longer maintained; its authors point to AWS IAC MCP Server for future work. CX Codex +1 ★ 9,939repo stars AWS Terraform AWS Terraform is an MCP server for Claude Code that provides AWS Infrastructure as Code patterns, applies Terraform best practices, and checks security compliance with Checkov. CX Codex +1 ★ 9,939repo stars AWS Pricing The AWS Pricing MCP server pulls current AWS prices, compares regions, and estimates infrastructure costs. Use it when reviewing CDK or Terraform deployments. CX Codex +1 ★ 9,939repo stars Amazon MSK Amazon MSK is a Claude Code MCP server for operations on managed Kafka clusters. It connects agent requests with Amazon MSK tasks. CX Codex +1 ★ 9,939repo stars Amazon Location Service Connects coding assistants to Amazon Location Service for geocoding, place lookups, and route optimization. Useful when an agent needs real geographic coordinates or road routes. CX Codex +1 ★ 9,939repo stars

Project sponsors

Companies that keep this analytics open