npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

fema-nfhl-mcp

v1.0.0

Published

MCP server for FEMA National Flood Hazard Layer (NFHL) — flood zone lookups, FIRM panels, BFEs, LOMRs, and LOMAs

Readme

FEMA NFHL MCP Server

An MCP (Model Context Protocol) server that gives AI assistants direct access to the FEMA National Flood Hazard Layer (NFHL) — the official source for flood zone data in the United States.

Built on the official FEMA ArcGIS REST API.


Tools

| Tool | Description | |------|-------------| | get_flood_zone | Look up the FEMA flood zone for a lat/lon. Returns zone code (AE, X, VE, etc.), SFHA status, floodway, BFE, and FIRM source panel. | | get_firm_panel | Get the FIRM (Flood Insurance Rate Map) panel number and effective date for a location. | | check_nfhl_availability | Check whether FEMA has NFHL flood map coverage for a location. | | get_lomrs | Get Letters of Map Revision (LOMRs) affecting a location. | | get_lomas | Get Letters of Map Amendment (LOMAs) near a location. | | get_base_flood_elevations | Get Base Flood Elevation (BFE) lines near a location. |


Requirements

  • Node.js 18+
  • npm

Installation

git clone https://github.com/Revex-Agency/fema-nfhl-mcp.git
cd fema-nfhl-mcp
npm install
npm run build

Usage

Cursor

Add to your .cursor/config.json:

{
  "mcpServers": {
    "floodzone": {
      "command": "node",
      "args": ["C:\\path\\to\\fema-nfhl-mcp\\dist\\index.js"]
    }
  }
}

Claude Desktop

Add to %AppData%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

{
  "mcpServers": {
    "floodzone": {
      "command": "node",
      "args": ["/absolute/path/to/fema-nfhl-mcp/dist/index.js"]
    }
  }
}

Development (no build step)

{
  "mcpServers": {
    "floodzone": {
      "command": "npx",
      "args": ["tsx", "src/index.ts"]
    }
  }
}

Data Source

All data is sourced in real time from the official FEMA NFHL ArcGIS REST service:

https://hazards.fema.gov/arcgis/rest/services/public/NFHL/MapServer

No API key required. No data is stored or cached locally.


Flood Zone Reference

| Zone | Description | |------|-------------| | A / AE / AH / AO / AR | High-risk flood zone (SFHA) — mandatory flood insurance for federally-backed mortgages | | VE / V | High-risk coastal zone with wave action (SFHA) | | X (shaded) | Moderate risk — 0.2% annual chance flood | | X (unshaded) | Minimal risk | | D | Undetermined risk (area not studied) |


License

MIT