Sponsored by Deepsite.site

🌍 Sustainable Spending Dashboard

创建者
Rohit8ya year ago
AI Agents to support sustainable spending on Bunq using MCP servers
内容

🌍 Sustainable Spending Dashboard

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.

推荐的 MCP Server
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
DeepChatYour AI Partner on Desktop
CursorThe AI Code Editor
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Playwright McpPlaywright MCP server
Tavily Mcp
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
WindsurfThe new purpose-built IDE to harness magic
Serper MCP ServerA Serper MCP Server
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Amap Maps高德地图官方 MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
ChatWiseThe second fastest AI chatbot™