Atlas / MCP servers / aarora79 / AWS Cost Explorer

AWS Cost ExplorerSAFE

mcp/aarora79/aws-cost-explorer

MCP server for understanding AWS spend

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
3 3r · 0w · 0d
Transport
—
License
MIT
Stars
126
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

An MCP server for getting AWS spend data via Cost Explorer and Amazon Bedrock usage data via `Model invocation logs` in Amazon Cloud Watch through Anthropic's MCP (Model Control Protocol). See section on "secure" remote MCP server to see how you can run your MCP server over HTTPS.

flowchart LR
User([User]) --> UserApp[User Application]
UserApp --> |Queries| Host[Host]

subgraph "Claude Desktop"
Host --> MCPClient[MCP Client]
end

MCPClient --> |MCP Protocol over HTTPS| MCPServer[AWS Cost Explorer MCP Server]

subgraph "AWS Services"
MCPServer --> |API Calls| CostExplorer[(AWS Cost Explorer)]
MCPServer --> |API Calls| CloudWatchLogs[(AWS CloudWatch Logs)]
end

You can run the MCP server locally and access it via the Claude Desktop or you could also run a Remote MCP server on Amazon EC2 and access it via a MCP client built into a LangGraph Agent.

🚨You can also use this MCP server to get AWS spend information from other accounts as long as the IAM role used by the MCP server can assume roles in those other accounts🚨

Demo video

[](https://youtu.be/WuVOmYLRFmI)

Overview

This tool provides a convenient way to analyze and visualize AWS cloud spending data using Anthropic's Claude model as an interactive interface. It functions as an MCP server that exposes AWS Cost Explorer API functionality to Claude Desktop, allowing you to ask questions about your AWS spend in natural language.

Features

  • Amazon EC2 Spend Analysis: View detailed breakdowns of EC2 spending for the last day
  • Amazon Bedrock Spend Analysis: View breakdown b
Read from source at commit 9ea1b8660cf1OBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add aws-cost-explorer-mcp -- uvx aws-cost-explorer-mcp
claude-desktop
{
  "mcpServers": {
    "aws-cost-explorer-mcp": {
      "command": "uvx",
      "args": [
        "aws-cost-explorer-mcp"
      ]
    }
  }
}
03

Exposed tools (3)

3 read · 0 write · 0 destructive.

ToolRiskDescription
get_bedrock_daily_usage_statsread
get_bedrock_hourly_usage_statsread
get_ec2_spend_last_dayread
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (5)

LOWNetwork egress · net.metadata_ip · CWE-200, CWE-319
README.md:283
TOKEN=$(curl -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 21600") && curl -H "X-aws-ec2-metadata-token: $TOKEN" -s http://169.254.169.254/latest/meta-data
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:283
TOKEN=$(curl -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 21600") && curl -H "X-aws-ec2-metadata-token: $TOKEN" -s http://169.254.169.254/latest/meta-data
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:311
proxy_pass http://127.0.0.1:8000;
INFOInventory / provenance · inv.oversize · CWE-1104
img/mcp_server.png
img/mcp_server.png
Why it matters. 1989370 bytes not read
INFOSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
README.md:55
curl -LsSf https://astral.sh/uv/install.sh | sh

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha 9ea1b8660cf1full audit observations/trust-audit/mcp-server/aarora79__aws-cost-explorer.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-079ea1b8660cf1SAFEB89first audit
06

Questions

What is the AWS Cost Explorer MCP server?

MCP server for understanding AWS spend

What tools does AWS Cost Explorer expose?

3 in total: 3 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is AWS Cost Explorer safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does AWS Cost Explorer need?

No credential environment variables were found in its source, so it appears to need none.

How current is this page?

The grade is for one exact copy of the source (9ea1b8660cf1), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement