AWS Cost Explorer and Amazon Bedrock Model Invocation Logs MCP Server & Client
Active
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.
Updated 8/8/2025
Key Features
What makes this MCP server special
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
Requirements
docker
Server Information
Status
Active
Version
1.0.0
License
MIT
Author
https://github.com/aarora79
Installation Guide
Get started with this MCP server in minutes
1. Install the Package
https://github.com/aarora79/aws-cost-explorer-mcp-server?tab=readme-ov-file#installation
2. 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": "YOUR_ACCESS_KEY_ID",
"AWS_SECRET_ACCESS_KEY": "YOUR_SECRET_ACCESS_KEY",
"AWS_REGION": "us-east-1",
"BEDROCK_LOG_GROUP_NAME": "YOUR_CLOUDWATCH_BEDROCK_MODEL_INVOCATION_LOG_GROUP_NAME",
"CROSS_ACCOUNT_ROLE_NAME": "ROLE_NAME_FOR_THE_ROLE_TO_ASSUME_IN_OTHER_ACCOUNTS",
"MCP_TRANSPORT": "stdio"
}
}
}
}
3. Usage Example
-