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
| Name | Type | Required | Description |
|---|---|---|---|
entity | string | yes | Dataset entity name, e.g. ‘PublicAssistanceFundedProjectsDetails’. |
version | string | no | Path version like ‘v1’/‘v2’/‘v4’. Optional — defaults to the verified current version for known entities. |
filter | string | no | OData $filter, e.g. “state eq ‘TX’ and fyDeclared eq 2023”. |
select | string | no | Comma-separated $select fields, e.g. “disasterNumber,state,incidentType”. |
orderby | string | no | OData $orderby, e.g. ‘declarationDate desc’. |
top | integer | no | Max records ($top, default 50, max 1000). |
skip | integer | no | Records 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.