How to Use U.S. Drought Monitor historical drought maps in opencode
Returns historical drought coverage over a location from the 2000–2020 spatial archive. Use it to examine mapped drought at a specific site during that period, alongside county-wide statistics.
Prompts to try with U.S. Drought Monitor historical drought maps in opencode
Copy an example into opencode, or ask in your own words.
Use U.S. Drought Monitor historical drought maps for the Nebraska State Capitol in Lincoln during 2012. Add a dated table of the returned mapped categories to the project's drought report.
Use U.S. Drought Monitor historical drought maps 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 historical drought maps and tell me what changed since last week.
Check U.S. Drought Monitor historical drought maps and summarize what you find in three bullet points.
Pull the newest data from U.S. Drought Monitor historical drought maps and give me the result as a table.
How to set up U.S. Drought Monitor historical drought maps in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run U.S. Drought Monitor historical drought maps
One request; the result comes back by polling or a webhook.
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_history_spatial", "input": { "end": "<end>", "start": "<start>", "geometry": {} } }'
Then paste one of the prompts above: opencode finds U.S. Drought Monitor historical drought maps on Spiral, shows the price and runs it.
U.S. Drought Monitor historical drought maps providers and prices
Spiral runs U.S. Drought Monitor historical drought maps through Alexandria. Open a card for today's price, with every fee included.
What can you do with U.S. Drought Monitor historical drought maps in opencode?
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.
Compare site coverage with county coverage
For a public site near Lincoln, compare its 2012 mapped drought categories with the county's weekly percentages. Show when the site category and county-wide distribution tell different parts of the story.
More on U.S. Drought Monitor historical drought maps and opencode
Overview
U.S. Drought Monitor historical drought maps in other agents
Questions about U.S. Drought Monitor historical drought maps in opencode
Can opencode use U.S. Drought Monitor historical drought maps?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run U.S. Drought Monitor historical drought maps like any built-in tool.
How much does U.S. Drought Monitor historical drought maps cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use U.S. Drought Monitor historical drought maps in opencode?
No. Spiral runs U.S. Drought Monitor historical drought maps 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 historical drought maps in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while U.S. Drought Monitor historical drought maps runs?
U.S. Drought Monitor historical drought maps runs in the background. opencode 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.
Start using U.S. Drought Monitor historical drought maps in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


