[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [FEMA OpenFEMA dataset status](https://spiral.ai/integrations/codex/fema-openfema-dataset-status)

# How to Use FEMA OpenFEMA dataset status in Codex

Returns dataset publication information, record counts, deprecation status, and available bulk files. Use it to check whether a collection needs updating and assess the size of a planned historical analysis.

|  |  |
| --- | --- |
| Model | FEMA OpenFEMA dataset status |
| 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 OpenFEMA dataset status in Codex

- Use FEMA OpenFEMA dataset status to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from FEMA OpenFEMA dataset status and tell me what changed since last week.
- Check FEMA OpenFEMA dataset status and summarize what you find in three bullet points.
- Pull the newest data from FEMA OpenFEMA dataset status and give me the result as a table.
- Check FEMA OpenFEMA dataset status every morning and tell me only when something changed.

## How to set up FEMA OpenFEMA dataset status in Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex 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 OpenFEMA dataset status**: 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/source_status",
    "input": {
      "dataset": "<dataset>",
      "version": 1
    }
  }'
```

Then paste one of the prompts above: Codex finds FEMA OpenFEMA dataset status on Spiral, shows the price and runs it.

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

## FEMA OpenFEMA dataset status tools and prices

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

## What can you do with FEMA OpenFEMA dataset status in Codex?

Build a county disaster-history report that keeps designated areas separate from distinct declarations. Add collection updates and publication checks so the project's FEMA evidence can be refreshed when its source data changes.

### County mitigation plan evidence

Build a declaration history for Harris County, Texas, inspect the records behind selected events, and add relevant OpenFEMA program data. Maintain the collection through updates and check dataset and National Risk Index publication status before revising the plan's evidence.

### Public disaster-history dashboard

Create a dashboard of declared events and designated areas for Florida. Collect the historical records, inspect selected rows, incorporate focused program queries, and maintain revisions; show publication checks alongside any separately maintained National Risk Index analysis.

### Regional business continuity review

Prepare a review of declared disasters affecting business locations in Texas and Louisiana. Use historical collections, focused searches, record inspection, and program queries to document the events, then check record revisions and publication changes before the next review.

### Maintain a disaster research collection

Maintain a research collection comparing California declaration history with selected OpenFEMA program records. Collect a baseline, inspect individual observations, apply supported updates, and track dataset and National Risk Index publication changes that could require rerunning the analysis.

## Overview

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

## FEMA OpenFEMA dataset status in other agents

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

## More Codex guides

- [FEMA OpenFEMA dataset query](https://spiral.ai/integrations/codex/fema-openfema-dataset-query)
- [FEMA OpenFEMA record details](https://spiral.ai/integrations/codex/fema-openfema-record-details)
- [FEMA National Risk Index release status](https://spiral.ai/integrations/codex/fema-national-risk-index-release-status)
- [FEMA OpenFEMA record updates](https://spiral.ai/integrations/codex/fema-openfema-record-updates)
- [FEMA National Risk Index location details](https://spiral.ai/integrations/codex/fema-national-risk-index-location-details)
- [FEMA OpenFEMA records](https://spiral.ai/integrations/codex/fema-openfema-records)

## Questions about FEMA OpenFEMA dataset status in Codex

**Can Codex use FEMA OpenFEMA dataset status?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run FEMA OpenFEMA dataset status like any built-in tool.

**How much does FEMA OpenFEMA dataset status cost in Codex?**

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

**Do I need an Alexandria account to use FEMA OpenFEMA dataset status in Codex?**

No. Spiral runs FEMA OpenFEMA dataset status 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 OpenFEMA dataset status in Codex?**

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

**Does Codex wait while FEMA OpenFEMA dataset status runs?**

FEMA OpenFEMA dataset status runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

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

The declaration history starts in 1953. County information is unavailable before 1964, and FEMA describes historical Fire Management records as partial.

**Does one declaration record equal one disaster?**

No. Disaster Declarations Summaries is organized at the county level, so one disaster can appear in multiple records. Count distinct disaster numbers to count declarations.

**What geographic detail does the National Risk Index provide?**

The National Risk Index provides a baseline relative risk measurement for counties and Census tracts across 18 natural hazards. It describes community risk rather than an individual property's assessment.

**Does every OpenFEMA dataset follow the same update schedule?**

OpenFEMA publishes update frequency separately for each dataset. Its dataset metadata also identifies versions and deprecation status, so freshness should be checked against the particular dataset being analyzed.

**Can previously published FEMA records change?**

Yes. FEMA's official collection example checks whether a dataset has refreshed and then retrieves new or refreshed records. A declaration-history collection therefore needs to account for revisions as well as additions.

