AWS Cost Explorer — Claude Code MCP server: what it does
AWS Cost Explorer — an MCP server from the awslabs suite: detailed analysis of AWS spend and reports built on it, so cost questions get answered in chat.
Apache-2.0 ★ 9,939 updated 2026-10-23
Open on GitHubWhat AWS Cost Explorer does
This is one entry in the awslabs mcp collection, which keeps a separate server for each AWS area. Its scope is cost work: detailed analysis of what an account spends, plus reports built from that. The agent calls those tools when you ask about spend, and the console tab stays closed.
Every client registers it in its own file. Claude reads .mcp.json; Cursor takes .cursor/mcp.json, VS Code .vscode/mcp.json, Cline cline_mcp_settings.json. The repo also walks through Claude, Windsurf and fx.
Worth knowing before you commit: the repo is maintained and still accepts contributions, but its authors now steer production agent work to Agent Toolkit for AWS, which they describe as the successor to these servers. It brings IAM condition keys that tell agent actions apart from human ones, along with CloudWatch and CloudTrail visibility. For a new build, that is the newer target.
What it helps with
- break last month's AWS bill down by service
- build a cost report for a chosen date range
- spot the line item that grew the most
- answer spend questions without leaving the editor
Example prompts for the agent
- Use the AWS Cost Explorer MCP server to break last month's spend down by service.
- Build a quarterly cost report and tell me which line grew the most.
- What are we paying per AWS service right now? Pull it from Cost Explorer.
How to install AWS Cost Explorer
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 Cost Explorer
How do I install AWS Cost Explorer in Claude Code?
You register it in your MCP client's config: .mcp.json for Claude, .cursor/mcp.json for Cursor, .vscode/mcp.json for VS Code, cline_mcp_settings.json for Cline. The awslabs/mcp repo shows the exact entry to paste.
What does AWS Cost Explorer do?
It hands the agent tools for detailed AWS cost analysis and reporting. Spend questions get answered in the chat instead of the console.
How does it compare with Agent Toolkit for AWS?
The awslabs/mcp repo still works, yet its authors call Agent Toolkit for AWS the successor and recommend it for production agents. That toolkit adds IAM condition keys separating agent actions from human ones, plus CloudWatch and CloudTrail visibility.