[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [FEMA dataset field definitions](https://spiral.ai/integrations/n8n/fema-dataset-field-definitions)

# How to Use FEMA dataset field definitions in n8n

Returns field descriptions, data types, and other metadata for OpenFEMA datasets. Use it to interpret a dataset's columns before building a report or combining records.

|  |  |
| --- | --- |
| Model | FEMA dataset field definitions |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with FEMA dataset field definitions in n8n

- Every Monday at 9am: use FEMA dataset field definitions to look this up and give me the result as a table.
- Pull the latest numbers from FEMA dataset field definitions and tell me what changed since last week.
- Check FEMA dataset field definitions and summarize what you find in three bullet points.
- Pull the newest data from FEMA dataset field definitions and give me the result as a table.
- Check FEMA dataset field definitions every morning and tell me only when something changed.

## How to set up FEMA dataset field definitions in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run FEMA dataset field definitions in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds FEMA dataset field definitions, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run FEMA dataset field definitions**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "fema-gov/us-disaster-assistance/get_dataset_fields",
    "input": {
      "entity": "<entity>",
      "version": 1
    }
  }'
```

Then paste one of the prompts above: n8n finds FEMA dataset field definitions on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## FEMA dataset field definitions tools and prices

- [FEMA · Get dataset fields](https://spiral.ai/tools/alexandria/fema-gov/us-disaster-assistance/get_dataset_fields) (Alexandria): $0.00873 per call.

## What can you do with FEMA dataset field definitions in n8n?

Keep a recurring FEMA community briefing current by checking published records for changes. A scheduled agent can compare disaster summaries, recovery listings, and risk records with its previous results.

### County mitigation plan evidence

Prepare a Harris County, Texas, planning appendix with a disaster briefing and comparisons of community risk measures. Use the dataset catalog and field definitions to document the evidence, then translate NRI columns and hazard codes into readable labels.

### Regional preparedness exercise

Build a Texas exercise packet around a historical disaster, county risk comparisons, and recovery organizations participants could consult. Discover the relevant datasets and directories, check measure definitions, and include both local and national referral resources.

### Public recovery information portal

Create a community portal with declaration details, assistance summaries, regional service contacts, and national recovery resources. Add county risk context and comparison tables, with labels checked against FEMA's field definitions, NRI dictionary, and hazard codes.

### Newsroom disaster recovery explainer

Prepare a reported explainer combining one disaster's assistance totals, affected-community risk comparisons, and organizations offering recovery services. Use catalog metadata and dictionaries to check data selection and chart labels, and directory discovery to assemble regional and national resource sidebars.

### Research dataset maintenance

Review the OpenFEMA catalog for dataset versions and deprecation status. Compare field definitions before updating an existing report's data mapping.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## FEMA dataset field definitions in other agents

- [Amp](https://spiral.ai/integrations/amp/fema-dataset-field-definitions)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/fema-dataset-field-definitions)
- [Claude](https://spiral.ai/integrations/claude-desktop/fema-dataset-field-definitions)
- [Claude Code](https://spiral.ai/integrations/claude-code/fema-dataset-field-definitions)
- [Cline](https://spiral.ai/integrations/cline/fema-dataset-field-definitions)
- [Codex](https://spiral.ai/integrations/codex/fema-dataset-field-definitions)
- [Cursor](https://spiral.ai/integrations/cursor/fema-dataset-field-definitions)
- [Devin](https://spiral.ai/integrations/devin/fema-dataset-field-definitions)
- [dots](https://spiral.ai/integrations/dots/fema-dataset-field-definitions)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/fema-dataset-field-definitions)
- [Gemini](https://spiral.ai/integrations/gemini/fema-dataset-field-definitions)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/fema-dataset-field-definitions)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/fema-dataset-field-definitions)
- [goose](https://spiral.ai/integrations/goose/fema-dataset-field-definitions)
- [Grok](https://spiral.ai/integrations/grok/fema-dataset-field-definitions)
- [Grok Build](https://spiral.ai/integrations/grok-build/fema-dataset-field-definitions)
- [Hermes](https://spiral.ai/integrations/hermes/fema-dataset-field-definitions)
- [Instinct](https://spiral.ai/integrations/instinct/fema-dataset-field-definitions)
- [Manus](https://spiral.ai/integrations/manus/fema-dataset-field-definitions)
- [Muse](https://spiral.ai/integrations/muse/fema-dataset-field-definitions)
- [Muse Code](https://spiral.ai/integrations/muse-code/fema-dataset-field-definitions)
- [Notion](https://spiral.ai/integrations/notion/fema-dataset-field-definitions)
- [OpenClaw](https://spiral.ai/integrations/openclaw/fema-dataset-field-definitions)
- [opencode](https://spiral.ai/integrations/opencode/fema-dataset-field-definitions)
- [Perplexity](https://spiral.ai/integrations/perplexity/fema-dataset-field-definitions)
- [Raycast](https://spiral.ai/integrations/raycast/fema-dataset-field-definitions)
- [VS Code](https://spiral.ai/integrations/vscode/fema-dataset-field-definitions)
- [Windsurf](https://spiral.ai/integrations/windsurf/fema-dataset-field-definitions)
- [Zapier](https://spiral.ai/integrations/zapier/fema-dataset-field-definitions)

## More n8n guides

- [FEMA dataset catalog](https://spiral.ai/integrations/n8n/fema-dataset-catalog)
- [FEMA disaster declarations](https://spiral.ai/integrations/n8n/fema-disaster-declarations)
- [FEMA OpenFEMA records](https://spiral.ai/integrations/n8n/fema-openfema-records)
- [FEMA disaster details](https://spiral.ai/integrations/n8n/fema-disaster-details)
- [FEMA OpenFEMA record updates](https://spiral.ai/integrations/n8n/fema-openfema-record-updates)
- [FEMA national recovery resources](https://spiral.ai/integrations/n8n/fema-national-recovery-resources)

## Questions about FEMA dataset field definitions in n8n

**Can n8n use FEMA dataset field definitions?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run FEMA dataset field definitions like any built-in tool.

**How much does FEMA dataset field definitions cost in n8n?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

**Do I need an Alexandria account to use FEMA dataset field definitions in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs FEMA dataset field definitions on its own Alexandria account.

**How long does it take to set up FEMA dataset field definitions in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while FEMA dataset field definitions runs?**

FEMA dataset field definitions runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**How far back does FEMA's disaster declaration history go?**

FEMA's declaration history starts in 1953. County information is unavailable before 1964, and historical fire management records are partial.

**How can I tell how often a FEMA dataset changes?**

The OpenFEMA catalog publishes update frequency and deprecation status for individual datasets. Check the catalog entry for the dataset you plan to use.

**What information describes the columns in FEMA datasets?**

OpenFEMA publishes field metadata containing descriptions, data types, and other attributes for each field. This helps distinguish similarly named measures before combining records.

**Are all organizations in FEMA's national referral list government agencies?**

No. FEMA's national referral list includes both government and nongovernment disaster recovery services.

**What does a state recovery resource listing contain?**

FEMA organizes referral information by state and resource category. The Texas directory illustrates the listing format: web links, assistance descriptions, and telephone contacts.

