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