How to Use ACIS daily weather history in opencode
Returns PRISM gridded precipitation, temperature and growing degree days for a location. Use it to reconstruct daily conditions and compare growing seasons where you need a grid estimate.
Prompts to try with ACIS daily weather history in opencode
Copy an example into opencode, or ask in your own words.
Use ACIS daily weather history for Ames, Iowa, at longitude -93.62, latitude 42.03, from April 1 through September 30, 2025. Create a chart in the project showing daily precipitation and accumulated growing degree days using a 50°F base.
Use ACIS daily weather history to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from ACIS daily weather history and tell me what changed since last week.
Check ACIS daily weather history and summarize what you find in three bullet points.
Pull the newest data from ACIS daily weather history and give me the result as a table.
How to set up ACIS daily weather history 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 ACIS daily weather history
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": "rcc-acis-org/weather-history/daily_weather_history", "input": { "geometry": {} } }'
Then paste one of the prompts above: opencode finds ACIS daily weather history on Spiral, shows the price and runs it.
ACIS daily weather history providers and prices
Spiral runs ACIS daily weather history through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Gdd base f | 32 to 86 | 50 | Growing-degree-day base temperature in Fahrenheit (ACIS computes GDD in F); default 50. |
| Include days | on or off | Set false to return only the summary, cells and provenance. |
Every API field of ACIS (NOAA Regional Climate Centers) · Daily weather history is on its tool page: open its card above.
What can you do with ACIS daily weather history in opencode?
Build a site weather report that connects ACIS climate records, station observations and geographic identifiers. A coding agent can join the results to project files and produce comparisons for farms, parks or public works sites.
Research farm season review
Build a season report for a public research farm: identify its county and watershed, summarize daily weather, compare monthly conditions across years, and check nearby station observations against the grid estimates.
Drainage project rainfall brief
Organize a drainage site's weather evidence by watershed and county. Compare daily rainfall with nearby gauges, then use monthly history to show how the project period compares with earlier seasons.
Construction weather delay review
Assemble rainfall and temperature evidence for a public construction site and its reporting county. Locate stations covering the work dates, compare their records with daily estimates, and add monthly context for the season.
Public park grounds report
Prepare a grounds maintenance report with the park's county and watershed, recent rainfall and temperatures, comparable months from previous years, and observations from stations covering the maintenance period.
Growing season comparison
Compare accumulated growing degree days at the same agricultural location across two seasons. Add monthly rainfall and temperature history to explain the weather context behind the difference.
More on ACIS daily weather history and opencode
Overview
ACIS daily weather history in other agents
Questions about ACIS daily weather history in opencode
Can opencode use ACIS daily weather history?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run ACIS daily weather history like any built-in tool.
How much does ACIS daily weather history 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 ACIS daily weather history in opencode?
No. Spiral runs ACIS daily weather history on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up ACIS daily weather history in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while ACIS daily weather history runs?
ACIS daily weather history runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
What geographic area does this weather service cover?
The location-based service covers the contiguous United States. Its PRISM weather values are modeled grid estimates, while station history provides observations for a selected station.
How far back does the weather history go?
PRISM daily history begins January 1, 1981. Monthly precipitation and temperature history extends back to January 1895; individual station records have their own coverage periods.
How quickly does recent PRISM weather become available?
PRISM makes its first daily model run about 24 hours after the observation day ends. Recent results can change as additional station reports and quality checks arrive.
Does a PRISM day end at local midnight?
PRISM uses a 24-hour day ending at 12:00 GMT. Match that reporting window before comparing a daily grid value with an airport or rain gauge record.
Does a station search guarantee a complete weather record?
ACIS can include a station that recorded any requested weather element at any time during the requested window. A matching station therefore does not guarantee uninterrupted precipitation and temperature coverage.
Start using ACIS daily weather history 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


