Skip to content

krishnaramadas/CIRA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

🎯 CIRA — Cost Intelligence Response Assistant

A GCP cost intelligence platform powered by a custom MCP server — combining a visual spend dashboard with an AI chat assistant for conversational cost analysis, anomaly detection, and month-end forecasting. No data dumps. No pipelines. Live API calls only.

Status Platform MCP UI


🧩 What is CIRA?

CIRA goes beyond a static dashboard. It combines visual cost intelligence with an embedded AI chat assistant — letting engineers ask billing questions in plain English and get real answers backed by live GCP data.

What CIRA can do that a dashboard can't:

  • 💬 "Why did Prod Dataflow costs spike on Wednesday?"
  • 🚨 "Flag anything unusual vs last month"
  • 📈 "We're 18 days in — will we exceed budget this month?"
  • 🔍 "Which BigQuery datasets are the most expensive this quarter?"
  • 📊 "Compare Dev vs QA vs Prod spend this sprint"

🏗️ Architecture

ChatGPT Image Feb 25, 2026, 06_27_18 PM

No BigQuery exports. No data pipelines. MCP server makes live GCP Billing API calls per request.


⚙️ Tech Stack

Layer Technology
Cost Data Source GCP Cloud Billing API (live calls)
AI Protocol Model Context Protocol (MCP)
MCP Server Python (custom built)
LLM Claude API
Dashboard + Chat Streamlit
Anomaly Detection Statistical analysis over API data
Forecasting Time-series projection over billing trends

🤖 Three AI Capabilities

1. 💬 Conversational Cost Chat

Use the embedded chat popup in the Streamlit dashboard. Ask any billing question in natural language — CIRA makes live API calls and returns real answers with numbers.

2. 🚨 Anomaly Detection

CIRA automatically compares current spend against historical averages via the Billing API. Flags anything that deviates significantly — by project, by service, or by resource.

3. 📈 Month-End Forecasting

Given the current daily burn rate, CIRA projects end-of-month spend and flags whether you're on track or heading for a budget overrun.


🚀 Project Status

  • Architecture design
  • MCP server tool design
  • GCP Billing API integration
  • MCP server implementation
  • Anomaly detection logic
  • Forecasting module
  • Streamlit dashboard + embedded chat
  • Demo video

💡 Why MCP?

Traditional cost dashboards are static — you see what someone decided to show you. MCP turns cost data into a live, queryable AI tool. The MCP server handles all data fetching via live API calls — the Streamlit app consumes it for both the visual dashboard and the chat popup. One source of truth, one unified interface.


👤 Author

Krishna Ramadas — Senior Data Engineer 4+ years of GCP and Snowflake cost optimisation experience, including $250K+ in documented savings for a Fortune 500 client.

LinkedIn GitHub


📄 License

MIT License — see LICENSE for details.

Releases

No releases published

Packages

 
 
 

Contributors