mcpField
M
Mcp Aws Cost Anomaly

Mcp Aws Cost Anomaly

Local
github.com/archimedes-marketCloud & Infra0Updated 23w ago

About Mcp Aws Cost Anomaly

Mcp Aws Cost Anomaly exposes AWS Cost Explorer and anomaly detection as MCP tools for agents analyzing spend, forecasts, and savings recommendations. It checks IAM permissions at startup and refuses to run when write permissions are present.

Key features

  1. 01Query recent cost anomalies
  2. 02Break down costs by dimension
  3. 03Forecast costs for 30/60/90 days
  4. 04Compare month-over-month spending
  5. 05Retrieve savings advice and credit use
  6. 06Enforce read-only access at startup

Use cases

  1. 01Investigate unusual AWS spending
  2. 02Compare costs by service, account, or tag
  3. 03Review cost trends and savings options

MCP support

The MCP server exposes tools for AWS cost anomalies, breakdowns, forecasts, savings recommendations, and credit utilization. It checks the caller's policies and refuses to start if write permissions are detected.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Archimedes Trust Report — VERIFIED 92/100

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 from ce:GetAnomalies with severity and root-cause hints
  • get_cost_explorer — cost-and-usage breakdown by dimension (service, account, region, tag) over a time window
  • forecast_cost — 30/60/90-day cost forecast with upper and lower bounds
  • monthly_breakdown — month-over-month spend with delta highlights
  • savings_recommendations — Compute Optimizer and Trusted Advisor recommendations
  • credit_utilization — remaining AWS credits, expiration dates, recent draw

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/AWSBillingReadOnlyAccess
  • ce:GetAnomalies, ce:GetCostForecast, ce:GetSavingsPlansUtilization if 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 serve

Typical 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 continues

License

MIT.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.