disaster_declarations
Pack: openfema · Endpoint: https://gateway.pipeworx.io/openfema/mcp
Look up and COUNT US federal disaster declarations (FEMA DisasterDeclarationsSummaries). Filters: state (2-letter), incidentType (e.g. ‘Fire’, ‘Flood’, ‘Hurricane’, ‘Severe Storm’), declarationType (‘DR’ major disaster, ‘EM’ emergency, ‘FM’ fire management), year (fyDeclared, the federal FISCAL year), and since/until for a real calendar date range — use since/until for questions like ‘in the past year’, which a fiscal year does not answer. Counts are DISTINCT DISASTERS by default, not table rows: FEMA publishes one row per disaster per designated county, so Hurricane Harvey is ~60 rows for Texas but one declaration. Pass designatedArea or grain:‘area’ for county-level rows. Returns the most recent first.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
state | string | no | 2-letter state/territory code, e.g. ‘CA’, ‘TX’. |
year | integer | no | Federal FISCAL year declared (fyDeclared), e.g. 2024. For a calendar window use since/until instead. |
since | string | no | Only declarations on/after this date — ISO ‘YYYY-MM-DD’. Use with until for windows like ‘the past year’. |
until | string | no | Only declarations on/before this date — ISO ‘YYYY-MM-DD’. |
incidentType | string | no | Incident type, e.g. ‘Fire’, ‘Flood’, ‘Hurricane’, ‘Severe Storm’. |
declarationType | string | no | ’DR’ (major disaster), ‘EM’ (emergency), or ‘FM’ (fire management). |
designatedArea | string | no | Filter to a designated area, e.g. ‘Harris (County)’. Implies county-level grain. |
grain | string | no | ’disaster’ (default) = one record per declaration; ‘area’ = one record per designated county. |
limit | integer | no | Max records (default 50, max 1000). |
orderby | string | no | OData $orderby, default ‘declarationDate desc’. Live-API path only. |
Example call
Arguments
{
"state": "CA",
"year": 2024
}
curl
curl -X POST https://gateway.pipeworx.io/openfema/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"disaster_declarations","arguments":{"state":"CA","year":2024}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('disaster_declarations', {
"state": "CA",
"year": 2024
});
More examples
{
"state": "TX",
"incidentType": "Hurricane",
"declarationType": "DR",
"limit": 100
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"openfema": {
"url": "https://gateway.pipeworx.io/openfema/mcp"
}
}
}
See Getting Started for client-specific install steps.