query_dataset

Pack: openfema · Endpoint: https://gateway.pipeworx.io/openfema/mcp

Generic OData query against any OpenFEMA dataset. Specify the entity name (and optionally version; defaults to the verified current version) plus OData params: filter, select, orderby, top, skip. Use list_datasets to see available entities/versions and the filter syntax. Returns { metadata, records }.

Parameters

NameTypeRequiredDescription
entitystringyesDataset entity name, e.g. ‘PublicAssistanceFundedProjectsDetails’.
versionstringnoPath version like ‘v1’/‘v2’/‘v4’. Optional — defaults to the verified current version for known entities.
filterstringnoOData $filter, e.g. “state eq ‘TX’ and fyDeclared eq 2023”.
selectstringnoComma-separated $select fields, e.g. “disasterNumber,state,incidentType”.
orderbystringnoOData $orderby, e.g. ‘declarationDate desc’.
topintegernoMax records ($top, default 50, max 1000).
skipintegernoRecords to skip ($skip) for paging.

Example call

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":"query_dataset","arguments":{}}}'

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.

Regenerated from source · build June 2, 2026