Monitoring · Cloud Platform

AWS Cost Explorer MCP Server logo

AWS Cost Explorer MCP Server

aarora79/aws-cost-explorer-mcp-server

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.

Install

docker run -i --rm -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_REGION -e BEDROCK_LOG_GROUP_NAME -e MCP_TRANSPORT -e CROSS_ACCOUNT_ROLE_NAME aws-cost-explorer-mcp:latest

Client configuration

{
  "mcpServers": {
    "aws-cost-explorer": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "AWS_ACCESS_KEY_ID",
        "-e",
        "AWS_SECRET_ACCESS_KEY",
        "-e",
        "AWS_REGION",
        "-e",
        "BEDROCK_LOG_GROUP_NAME",
        "-e",
        "MCP_TRANSPORT",
        "-e",
        "CROSS_ACCOUNT_ROLE_NAME",
        "aws-cost-explorer-mcp:latest"
      ],
      "env": {
        "AWS_ACCESS_KEY_ID": "<AWS_ACCESS_KEY_ID>",
        "AWS_SECRET_ACCESS_KEY": "<AWS_SECRET_ACCESS_KEY>",
        "AWS_REGION": "<AWS_REGION>",
        "BEDROCK_LOG_GROUP_NAME": "<BEDROCK_LOG_GROUP_NAME>",
        "CROSS_ACCOUNT_ROLE_NAME": "<CROSS_ACCOUNT_ROLE_NAME>",
        "MCP_TRANSPORT": "<MCP_TRANSPORT>"
      }
    }
  }
}

Environment variables

AWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEYAWS_REGIONBEDROCK_LOG_GROUP_NAMECROSS_ACCOUNT_ROLE_NAMEMCP_TRANSPORT
GitHub stars
86
Author
@aarora79
Category
Monitoring, Cloud Platform
License
MIT
Updated
Oct 6, 2026

About AWS Cost Explorer MCP Server

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.

Features

  • Amazon EC2 Spend Analysis: View detailed breakdowns of EC2 spending for the last day

  • Amazon Bedrock Spend Analysis: View breakdown by region, users and models over the last 30 days

  • Service Spend Reports: Analyze spending across all AWS services for the last 30 days

  • Detailed Cost Breakdown: Get granular cost data by day, region, service, and instance type

  • Interactive Interface: Use Claude to query your cost data through natural language

Tools (1)

  • get_ec2_spend_last_day

    Retrieves EC2 spending data for the previous day

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS
Chainlit logo

Chainlit

Web · Free · Apache 2.0

Build production-grade LLM applications with Chainlit. Supports MCP servers to extend functionality.

Web

Related MCP servers

More servers
2344 logo

2344

comet-ml/opik

7k

Opik is the open-source LLM observability and evaluation platform for AI agent tracing, LLM evaluation, prompt management, and production monitoring. Built by Comet. Apache-2.0 licensed, free to self-host the full platform, with 20,000+ GitHub stars.

Monitoring
MCP Grafana logo

MCP Grafana

grafana/mcp-grafana

612

A Model Context Protocol (MCP) server for Grafana.

Monitoring
Vite Plugin Vue MCP logo

Vite Plugin Vue MCP

webfansplz/vite-plugin-vue-mcp

407

Vite plugin that enables a MCP server for your Vue app to provide information about the component tree, state, routes, and pinia tree and state.

Monitoring
api200 logo

api200

API-200/api200

169

API 200 is all-in-one gateway for managing third-party APIs efficiently. Integrate third-party APIs or setup MCP server in minutes with auto-generated code, docs, auth, caching and error handling – so you can focus on what really matters.

Monitoring
WireMCP (Wireshark) logo

WireMCP (Wireshark)

0xkoda/wiremcp

98

WireMCP is a Model Context Protocol (MCP) server designed to empower Large Language Models (LLMs) with real-time network traffic analysis capabilities.

Monitoring
gospy logo

gospy

monsterxx03/gospy

90

A tool for inspecting and analyzing running Go processes, including goroutine states, memory statistics, and binary information.

Monitoring