
AWS Cost Explorer MCP
Supports UIby aarora79
Analyze AWS spend and Bedrock model usage through natural language queries in Claude.
What it does
This server connects your AI assistant to the AWS Cost Explorer and Amazon Bedrock model invocation logs, transforming complex billing data into actionable insights via natural language.
Tools
get_ec2_spend_last_day: Retrieves EC2 spending data for the previous day.get_detailed_breakdown_by_day: Provides a comprehensive cost analysis by region, service, and instance type.get_bedrock_daily_usage_stats: Breaks down Bedrock model usage by region and user per day.get_bedrock_hourly_usage_stats: Detailed per-hour breakdown of Bedrock model usage.
Installation
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"aws-cost-explorer": {
"command": "uv",
"args": [
"--directory",
"/path/to/aws-cost-explorer-mcp-server",
"run",
"server.py"
],
"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",
"MCP_TRANSPORT": "stdio"
}
}
}
}
Supported hosts
- Claude Desktop
- LangGraph Agents
Quick install
uv pip install -r pyproject.toml && python server.pyInformation
- Pricing
- free
- Published







