Skip to main content
MCP server CX Codex

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 GitHub

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

Similar MCP servers

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

From the same set36

The whole set →
Amazon ElastiCache for Memcached The Amazon ElastiCache for Memcached MCP server lets an AI agent work with Memcached through standard cache operations. Use it for inspection, debugging, or controlled data access. CX Codex +1 ★ 9,939repo stars AWS IAM Lets your agent create and edit AWS IAM users, roles, groups and policies, with a simulator to test permissions before anything changes. CX Codex +1 ★ 9,939repo stars Amazon ElastiCache Manages Amazon ElastiCache resources via AWS control plane APIs directly from your assistant. It handles serverless caches, replication groups, and CloudWatch metrics. CX Codex +1 ★ 9,939repo stars Amazon DynamoDB Amazon DynamoDB is an MCP server for designing and validating DynamoDB models, generating resources, analyzing source databases, and estimating operation costs. CX Codex +1 ★ 9,939repo stars Amazon CloudWatch Amazon CloudWatch connects AI agents to CloudWatch metrics, alarms, and log groups. It speeds up root cause diagnostics across AWS infrastructure. CX Codex +1 ★ 9,939repo stars 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

Project sponsors

Companies that keep this analytics open