mcp-aws-cost-anomaly
Verified asset on Archimedes Market. View the full 4-dimension Trust Report (security · quality · license · complexity) and the curated catalog on the asset page.
MCP AWS Cost Anomaly
AWS Cost Explorer plus Anomaly Detection exposed as MCP tools. Lets an agent surface unexpected spend, pull cost breakdowns by service, account, or tag, and fetch forecasts and savings recommendations without any write capability against the AWS account.
Tools
list_anomalies— recent cost anomalies fromce:GetAnomalieswith severity and root-cause hintsget_cost_explorer— cost-and-usage breakdown by dimension (service, account, region, tag) over a time windowforecast_cost— 30/60/90-day cost forecast with upper and lower boundsmonthly_breakdown— month-over-month spend with delta highlightssavings_recommendations— Compute Optimizer and Trusted Advisor recommendationscredit_utilization— remaining AWS credits, expiration dates, recent draw
Related MCP server: CFM Tips - Cost Optimization MCP Server
Read-only enforcement
At startup, the server resolves the calling identity (STS GetCallerIdentity) and lists attached policies. If any policy contains an Action matching write verbs (Create*, Delete*, Modify*, Put*, Update*, Run*) on any AWS service, the server refuses to boot. The recommended IAM role attaches only:
arn:aws:iam::aws:policy/AWSBillingReadOnlyAccessce:GetAnomalies,ce:GetCostForecast,ce:GetSavingsPlansUtilizationif missing from the managed policy
Quick start
pip install mcp-aws-cost-anomaly
export AWS_ACCESS_KEY_ID="..."
export AWS_SECRET_ACCESS_KEY="..."
export AWS_REGION="us-east-1"
mcp-aws-cost-anomaly serveTypical agent workflow
Agent: "Why was last month's AWS bill 22% higher than the month before?"
↓
1. monthly_breakdown → confirms the delta
2. get_cost_explorer(group_by="SERVICE") → shows DynamoDB jumped 4x
3. list_anomalies → root cause flagged on a specific table
4. forecast_cost → projected impact if pattern continuesLicense
MIT.
This server cannot be deployed
Maintenance
Related MCP Connectors
AWS Cost Explorer cost, forecast, and anomaly reporting through user-connected IAM credentials.
Hosted MCP server for AWS cloud spend: service breakdowns, anomalies, savings and forecasts.
FinOps MCP: query allocated, correlated cloud and AI cost across AWS, GCP, Azure and Snowflake.
- ZopDev MCPOAuthdev.zop
Cloud cost, inventory and governance on AWS/Azure/GCP. Read-only by default, optional scoped writes
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA serverless implementation of the Model Context Protocol that provides AWS Cost Explorer tools, enabling users to query, analyze, and forecast AWS costs through natural language interactions.5 npm3MIT
- FlicenseNot gradedqualityDmaintenanceA comprehensive Model Context Protocol server that analyzes AWS costs and provides optimization recommendations by integrating with services like Cost Explorer, Cost Optimization Hub, and Trusted Advisor.33-
- FlicenseNot gradedqualityDmaintenanceEnables users to analyze AWS costs, track spending trends, and detect anomalies directly within Claude Desktop using the AWS Cost Explorer API. It provides tools to identify major cost drivers and compare usage across different time periods through natural language queries.-
- AlicenseAqualityCmaintenanceEnables analyzing AWS cloud costs through natural language queries, providing cost summaries, anomaly detection, idle resource identification, rightsizing recommendations, and tagging compliance via Claude.109 npmMIT