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 GitHubWhat 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.