mcp-hazards
Provides flood zone risk assessment by querying the FEMA National Flood Hazard Layer via ArcGIS REST API, returning plain English interpretations of FEMA flood zone codes.
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., "@mcp-hazardsIs 1600 Pennsylvania Ave, Washington DC in a flood zone?"
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.
mcp-hazards
An MCP server that gives AI agents grounded access to US natural-hazard data — weather alerts, forecasts, earthquakes, and FEMA flood zones — from free, keyless US government APIs. Hazard questions ("Is this address in a flood zone?", "Any warnings near the job site today?") are exactly where an LLM should not guess: the answers exist, they're authoritative, and they change hourly. This server turns those questions into schema-validated tool calls with typed Pydantic outputs, bounded inputs, and honest error messages — no API keys, no scraping, no hallucinated risk assessments.
Tools
Tool | Inputs | Source API |
|
| |
|
| NWS API |
|
| NWS API |
|
| |
|
| FEMA National Flood Hazard Layer (ArcGIS REST) |
flood_zone translates FEMA zone codes into plain English: A/AE/AH/AO/AR/A99 and V/VE are high-risk Special Flood Hazard Areas, shaded X (0.2% annual chance) is moderate, unshaded X is minimal, D is undetermined.
All tools validate inputs up front (latitude/longitude ranges, bounded radius/days/magnitude) and return explicit messages for empty results rather than empty payloads.
Related MCP server: Weather MCP Server
Install
Requires Python 3.11+.
git clone https://github.com/jsuich/mcp-hazards.git
cd mcp-hazards
python3 -m venv .venv
.venv/bin/pip install -e .Use with Claude Code
claude mcp add hazards -- /absolute/path/to/mcp-hazards/.venv/bin/mcp-hazardsUse with Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"hazards": {
"command": "/absolute/path/to/mcp-hazards/.venv/bin/mcp-hazards"
}
}
}Example prompts
"Any active weather alerts for 123 Main St, Augusta GA?"
"What's the forecast for the next few days at Lake Tahoe (39.09, -120.03)?"
"List magnitude 3+ earthquakes within 200 km of San Jose in the last 90 days."
"Is 400 Royal St, New Orleans in a FEMA flood zone? What does the zone mean?"
Testing
Tests are fully network-mocked with respx — pytest never touches a live API.
.venv/bin/pip install -e ".[dev]"
.venv/bin/python -m pytest -qA separate live smoke script (not part of the test suite) exercises the real endpoints:
.venv/bin/python scripts/live_smoke.pyData sources and disclaimer
Data is provided by the US Census Bureau, National Weather Service (NOAA), US Geological Survey, and FEMA via their public APIs. This project is not affiliated with or endorsed by any of these agencies. Upstream data can be delayed, incomplete, or revised.
Do not use this software for life-safety decisions. For emergencies and official guidance, rely on local authorities, NOAA Weather Radio, and official agency channels.
License
MIT © 2026 Josh Suich
This server cannot be deployed
Maintenance
Related MCP Connectors
- UnifAPIOAuthcom.unifapi
Hosted MCP server for live public-data APIs and Skills for AI agents.
Agent-native MCP server over 49M+ US public and government records, privacy-first, always current.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA powerful MCP server that connects AI assistants to authoritative natural hazard data sources, enabling monitoring of earthquakes, tsunamis, volcanoes, and solar events with configurable alerts and webhooks.1MIT
- FlicenseNot gradedqualityDmaintenanceA demo MCP server that provides AI assistants access to live US weather data via the free National Weather Service API, offering forecast and alert tools without requiring an API key.-
- AlicenseAqualityCmaintenanceA free, MIT-licensed MCP server that provides AI agents with analyst-grade US severe-weather tools, including live warning polygons, SPC outlooks, radar-derived hail and rotation products, and a composite threat brief.10MIT
- AlicenseAqualityDmaintenanceAn MCP server that gives AI agents clean, token-efficient access to US civic & property data — geocoding, census tracts, Opportunity Zones, ACS demographics, and FEMA flood zones — sourced entirely from free federal open data.527 npm1MIT