[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [U.S. Drought Monitor current drought](https://spiral.ai/integrations/codex/u-s-drought-monitor-current-drought)

# How to Use U.S. Drought Monitor current drought in Codex

Returns drought categories from the latest U.S. Drought Monitor map over a location. Use it to check current mapped conditions; county history answers how conditions changed over time.

|  |  |
| --- | --- |
| Model | U.S. Drought Monitor current drought |
| Available through | Alexandria |
| Category | Listings |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with U.S. Drought Monitor current drought in Codex

- Use U.S. Drought Monitor current drought for downtown Fresno, California, at longitude -119.7871 and latitude 36.7378. Add the returned category and map date to the project's location summary.
- Use U.S. Drought Monitor current drought to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from U.S. Drought Monitor current drought and tell me what changed since last week.
- Check U.S. Drought Monitor current drought and summarize what you find in three bullet points.
- Pull the newest data from U.S. Drought Monitor current drought and give me the result as a table.

## How to set up U.S. Drought Monitor current drought 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 U.S. Drought Monitor current drought**: 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": "droughtmonitor-unl-edu/drought/drought_current",
    "input": {
      "geometry": {}
    }
  }'
```

Then paste one of the prompts above: Codex finds U.S. Drought Monitor current drought on Spiral, shows the price and runs it.

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

## U.S. Drought Monitor current drought tools and prices

- [U.S. Drought Monitor · Drought current](https://spiral.ai/tools/alexandria/droughtmonitor-unl-edu/drought/drought_current) (Alexandria): $0.00873 per call.

## What can you do with U.S. Drought Monitor current drought in Codex?

Build a dated drought view for public sites, with current categories or historical coverage appropriate to the selected period. A coding agent can connect the returned U.S. Drought Monitor data to the project's maps, tables, and charts.

### Prepare an agricultural drought briefing

Combine current mapped conditions near Fresno with county trends and site history from 2000–2020. Use the map calendar to label each comparison with its published week.

### Add drought context to a public land assessment

Describe today's mapped category at a public site, the surrounding county's drought record, and historical coverage at the site during 2000–2020. Select comparison weeks from the map calendar.

### Build a drought explainer for local readers

Show current conditions near Wichita alongside county trends and a historical site comparison from 2012. Use published map dates to keep the weekly sequence clear.

### Prepare background for a water planning workshop

Place current mapped drought near Albuquerque beside county history and local map coverage from earlier drought periods in 2000–2020. Build a dated evidence packet for discussion with local water managers.

### Monitor a new map's arrival

Check the map calendar on publication day and refresh current drought summaries for public sites only when a new map week appears.

## Overview

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

## U.S. Drought Monitor current drought in other agents

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

## More Codex guides

- [U.S. Drought Monitor county drought history](https://spiral.ai/integrations/codex/u-s-drought-monitor-county-drought-history)
- [U.S. Drought Monitor historical drought maps](https://spiral.ai/integrations/codex/u-s-drought-monitor-historical-drought-maps)
- [StreetEasy rental search](https://spiral.ai/integrations/codex/streeteasy-rental-search)
- [U.S. Drought Monitor map dates](https://spiral.ai/integrations/codex/u-s-drought-monitor-map-dates)
- [StreetEasy rental details](https://spiral.ai/integrations/codex/streeteasy-rental-details)
- [Washington contractor registration details](https://spiral.ai/integrations/codex/washington-contractor-registration-details)

## Questions about U.S. Drought Monitor current drought in Codex

**Can Codex use U.S. Drought Monitor current drought?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run U.S. Drought Monitor current drought like any built-in tool.

**How much does U.S. Drought Monitor current drought 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 U.S. Drought Monitor current drought in Codex?**

No. Spiral runs U.S. Drought Monitor current drought on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up U.S. Drought Monitor current drought in Codex?**

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

**Does Codex wait while U.S. Drought Monitor current drought runs?**

U.S. Drought Monitor current drought runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

**How fresh is a U.S. Drought Monitor map?**

Maps normally publish Thursday at 8:30 a.m. Eastern. They assess conditions through Tuesday morning, so rainfall on Wednesday appears in the following week's assessment.

**How far back can I examine drought?**

County history extends back to 2000. The spatial archive exposed here covers 2000–2020, so its historical boundary differs from the county record.

**Does D0 mean an area is in drought?**

D0 means abnormally dry. The four drought levels begin at D1, moderate drought, and end at D4, exceptional drought.

**Can the map establish conditions in an individual field?**

The source advises against inferring specific local conditions from its broad assessment. A site can be matched to a mapped drought category, but that category does not establish the field's actual soil moisture.

**Why can drought percentages look different for the same week?**

The source publishes both categorical and cumulative statistics. Categorical figures describe each category separately; cumulative figures combine categories, so adding cumulative columns double-counts coverage.

