HeatShield
The HeatShield server provides geospatial and environmental tools to help users stay safe during heat waves. It can:
Geocode locations (
geocode_location): Convert addresses or city names into precise coordinates.Get live weather & heat risk (
get_weather_and_heat_risk): Fetch temperature, humidity, UV index, and a WHO/CDC-based heat risk level (LOW to EXTREME).Check air quality (
get_air_quality): Retrieve PM2.5, PM10, and AQI to assess respiratory safety.Find cooling spots (
find_cooling_spots): Locate nearby parks, pools, libraries, and fountains within a radius.Get heat safety advice (
get_heat_safety_advice): Receive tailored recommendations based on heat risk and activity type.Get heatwave forecast (
get_heatwave_forecast): Obtain a 7-day forecast with climate aggravation risk to predict upcoming heatwaves.
Provides tools for geocoding locations and finding cooling spots such as parks, pools, fountains, and libraries using OpenStreetMap data.
Click on "Install 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., "@HeatShieldFind cooling spots and heat safety advice for downtown Miami"
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.
HeatShield: Geospatial MCP Agent
HeatShield is an AI-powered urban heat wave safety assistant designed to demonstrate the power of the Model Context Protocol (MCP) in grounding LLM agents with reliable, deterministic geospatial data.
The Problem with LLM "Freehanding" Spatial Data
When tasked with geospatial routing, weather analysis, or urban heat island (UHI) mapping, native LLMs suffer from severe hallucinations. They invent streets that don't exist, guess walking distances, and fabricate localized temperatures.
HeatShield solves this by entirely decoupling the intelligence layer from the data layer via MCP. Instead of the LLM generating markdown tables or estimating distances, it acts purely as a reasoning engine that orchestrates exact tool calls to deterministic APIs.
Related MCP server: OpenStreetMap MCP Server
Architecture & MCP Implementation
The core of HeatShield is an architecture where the LLM is tightly constrained to use server-side tools. The UI is designed for rapid prototyping, but the true value lies in the backend tool implementation.
Key MCP Tools Built for this Agent:
geocode_location: Resolves human-readable addresses to exact lat/lon coordinates via Nominatim.find_cooling_spots: Queries the Overpass API for real-world infrastructure (parks, water fountains, cooling centers) based on the user's localized coordinates.get_walking_route: Uses OSRM to calculate true walking distances and times, preventing the LLM from relying on "crow-flies" haversine estimations.generate_walkability_isochrone: Generates an exact 15-minute reachable area polygon (GeoJSON).get_urban_heat_island_heatmap: Pulls UHI surface temperature data to render deterministic heat blobs on the map.get_occupational_heat_guidance: Calculates CDC/NIOSH work/rest cycles based strictly on current local wet-bulb globe temperature (WBGT) data.
How it Works
User asks a question (e.g. "Find a cool place nearby").
LLM reasons and calls tools. It executes
find_cooling_spotspassing the user's localized coordinates.MCP Server executes the query, fetching deterministic JSON data from Overpass.
FastAPI intercepts the JSON payload. Instead of letting the LLM hallucinate prose about the data, FastAPI intercepts the structured GeoJSON and streams it directly to the React frontend.
React Frontend renders natively. The UI renders the map pins and walking routes using standard Leaflet/React layers, bypassing LLM generation completely.
This architecture ensures that a user never receives a hallucinated safety route during an extreme weather event.
Tech Stack
Backend: FastAPI (Python), Model Context Protocol (MCP), Uvicorn, SQLite/DuckDB (Spatial Caching).
Frontend: React, Vite, React-Leaflet.
External Integrations: Overpass API, Open-Meteo, OSRM.
Setup & Running Locally
Clone the repository.
Install Python dependencies:
uv syncInstall Frontend dependencies:
cd frontend && npm installStart the backend:
uv run uvicorn api:app --reloadStart the frontend:
cd frontend && npm run dev
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI agents to fetch real-time weather data for any location using the OpenWeatherMap API. Demonstrates how to build a simple MCP server that exposes weather information as a tool for LLMs.1GPL 3.0
- AlicenseBqualityDmaintenanceA comprehensive MCP server providing 30 tools for geocoding, routing, and OpenStreetMap data analysis. It enables AI assistants to search for locations, calculate travel routes, and perform quality assurance checks on map data.303MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI assistants to call weather tools, read resources, and use prompt templates for live weather data integration.1,284MIT
- FlicenseAqualityCmaintenanceMCP server that exposes real-time weather, forecasts, air quality, and multi-city comparison tools via the OpenWeather API for LLM agents.4
Related MCP Connectors
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
HiveCapital MCP Server — autonomous investment layer for AI agents
MCP server giving Claude AI access to 22+ NYC public-record databases for real estate due diligence
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AscilCH/heatshield-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server