Loading…
FortyGuard API β†’ Fetch Temperature β†’ Sentinel Anomaly Detection β†’ Heat-Risk Scoring β†’ Alerts + Recommendations β†’ MCP Tool Interface

Monitoring Stats

β€”
Readings
β€”
Active Alerts
β€”
Scans Run
β€”
Monitored Cities

City Temperature Grid

Click "Scan All Cities" to fetch live temperatures.

Active Heat-Risk Alerts

No alerts loaded. Click Refresh.

Single-City Deep Monitor

MCP Tool Interface

Thermal Sentinel exposes 11 MCP tools. Any MCP-compatible AI agent can call these to monitor heat risk, detect anomalies, and generate urban-planning recommendations.

Try a Tool

// Select a tool and execute.

About Thermal Sentinel

Thermal Sentinel is an AI agent built for the FortyGuard Hackathon'26 (Agentic AI track). It uses the FortyGuard Temperature API to monitor real-time urban temperatures, detects heat waves and temperature anomalies using Sentinel-style anomaly detection, and generates heat-risk alerts with urban-planning recommendations.

Judging criteria alignment:
β€’ Impact (40%) β€” Heat waves kill more people than any other weather event. Real-time detection + actionable urban-planning recs save lives.
β€’ Technical Execution (35%) β€” FastAPI backend, MCP protocol, multi-signal anomaly detection (WHO bands + z-score + sustained-heat + rate-of-change), composite 0-100 risk score, file-based persistence for serverless.
β€’ Innovation (15%) β€” Sentinel-pattern anomaly detection applied to climate/heat data; MCP tool surface lets any AI agent monitor heat risk.
β€’ Communication (10%) β€” Live dashboard + one-click demo + narrated summary.

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    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 API or  β”‚  WHO heat bands    β”‚  readings + alerts   β”‚
β”‚ mock data    β”‚  Z-score outlier   β”‚  + scans tables      β”‚
β”‚              β”‚  Heat-wave detect  β”‚                      β”‚
β”‚              β”‚  Rate-of-change    β”‚                      β”‚
β”‚              β”‚  Composite score   β”‚                      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
      

What's Real vs Mocked

  • Real: FortyGuard API integration (when FORTYGUARD_API_KEY set), 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.