[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [FEMA dataset catalog](https://spiral.ai/integrations/claude-code/fema-dataset-catalog)

# How to Use FEMA dataset catalog in Claude Code

Returns OpenFEMA dataset descriptions and metadata, including versions, update frequencies, and deprecation status. Use it to identify the appropriate published dataset for a research question.

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

## Prompts to try with FEMA dataset catalog in Claude Code

- Use FEMA dataset catalog to find hazard mitigation datasets and create a project reference table with their descriptions, versions, and deprecation status.
- Use FEMA dataset catalog to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from FEMA dataset catalog and tell me what changed since last week.
- Check FEMA dataset catalog and summarize what you find in three bullet points.
- Pull the newest data from FEMA dataset catalog and give me the result as a table.

## How to set up FEMA dataset catalog in Claude Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code 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 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 catalog**: 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/list_datasets",
    "input": {
      "name_contains": "<name_contains>"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds FEMA dataset catalog on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## FEMA dataset catalog tools and prices

- [FEMA · List datasets](https://spiral.ai/tools/alexandria/fema-gov/us-disaster-assistance/list_datasets) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| name_contains |  | — | Case-insensitive substring of the dataset entity name, e.g. `Disaster`, `Nfip`, `Hazard`. Pattern: ^[A-Za-z0-9 ]+$. |

## What can you do with FEMA dataset catalog in Claude Code?

Build a county briefing in your project using FEMA disaster details, recovery resources, and community risk records. A coding agent can check dataset definitions and turn abbreviated measures into readable report labels.

### 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 Claude Code guides](https://spiral.ai/integrations/claude-code)

## FEMA dataset catalog in other agents

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

## More Claude Code guides

- [FEMA OpenFEMA records](https://spiral.ai/integrations/claude-code/fema-openfema-records)
- [FEMA dataset field definitions](https://spiral.ai/integrations/claude-code/fema-dataset-field-definitions)
- [FEMA OpenFEMA record updates](https://spiral.ai/integrations/claude-code/fema-openfema-record-updates)
- [FEMA disaster declarations](https://spiral.ai/integrations/claude-code/fema-disaster-declarations)
- [FEMA OpenFEMA record details](https://spiral.ai/integrations/claude-code/fema-openfema-record-details)
- [FEMA disaster details](https://spiral.ai/integrations/claude-code/fema-disaster-details)

## Questions about FEMA dataset catalog in Claude Code

**Can Claude Code use FEMA dataset catalog?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run FEMA dataset catalog like any built-in tool.

**How much does FEMA dataset catalog cost in Claude Code?**

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

**Do I need an Alexandria account to use FEMA dataset catalog in Claude Code?**

No. Spiral runs FEMA dataset catalog on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up FEMA dataset catalog in Claude Code?**

About two minutes: add the hosted server, then sign in.

**Does Claude Code wait while FEMA dataset catalog runs?**

FEMA dataset catalog runs in the background. Claude Code 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.

