MCP.so
Sign In
Servers

🌍 Sustainable Spending Dashboard

@Rohit8y

AI Agents to support sustainable spending on Bunq using MCP servers

An AI-powered dashboard that analyzes your spending habits, estimates your carbon footprint, and encourages climate-friendly financial decisions β€” built with Streamlit, LLMs, and Bunq.

The Dashboard looks like this(cool right!)

Dashboard Screenshot Dashboard Screenshot


πŸ’‘ What It Does

This dashboard connects financial data with climate awareness using the power of LLMs. It helps you:

  • Understand where your money goes πŸ’Έ
  • See how your spending impacts the planet 🌱
  • Take climate action via automated COβ‚‚ offset transfers ♻️
  • Compete (gently!) with others in a sustainability leaderboard πŸ†

🧠 Powered By

TechnologyRole
StreamlitDashboard UI & interactivity
pydantic_aiAgent orchestration + LLM I/O
Gemini / OpenAISpending & COβ‚‚ reasoning
Bunq SDKCarbon offset transfers
Pandas, MatplotlibData processing & charts

πŸ“‚ Project Structure

.
β”œβ”€β”€ src/
|   |- dashboard.py # Streamlit dashboard
|   |- bunq_agents.py # Pydantic agents & logic
|   |- mcp_ # MCP servers
|   |- utils/wrapper.py  Bunq integration wrapper
β”œβ”€β”€ data/ 
β”‚ └── transactions.csv # Sample transactions
β”œβ”€β”€ requirements.txt
└── README.md

✨ Features

βœ… Classify spending into intuitive categories
βœ… Calculate total COβ‚‚ emissions and COβ‚‚ per € spent
βœ… Assign a sustainability zone (Green / Yellow / Red)
βœ… Visualize insights in a modern, intuitive dashboard
βœ… Transfer offset amounts to a Bunq green account πŸ’š
βœ… Display motivational messages like β€œyou planted 3 trees!” 🌳
βœ… See how you compare on a gamified leaderboard πŸ†


πŸ›  Setup Instructions

1. Clone the Repo

git clone https://github.com/your-username/bunq-hackathon-agents-6.0.git
cd bunq-hackathon-agents-6.0
  1. Create a Virtual Environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install Requirements

pip install -r requirements.txt
  1. Add a .env File Create a .env file in the root folder with:
BUNQ_API_KEY=your_bunq_api_key_here
  1. πŸš€ Run the App
streamlit run dashboard.py

🌟 Example Insights

🌿 You just offset 25 kg of COβ‚‚ β€” that’s like planting 1.2 trees! πŸ’¬ Most of your spending goes to groceries and travel. Try biking more often to reduce your footprint. 🏦 You transferred €40 to your green account. Nice work!


πŸ† Leaderboard Logic

Users are ranked by their Offset Amount / Spend Ratio. The current user is highlighted in light orange for visibility:

The higher the ratio, the better you're doing for the planet 🌎


βœ… Sustainability Zone Logic

🟒 Green: COβ‚‚ per € < 0.4 β†’ Excellent!

🟠 Yellow: 0.4 ≀ COβ‚‚ per € ≀ 0.6 β†’ Room to improve

πŸ”΄ Red: COβ‚‚ per € > 0.6 β†’ Consider more eco-friendly habits

Your zone is displayed as a dynamic badge in the app.


Created with πŸ’š during the Bunq Hackathon.

More from Other