fema-mcp-server
Server Details
Query FEMA disaster declarations, public assistance grants, housing aid, and NFIP claims.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- cyanheads/fema-mcp-server
- GitHub Stars
- 2
- Server Listing
- fema-mcp-server
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 8 tools
Each tool targets a distinct resource/action: search vs. get for disasters, per-program retrieval for PA and IA housing, NFIP claims search, and a SQL layer over staged data. The only real overlap risk is fema_query_dataset (generic OData) versus the convenience tools and fema_dataframe_query (SQL over staged tables), but descriptions explicitly frame it as an escape hatch for uncovered datasets and clarify the OData-vs-SQL split.
All names use a consistent fema_ prefix and mostly verb_noun ordering (fema_get_disaster, fema_search_disasters, fema_search_nfip, fema_get_public_assistance). Minor deviation: fema_dataframe_describe and fema_dataframe_query put the noun before the verb, breaking the otherwise uniform verb_noun pattern.
Eight tools is well-scoped: four search/get tools for specific FEMA domains, two staging/query tools for aggregation, and one generic catalog escape hatch. No tool looks redundant given the generic query tool covers the long tail of OpenFEMA datasets without inflating the surface.
Covers the key lifecycle — disaster discovery, disaster detail, PA projects, IA housing, NFIP claims, plus staging and SQL aggregation over results, with pagination via next_offset. The main gap is dataset discovery: fema_query_dataset requires an exact case-sensitive OpenFEMA entity name and has no companion tool to list the catalog, so agents must guess names and hit unknown_dataset errors.
Available Tools
8 toolsfema_dataframe_describeDescribe FEMA DataCanvas TablesARead-onlyIdempotentInspect
List tables and column schemas for staged NFIP claims, PA projects, and housing records. Call this before fema_dataframe_query to discover the exact table name, column names, and DuckDB data types needed to write valid SQL. Compare each staged count with the source tool’s total before using it for a full-match aggregate.
Inputs: canvas_id (required). Returns: error, tables, canvas_id
fema_dataframe_queryQuery FEMA DataCanvas TableARead-onlyIdempotentInspect
Query staged NFIP claims, PA projects, or housing records with read-only SQL. Use GROUP BY, SUM, or COUNT to aggregate staged records without re-fetching from the API. Call fema_dataframe_describe first to get the exact table name and column names needed for valid SQL. Read-only queries can inspect columns with SHOW and fill gaps with range() or generate_series() over constant arguments. DDL, DML, COPY, and file-reading functions are blocked. A response holds at most 100,000 characters of rows; when it holds fewer rows than the query returned, truncated and shown are set and the notice says how to page with OFFSET.
Inputs: query (required), canvas_id (required). Returns: cap, rows, error, shown, +4 more
fema_get_disasterGet FEMA Disaster DetailsARead-onlyInspect
Fetch up to 1,000 designated-area rows for a specific FEMA disaster by disaster number (e.g., 4781). Discloses partial area and program coverage when more rows exist. Returns counties and municipalities, programs observed, incident period, and disaster-wide funding totals when available. Use fema_search_disasters to find disaster numbers. The returned disaster_number chains to fema_get_public_assistance and fema_get_housing_assistance.
Inputs: disaster_number (required). Returns: error, state, title, notice, +14 more
fema_get_housing_assistanceGet FEMA Housing Assistance DataARead-onlyInspect
Retrieve Individual Assistance (IA) housing data for a disaster by disaster number. Returns owner and/or renter records aggregated by county, city, and ZIP code — valid registrations, total approved IHP amounts, repair/rental/other-needs amounts, and inspection counts (owners also carry inspected damage in USD). Narrow with state, county, or zip_code; owners_count, renters_count, and offset then count the filtered records. Use type to select owners, renters, or both (default). A page holds at most 100,000 characters of records, owners and renters cut at the same row count so one offset continues both; when records remain past it, next_offset is the offset to continue from. When either dataset exceeds the first inline page and DataCanvas is enabled, stage each nonempty queried dataset for SQL in fema_dataframe_query. Use disaster_number from fema_search_disasters.
Inputs: disaster_number (required), type, limit, state, +4 more. Returns: error, notice, owners, renters, +9 more
fema_get_public_assistanceGet FEMA Public Assistance ProjectsARead-onlyInspect
Retrieve Public Assistance (PA) funded project records, including recipient name, damage category, project status, and federal obligations. Supply disaster_number from fema_search_disasters or a state code. A page holds up to 100,000 characters of projects. Use next_offset to continue. With DataCanvas enabled, an overflowing first page also stages up to 50,000 matching rows for fema_dataframe_query.
Inputs: limit, state, county, offset, +2 more. Returns: error, notice, spilled, projects, +6 more
fema_query_datasetQuery Any OpenFEMA DatasetARead-onlyInspect
Generic OData query against any dataset in the OpenFEMA dataset catalog — the escape hatch for datasets the convenience tools do not cover (e.g., NfipPolicies, IndividualAssistanceHousingRegistrantsLargeDisasters, FemaWebDeclarationAreas, PublicAssistanceApplicants). Accepts raw OData filter, select, orderby, and pagination parameters. For NfipPolicies, use propertyState (not state) for the state and reportedZipCode for the ZIP code — it has no countyCode; always include a ZIP filter to avoid timeout. The dataset name must match the exact OpenFEMA entity name (case-sensitive, e.g., NfipClaims). Names missing from the catalog return an unknown_dataset error; a listed dataset OpenFEMA does not serve through the API, or a retired version, returns dataset_not_served. A page holds at most 100,000 characters of records; when records remain past it, next_offset is the offset to continue from.
Inputs: dataset (required), limit, filter, offset, +2 more. Returns: rows, error, notice, dataset, +4 more
fema_search_disastersSearch FEMA Disaster DeclarationsARead-onlyInspect
Search federal disaster declarations by title, state, incident type, declaration type, date range, and county. Returns deduplicated declaration-level summaries — each disaster number appears once with a designated_area_count showing how many counties/municipalities were designated. The disaster number is the chain key for fema_get_disaster, fema_get_public_assistance, and fema_get_housing_assistance. Use declaration_type to filter: DR (major disaster, most common), EM (emergency), FM (fire management). Date filters apply to the declaration date. Use fema_get_disaster to retrieve all designated-area rows for a specific declaration. county selects the declarations that designated a matching area; their area counts and program flags still describe the whole declaration, and matched_areas lists the matching areas with their own program flags. A search reads the most recent 10,000 designated-area rows; when more match, it returns the declarations dated after the day that window ends, sets truncated, and its notice names the date_to that continues with older declarations. A page holds at most 100,000 characters of declarations; when declarations remain past it, next_offset is the offset to continue from.
Inputs: limit, state, title, county, +5 more. Returns: error, notice, truncated, totalCount, +6 more
fema_search_nfipSearch NFIP Flood Insurance ClaimsARead-onlyInspect
Search National Flood Insurance Program (NFIP) claims data by state, county, ZIP code, year range, and exact flood event name. Returns the matching claim count and claim records — amounts paid on building and contents, damage estimates, flood zones, cause and occupancy codes, and loss dates — newest loss first. state is required — the full NFIP dataset is 2.7 million rows; unfiltered access is prohibited. Page the inline claims with limit and offset; a page holds at most 100,000 characters of claims, and while claims remain past it, next_offset is the offset to continue from. When DataCanvas is enabled and the match exceeds that inline budget, a call at offset 0 stages the match (up to 50,000 claims) on a canvas: inspect the staged table with fema_dataframe_describe, then aggregate it with SQL via fema_dataframe_query.
Inputs: state (required), limit, offset, year_to, +5 more. Returns: error, claims, notice, spilled, +7 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Federal disaster declarations, emergencies, and assistance data
FEMA disaster declarations by state and county.
FEMA NFIP flood claims by state and county, damage by water depth, county profiles. Read-only.
FEMA flood zone, hazard history and demographics for any US address, with sources on every answer.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables keyless, read-only querying of FEMA open data on NFIP paid flood claims by state and county, damage ratios by interior water depth, and county profiles covering disaster declarations, FEMA inspections, and community status. Reported amounts are what NFIP paid on claims, not repair-cost estimates.MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying US FEMA open data through natural language, as part of the Pipeworx MCP gateway.96 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables location-aware emergency preparedness planning by providing FEMA hazard risk profiles, disaster declaration history, and combined community context.MIT
- AlicenseNot gradedqualityCmaintenanceEnables users to look up recent US county disaster declarations for 1–25 FIPS codes, including individual assistance application deadlines, days remaining in local time, IRS postponed tax dates with source URLs, and the later applicable deadline.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.