Spiral gives your agent every tool with one account. Browse the tools →

opencode · Listings

How to Use ACIS county and watershed lookup in opencode

Returns county, climate division, watershed and National Weather Service office identifiers for a location. Use it to connect a site's weather analysis to regional records and reporting areas.

Prompts to try with ACIS county and watershed lookup in opencode

Copy an example into opencode, or ask in your own words.

Use ACIS county and watershed lookup for Davis, California, at longitude -121.75, latitude 38.54, and add the returned area names and identifiers to the project's site table.

ACIS county and watershed lookupopencode
Try asking
  • Use ACIS county and watershed lookup to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from ACIS county and watershed lookup and tell me what changed since last week.

  • Check ACIS county and watershed lookup and summarize what you find in three bullet points.

  • Pull the newest data from ACIS county and watershed lookup and give me the result as a table.

How to set up ACIS county and watershed lookup in opencode

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

Use Spiral's MCP server

  1. 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
  2. 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
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run ACIS county and watershed lookup

    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/area_lookup",
        "input": {
          "geometry": {}
        }
      }'

Then paste one of the prompts above: opencode finds ACIS county and watershed lookup on Spiral, shows the price and runs it.

ACIS county and watershed lookup providers and prices

Spiral runs ACIS county and watershed lookup through Alexandria. Open a card for today's price, with every fee included.

AlexandriaListings
ACIS (NOAA Regional Climate Centers) · Area lookup
rcc-acis-org/weather-history/area_lookup

What can you do with ACIS county and watershed lookup 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.

Add climate context to public land records

Attach county, climate division and watershed identifiers to public land sites, then add monthly precipitation and temperature history for regional comparisons.

Questions about ACIS county and watershed lookup in opencode

Can opencode use ACIS county and watershed lookup?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run ACIS county and watershed lookup like any built-in tool.

How much does ACIS county and watershed lookup 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 county and watershed lookup in opencode?

No. Spiral runs ACIS county and watershed lookup 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 county and watershed lookup in opencode?

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

Does opencode wait while ACIS county and watershed lookup runs?

ACIS county and watershed lookup 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.

Get started

Start using ACIS county and watershed lookup in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options