Skip to main content
Glama
flood-zone-lookup-fema-flood-map-mcp

flood-zone-lookup-fema-flood-map-mcp

flood-zone-lookup-fema-flood-map-mcp

FEMA flood zone lookup for AI assistants. Ask what flood zone an address is in, whether a house is in the 100-year floodplain, what the base flood elevation is, whether flood insurance is required, or how far the nearest high-risk zone is.

This is a Model Context Protocol (MCP) server. It reads the FEMA National Flood Hazard Layer (the digital FEMA flood map) and geocodes addresses with the U.S. Census Bureau geocoder at call time. It needs no API key.

Tools

Tool

What it returns

flood_zone_lookup

The FEMA flood zone at a US street address or latitude/longitude: zone code, Special Flood Hazard Area yes or no, base flood elevation or flood depth (or the nearest BFE lines), FIRM panel number and effective date, Letters of Map Revision, NFIP community, flood insurance meaning and a link to the official FEMA map.

flood_zone_nearby

High-risk (A and V zones and floodways), moderate-risk (shaded X) and undetermined (D) flood zones within 50 to 2000 m of an address, with the distance to the nearest of each and their base flood elevations.

flood_zone_explain

What a zone code means (A, AE, AH, AO, AR, A99, V, VE, shaded X or B, unshaded X or C, D) and its flood insurance rules. No address needed.

Every result has structured JSON, a plain-text summary, as_of, source and more (a page on mcpstamp.com). Every tool is marked read-only.

Related MCP server: fema-nfhl-mcp

What it knows that your model does not

  • The flood zone of a specific lot, which changes from one side of a street to the other and which no model has memorized: FEMA's current effective map, including Letters of Map Revision issued this year.

  • The base flood elevation and its datum (NAVD88 or NGVD29), or the flood depth in AO zones, and the FIRM panel that applies. Where panels of neighbouring counties overlap, it picks the panel of the flood study that covers the point.

  • How close the floodplain is: the straight-line distance to the nearest high-risk, floodway and 0.2% annual chance zones.

Install

Hosted (custom connector, ChatGPT developer mode, any remote MCP client)

Paste this URL. No token, no sign-up.

https://flood-zone-lookup-fema-flood-map-mcp.lipmichal.workers.dev/mcp

Cursor

Add to ~/.cursor/mcp.json.

{
  "mcpServers": {
    "flood-zone": { "url": "https://flood-zone-lookup-fema-flood-map-mcp.lipmichal.workers.dev/mcp" }
  }
}

VS Code

Add to .vscode/mcp.json.

{
  "servers": {
    "flood-zone": { "type": "http", "url": "https://flood-zone-lookup-fema-flood-map-mcp.lipmichal.workers.dev/mcp" }
  }
}

Local stdio

The npm package is not published. Build it from this repository with Node 20 or newer, then point your MCP client at node /path/to/flood-zone-lookup-fema-flood-map-mcp/dist/stdio.js.

git clone https://github.com/theluckystrike/flood-zone-lookup-fema-flood-map-mcp && cd flood-zone-lookup-fema-flood-map-mcp
npm install && npm run build
node dist/stdio.js

Example prompts

  • "What flood zone is 1000 Ocean Dr, Miami Beach, FL 33139 in, and do I need flood insurance?"

  • "Is 1701 Wynkoop St, Denver in a flood zone? How far is the nearest floodplain?"

  • "What does flood zone AE mean compared with shaded X?"

  • "What is the base flood elevation at 29.2896, -94.7888?"

Data sources

Full list in DATA_SOURCES.md.

  • FEMA National Flood Hazard Layer map service (hazards.fema.gov/arcgis/rest/services/public/NFHL/MapServer): flood hazard zones (layer 28), FIRM panels (3), LOMRs (1), base flood elevation lines (16), political jurisdictions (22), NFHL availability (0).

  • U.S. Census Bureau geocoder (geocoding.geo.census.gov), one-line address search, Public_AR_Current benchmark.

Limitations

  • Not an official flood zone determination. Lenders and insurers use a Standard Flood Hazard Determination Form; building rules use an elevation certificate. The official map is linked in every lookup (msc.fema.gov).

  • The geocoded point is on the street segment, not the building footprint. On a zone boundary the riskiest zone is shown and the others are listed.

  • Areas with only a paper FIRM, or no FEMA map, return no zone. Preliminary (not yet effective) maps are not included.

  • Nearby distances come from generalized polygons and are accurate to about 10 m.

More

More MCP servers that answer questions your assistant cannot answer alone are on mcpstamp.com.

Part of the Zovo MCP collection at https://mcp.zovo.one

Built by theluckystrike.

Development

npm install
npm test                              # builds, then runs the fixture tests and an offline stdio test
node scripts/stdio-transcript.mjs     # live stdio round trip, writes .live/stdio-transcript.jsonl

CI (.github/workflows/bundle.yml) runs the tests, the type check and wrangler deploy --dry-run --outdir out, and uploads the Worker bundle as an artifact.

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Instant U.S. property intelligence for AI agents. Zoning, Buildability™ Score, ADU eligibility, flood risk, and more from 20+ government sources. Pay-as-you-go: $5 per analysis (prepaid credits). Free Score available at buildability.us. Get a key at buildability.us/api.
      5
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that gives AI assistants direct access to the FEMA National Flood Hazard Layer (NFHL) for flood zone lookups, FIRM panel information, and flood map data in the United States.
      6
      27 npm
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      MCP server that queries FEMA's National Flood Hazard Layer (NFHL) for flood zone information, including flood zone codes, Base Flood Elevation, FIRM panel numbers, and identifies LOMRs/LOMAs from provided coordinates, enabling automated flood risk lookups.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables querying FEMA's National Flood Hazard Layer for flood hazard zones, base flood elevations, floodways, and other regulatory flood map information via MCP tools.
      101 npm
      MIT