HeatShield
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 - GeoAI Urban Heat Wave Assistant
HeatShield is a production-grade full-stack GeoAgent built for real-time urban heat wave safety.
Cities are struggling to protect vulnerable citizens during extreme heat events. HeatShield solves this by using the Model Context Protocol (MCP) to give Large Language Models real-time spatial reasoning. Instead of hallucinating geographic data, the AI autonomously queries real-time Open-Meteo and OpenStreetMap data to assess environmental risks and map out cooling shelters.
Architecture
This project is built from scratch as a complete end-to-end GeoAgent system:
MCP Spatial Tools (
src/heatshield/server.py): A standard MCP JSON-RPC server overstdiothat exposes real-world spatial intelligence tools.FastAPI Agent Backend (
api.py): A custom Python backend that implements a true autonomous Agent loop. It connects to the Gemini API and the local MCP server, allowing the LLM to autonomously trigger spatial tools in awhileloop until it solves the user's problem.React Visual Dashboard (
frontend/): A sleek, modern Vite + React web application featuring a glassmorphism chat interface and an interactive Leaflet map that dynamically plots the AI's spatial reasoning in real-time.
Related MCP server: LocuSync Server
The Spatial Tools
The MCP server exposes 5 autonomous tools using Open Source Intelligence (OSINT):
geocode_location: Converts city/place names to GPS coordinates (via OpenStreetMap Nominatim).get_weather_and_heat_risk: Fetches live temperature, humidity, UV index, and calculates WHO/CDC Heat Risk (via Open-Meteo).get_air_quality: Fetches real-time AQI and particulate matter levels (via Open-Meteo).find_cooling_spots: A spatial query to locate nearby parks, pools, fountains, and libraries (via Overpass QL).get_heat_safety_advice: A localized WHO/CDC knowledge base for activity-specific safety recommendations.
Installation & Setup
Ensure you have uv (for Python) and Node.js (for React) installed.
# Clone the repository
git clone https://github.com/yourusername/heatshield-mcp.git
cd heatshield-mcpRunning the Web Dashboard
You need to run the Backend and the Frontend simultaneously in two separate terminals.
Terminal 1 (Backend - FastAPI + Agent Loop):
uv run uvicorn api:app --reloadTerminal 2 (Frontend - React + Interactive Map):
cd frontend
npm install
npm run devOpen your browser to http://localhost:5173 to interact with the map and the AI.
Testing the Tools Independently
To prove the validity of the spatial data pipeline (without LLM hallucination), you can test the raw tools directly.
Option 1: Official MCP Inspector (Web UI) The industry standard way to debug an MCP server.
npx -y @modelcontextprotocol/inspector uv run python src/heatshield/server.pyOption 2: Raw Python Test Script A terminal script that manually calls the Open-Meteo and Overpass APIs for Sfax, Tunisia.
uv run test_tools.pyHow the AI Thinks (Agent Loop)
When a user asks: "I am in Karlsruhe looking to swim in a lake"
Gemini realizes it needs coordinates, so it calls
geocode_location({'query': 'Karlsruhe'}).The Backend parses the MCP tool output and plots a marker on the React map.
Gemini sees the coordinates and calls
get_weather_and_heat_risk(lat, lon).Gemini sees the temperature is 30°C and calls
find_cooling_spots(lat, lon).The Backend receives the exact GPS coordinates of lakes (like Epplesee and Baggerseen) from OpenStreetMap and streams them to the Frontend map.
Gemini formats a final, human-readable safety summary.
All of this happens autonomously in a single user request.
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.Last updated1GPL 3.0
- Alicense-qualityCmaintenanceA geospatial MCP server that provides tools for geocoding, routing, elevation profiles, and spatial analysis. It enables AI agents to process GIS file formats like GeoJSON and Shapefiles while performing complex coordinate transformations and distance calculations.Last updated4MIT
- 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.Last updated302MIT
- Alicense-qualityDmaintenanceAn MCP server that enables AI assistants to look up solar permitting authorities, estimate solar production via PVWatts, and retrieve irradiance data. It streamlines the creation of solar-aware workflows by integrating industry-standard APIs like NREL.Last updatedMIT
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