Fema MCP Server

Query FEMA disaster declarations, grants, and flood insurance data via MCP endpoints.

Data last scanned today · Reviewed today

338 tools1TypeScriptApache-2.0

Overview

The Fema MCP Server provides a direct interface to the OpenFEMA data catalog, enabling AI models to retrieve information on federal disaster declarations, public assistance grants, and housing aid. It supports communication via standard input/output (stdio) or streamable HTTP, making it versatile for different agentic environments. The server includes eight specific tools designed for both simple dataset queries and complex analytical tasks. Users can leverage built-in convenience functions for core FEMA datasets or utilize the generic tool to access broader OpenFEMA endpoints. For large NFIP datasets, it integrates DuckDB for SQL-based analysis.

Our verdict

With a security score of 33/100, this server is classified as high-risk. This rating reflects the fact that it is a community-maintained project rather than an official FEMA-provided tool, and it operates without restricted read-only permissions, meaning any install grants full access to the server implementation. It is suitable for experimental data retrieval tasks but should be approached with caution regarding the provenance of the code.

  • Supports SQL analytics on NFIP data via DuckDB
  • Provides eight distinct tools for granular data access
  • Small dependency footprint with only four direct libraries
  • Maintains recent repository activity with commits two days ago
  • No read-only mode restricts permission boundaries
  • Not an official, vendor-maintained repository
  • Lacks OAuth authentication support

Setup

Claude Desktop
{
  "mcpServers": {
    "fema-mcp-server": {
      "args": [
        "-y",
        "@cyanheads/fema-mcp-server"
      ],
      "command": "npx"
    }
  }
}

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), then restart Claude Desktop. Some servers require API keys or tokens as environment variables — check the project's README and add an "env" object if needed.

  • No read-only mode — running this grants full read/write access.
  • No built-in authentication — anyone with access to this config can invoke every tool it exposes.

Tools

ToolDescriptionRisk
fema_search_disastersSearch federal disaster declarations by state, incident type, declaration type, date range, and countylow
fema_get_disasterFetch all designated-area records for a specific disaster by disaster numberlow
fema_get_public_assistancePublic assistance funded projects for a disaster or state — where federal recovery money wentlow
fema_get_housing_assistanceIndividual assistance housing data for a disaster — owner and renter breakdowns by county/ZIPlow
fema_search_nfipNFIP flood insurance claims for a state, county, or ZIP, with optional DataCanvas spillover for SQL analyticslow
fema_dataframe_describeList columns and row counts for DataCanvas tables staged by fema_search_nfiplow
fema_dataframe_queryRun a SELECT query against a DataCanvas table staged by fema_search_nfiplow
fema_query_datasetGeneric OData query against any OpenFEMA v2 dataset — escape hatch for datasets the convenience tools don't coverlow

Compatibility

ClientLocalDockerRemoteRead-only
Claude Desktop
Cursor
VS Code
Windsurf
ChatGPT

Frequently asked questions

What communication protocols does the server support?

The server supports both STDIO and Streamable HTTP for connection.

How can I perform SQL analytics on large NFIP datasets?

Set the environment variable CANVAS_PROVIDER_TYPE to duckdb. When results exceed the inline limit, the data will spill to a DataCanvas table for querying via SQL.

Are there mandatory filters when using the NFIP search tool?

Yes, you must provide at least a state filter when searching NFIP flood insurance claims to manage the large dataset size.

What is the relationship between the disaster search and other tools?

The disaster number returned by the fema_search_disasters tool serves as the primary join key for retrieving specific public assistance and housing assistance data.

Can I query FEMA datasets not explicitly covered by the convenience tools?

Yes, you can use the fema_query_dataset tool to perform a generic OData query against any OpenFEMA v2 dataset.

Badge

Fema MCP Server security score, rated on RepoAI

Maintain this server? Add the live badge to your README.