
I Built an AI Agent to Reduce My AWS, GCP and Azure Bills (MCP + FastAPI)
* I gave this one prompt to an AI… and the results honestly surprised me: * * fetch 90 days data for aws cost and billing and give recommendation for better cost optimization * 🚀 I Built an MCP Server That Analyzes AWS Costs Using AI (FastAPI + FinOps) You can visit my repo the link is below: https://github.com/Moiz-Ali-Moomin/mcp-cloud-finops-ai-agent * Cloud bills are confusing. * Most of us don’t realize: • where money is being wasted • which resources are idle • what to actually fix So I built something to solve this. 👉 An MCP (Model Context Protocol) server + AI agent that analyzes AWS costs and gives actionable optimization recommendations. * 🤖 What I Built * I created an MCP server using FastAPI that: • connects with AWS billing and infrastructure data • allows an AI agent to analyze usage • returns real optimization insights • provides exact CLI commands to fix issues * ⚡ How It Works * MCP server exposes tools (billing + infra data) AI agent calls these tools Data is analyzed
Continue reading on Dev.to DevOps
Opens in a new tab




