# AWS Cost Explorer

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 9939 repo stars
- Author: awslabs
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/awslabs/mcp/tree/HEAD/src/cost-explorer-mcp-server
- Updated: 2026-10-23
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/aws-cost-explorer

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

## Requirements
- Needs: Docker
- Works with: AWS

## Install

### Claude Code (native platform)

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

## When to use it
- 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
- 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.

## Similar
- [aws-cost-optimization](https://affpapa.org/en/nevibecode/skills/ahmedasmar-aws-cost-optimization.md) — skill · 222 installs
- [aws-serverless](https://affpapa.org/en/nevibecode/plugins/aws-serverless.md) — plugin · ★ 948 repo stars
- [aws-billing-and-cost-management](https://affpapa.org/en/nevibecode/skills/aws-billing-and-cost-management.md) — skill · 10300 installs
- [aws-cost-operations](https://affpapa.org/en/nevibecode/skills/aws-cost-operations.md) — skill · 921 installs
- [aws-cost-optimize](https://affpapa.org/en/nevibecode/skills/aws-cost-optimize.md) — skill · 68 installs
- [AWS Marketplace](https://affpapa.org/en/nevibecode/mcp/aws-marketplace.md) — MCP server · 655 installs

From the same set: [awslabs/mcp](https://affpapa.org/en/nevibecode/by/awslabs/mcp.md) — 36 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
