Contribute
Sign in
AWS Cost Explorer

AWS Cost Explorer

Detailed cost analysis and reporting.

10K+pulls7 ToolsPackaged byDocker, with additional security features including SBOMs, provenance, signing, and multi-arch supportRequires Secrets

Tools

NameDescription
get_cost_comparison_drivers[DEPRECATED] Analyze what drove cost changes between two time periods. This tool provides detailed analysis of the TOP 10 most significant cost drivers that caused changes between periods. AWS returns only the most impactful drivers to focus on the changes that matter most for cost optimization. The tool provides rich insights including: - Top 10 most significant cost drivers across all services (or filtered subset) - Specific usage types that drove changes (e.g., "BoxUsage:c5.large", "NatGateway-Hours") - Multiple driver types: usage changes, savings plan impacts, enterprise discounts, support fees - Both cost and usage quantity changes with units (hours, GB-months, etc.) - Context about what infrastructure components changed - Detailed breakdown of usage patterns vs pricing changes Can be used with or without filters: - Without filters: Shows top 10 cost drivers across ALL services - With filters: Shows top 10 cost drivers within the filtered scope - Multiple services: Can filter to multiple services and get top 10 within that scope Both periods must be exactly one month and start/end on the first day of a month. Important requirements: - Both periods must be exactly one month duration - Dates must start and end on the first day of a month (e.g., 2025-01-01 to 2025-02-01) - Maximum lookback of 13 months (38 months if multi-year data enabled) - Start dates must be equal to or no later than current date - Results limited to top 10 most significant drivers (no pagination) Example: Analyze top 10 cost drivers across all services await get_cost_comparison_drivers( ctx=context, baseline_date_range={ "start_date": "2024-12-01", # December 2024 "end_date": "2025-01-01" }, comparison_date_range={ "start_date": "2025-01-01", # January 2025 "end_date": "2025-02-01" }, metric_for_comparison="UnblendedCost", group_by={"Type": "DIMENSION", "Key": "SERVICE"} # No filter = top 10 drivers across all services ) Example: Analyze top 10 cost drivers for specific services await get_cost_comparison_drivers( ctx=context, baseline_date_range={ "start_date": "2024-12-01", "end_date": "2025-01-01" }, comparison_date_range={ "start_date": "2025-01-01", "end_date": "2025-02-01" }, metric_for_comparison="UnblendedCost", group_by={"Type": "DIMENSION", "Key": "SERVICE"}, filter_expression={ "Dimensions": { "Key": "SERVICE", "Values": ["Amazon Elastic Compute Cloud - Compute", "Amazon Simple Storage Service"], "MatchOptions": ["EQUALS"] } } )