Description
AWS cost optimization MCP server built by CFM Tips that provides runbook-based analysis across EC2, EBS, RDS, and Lambda services using multiple data sources with intelligent fallback logic. The implementation integrates with AWS Cost Explorer, Cost Optimization Hub, Compute Optimizer, Trusted Advisor, Performance Insights, and CloudWatch metrics to identify underutilized resources, unused volumes, idle databases, and over-provisioned Lambda functions. Features include right-sizing recommendations with pricing calculations, markdown and JSON report generation, and multi-service cost analysis workflows that prioritize premium AWS services like Performance Insights and Compute Optimizer before falling back to CloudWatch direct metrics when enterprise features are unavailable.
Installation
git clone https://github.com/aws-samples/sample-cfm-tips-mcp Claude Desktop Configuration
Add this configuration to your Claude Desktop config file to enable this MCP server:
Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json
Config file location: %APPDATA%\Claude\claude_desktop_config.json
Config file location: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"aws-cost-optimization-hub": {
"command": "node",
"args": [
"path/to/server.js"
]
}
}
}