mcp-aws-finops

v0.2.0
mcp-aws-finops Checked 2 days ago Published 11 days ago

Read-only MCP server that answers AWS cost (FinOps) questions for AI agents

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_cost_summary

Summarize AWS cost for a date range, grouped by a dimension. Args: start: ISO date (inclusive), e.g. "2025-07-01". end: ISO date (exclusive), e.g. "2025-08-01". group_by: One of "service", "account", "region", or "tag:<key>" (e.g. "tag:team") to break the total down by a cost allocation tag. Returns the total cost for the period and the cost per group, sorted descending, each with its share of the total.

ParameterTypeDescription
end *string
start *string
group_bystring

compare_periods

Compare total AWS cost between two date ranges and rank what changed. Args: a_start/a_end: ISO dates for the baseline period (e.g. last month). b_start/b_end: ISO dates for the comparison period (e.g. this month). Returns the totals for both periods, the delta, and the services with the largest absolute cost change (increase or decrease), largest first — useful to answer "what went up since last month?".

ParameterTypeDescription
a_end *string
a_start *string
b_end *string
b_start *string

top_cost_drivers

Rank the top N services by cost over a date range. Args: start: ISO date (inclusive). end: ISO date (exclusive). n: How many drivers to return (1-50).

ParameterTypeDescription
end *string
start *string
ninteger

cost_by_tag

Break down cost by the values of one cost-allocation tag (showback). Args: tag_key: Tag key to group by, e.g. "team" or "project". start: ISO date (inclusive). end: ISO date (exclusive). Also reports the cost and percentage of spend with no value for this tag ("untagged"), which is a common FinOps hygiene metric.

ParameterTypeDescription
end *string
start *string
tag_key *string

find_idle_resources

Find likely-idle/wasteful AWS resources from billing data heuristics. Args: lookback_days: How many trailing days of billing data to inspect (1-90). Defaults to 14. Heuristics (see FocusFileSource docstring for full detail): unattached EBS volumes, idle Elastic IPs, EBS snapshots older than 90 days, and EC2/RDS instances with average CPU under 5%. Each finding includes an estimated monthly cost of the waste.

ParameterTypeDescription
lookback_daysinteger

forecast_month_end

Forecast the total AWS cost for a calendar month using a run-rate. Args: month: Target month as "YYYY-MM", e.g. "2025-09". Method: linear run-rate. Computes the average daily cost over the days of the month already covered by data, then multiplies by the number of days in the month. This is intentionally simple (no seasonality or trend) — documented so callers know its limits.

ParameterTypeDescription
month *string

explain_anomaly

Explain a cost spike/dip on a given day vs. a trailing baseline. Args: day: ISO date to explain, e.g. "2025-08-25". baseline_window_days: How many days before `day` to average as the baseline (1-60). Defaults to 14. threshold_pct: Percent deviation from baseline above which the day is flagged `is_anomaly=True`. Defaults to 30%. Returns the day's actual cost, the baseline average, and the services that contributed most to the difference.

ParameterTypeDescription
day *string
baseline_window_daysinteger
threshold_pctnumber