Thermal Sentinel MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Thermal Sentinel MCP Servercheck heat risk in Phoenix and Dubai"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ก๏ธ Thermal Sentinel
Heat-risk monitoring agent powered by the FortyGuard Temperature API. Detects heat waves and temperature anomalies, generates alerts with urban-planning recommendations, and exposes an MCP tool interface. Built for the FortyGuard Hackathon'26 (Agentic AI track).
Live demo: https://thermal-sentinel-agent.vercel.app ยท GitHub: 0xConsole/thermal-sentinel-agent
What It Does
Thermal Sentinel is an AI agent that:
Queries the FortyGuard Temperature API for real-time urban temperature data
Detects heat waves and anomalies using Sentinel-style multi-signal anomaly detection (WHO heat bands + z-score + sustained-heat + rate-of-change)
Generates heat-risk alerts with actionable urban-planning recommendations
Exposes 11 tools via the MCP (Model Context Protocol) โ any AI agent can call them
Displays a live dashboard with city grid, alerts, charts, and one-click demo
Related MCP server: Weather MCP Server
Quick Start
# Clone
git clone https://github.com/0xConsole/thermal-sentinel-agent.git
cd thermal-sentinel-agent
# Install deps
pip install -r requirements.txt
# Run locally (no API key needed โ mock data works out of the box)
uvicorn app.main:app --reload --port 8000
# Open dashboard
open http://localhost:8000With Real FortyGuard API
export FORTYGUARD_API_KEY="your-api-key"
export FORTYGUARD_API_BASE="https://api.fortyguard.com" # default
uvicorn app.main:app --reload --port 8000Architecture
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Dashboard UI (static) โ
โ REST API + MCP Tool Interface โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ FastAPI (app/main.py) โ
โ /api/* routes + /mcp/tools /mcp/call โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Agent (app/agent.py) โ
โ scan_cities โ monitor_city โ heat_risk_report โ
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโค
โ FortyGuard โ Anomaly Detector โ Store (SQLite) โ
โ Client โ (Sentinel-style) โ /tmp persistence โ
โ Real or mock โ 4 signals + score โ readings + alerts โ
โโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโMCP Tools (11)
Tool | Endpoint | Description |
|
| Scan multiple cities for heat risk |
|
| Current temperature for a city |
|
| Hourly temperature history |
|
| Run anomaly detection |
|
| Deep single-city monitoring |
|
| Consolidated risk report |
|
| Active alerts from log |
|
| Dismiss an alert |
|
| List monitorable cities |
|
| Monitoring statistics |
|
| One-click demo scan |
List tools: GET /mcp/tools
Call tool: POST /mcp/call with {"name": "scan_cities", "arguments": {"cities": ["Dubai", "Phoenix"]}}
REST API
Method | Path | Description |
|
| Dashboard UI |
|
| Health check (shows live/mock mode) |
|
| Scan cities |
|
| Current temperature |
|
| Temperature history |
|
| Deep city monitoring |
|
| Heat-risk report |
|
| Active alerts |
|
| Acknowledge alert |
|
| Monitoring stats |
|
| List cities |
|
| One-click demo |
Anomaly Detection
Multi-signal, composite 0-100 risk score:
Signal | Max Points | Catches |
WHO heat-risk band | 40 | Absolute heat level |
Z-score (vs 24h baseline) | 25 | Statistical outlier |
Sustained heat-wave (consecutive โฅ38ยฐC) | 20 | Heat wave declaration |
Rate-of-change (โฅ5ยฐC/hr) | 15 | Rapid shifts |
Severity: info โ low โ medium โ high โ critical
Project Structure
thermal-sentinel-agent/
โโโ api/
โ โโโ index.py # Vercel entry
โโโ app/
โ โโโ __init__.py
โ โโโ main.py # FastAPI app + routes
โ โโโ fortyguard_client.py # API client + mock transport
โ โโโ anomaly_detector.py # Sentinel-style detection
โ โโโ agent.py # Orchestration
โ โโโ mcp_server.py # MCP tool registry
โ โโโ store.py # SQLite persistence
โโโ static/
โ โโโ index.html # Dashboard UI
โโโ CONCEPT.md
โโโ README.md
โโโ vercel.json
โโโ requirements.txt
โโโ .gitignoreWhat's Real vs Mocked
โ Real: FortyGuard API integration (when
FORTYGUARD_API_KEYset), anomaly detection engine, MCP tool protocol, alert generation, dashboard UI, Vercel deployment๐ถ Mock (fallback): When no API key, temperature data is generated from per-city climate baselines with realistic diurnal variation and anomaly injection โ for zero-credential demos
Deploy
# Vercel (auto-creates project on first deploy)
vercel --prod --yes --token "$VERCEL_TOKEN"
# Or set env var on Vercel
vercel env add FORTYGUARD_API_KEY productionLicense
MIT
Built For
FortyGuard Hackathon'26 โ Agentic AI track
Prize: $6K + NVIDIA Jetson
Judging: Impact (40%), Technical Execution (35%), Innovation (15%), Communication (10%)
See CONCEPT.md for full concept and judging-criteria alignment
This server cannot be deployed
Maintenance
Related MCP Connectors
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
OpenWeather data for AI agents: list feeds, sign up, check balance, get a top-up link, fetch data.
Weather, climate, terrain, fire and flood risk data for any point or polygon on Earth. Free tier.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceExposes public weather and climate data through a standardized API, allowing AI agents to retrieve current conditions, 7-day forecasts, and historical data. It enables weather-aware automation and data enrichment for conversational agents and travel planning.-
- AlicenseNot gradedqualityDmaintenanceGlobal weather intelligence for AI assistants providing 10 weather tools โ forecasts, historical data, air quality, marine, geocoding, elevation, and climate projections at 1km resolution with 80+ years of archive.1MIT
- AlicenseNot gradedqualityDmaintenanceProvides AI agents with access to CO2 emissions data, climate projections, and risk assessments for heat, flooding, and drought, supporting ESG analysis and CSRD compliance.MIT
- AlicenseNot gradedqualityFmaintenanceProvides weather and climate intelligence for AI agents, including current conditions, forecasts, historical data, severe-weather alerts, agricultural outlook, and travel conditions via free and paid tools.1MIT