[Integrations](https://spiral.ai/integrations) › [Devin](https://spiral.ai/integrations/devin) › [NWS weather stations](https://spiral.ai/integrations/devin/nws-weather-stations)

# How to Use NWS weather stations in Devin

Returns weather station information for finding nearby reporting sites or resolving station identifiers. Use it to choose the station behind a current-conditions check or recent observation review.

|  |  |
| --- | --- |
| Model | NWS weather stations |
| 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 NWS weather stations in Devin

- Use NWS weather stations around the Washington Monument at 38.8894, -77.0352 and add a station selector using the returned identifiers.
- Use NWS weather stations to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from NWS weather stations and tell me what changed since last week.
- Check NWS weather stations and summarize what you find in three bullet points.
- Pull the newest data from NWS weather stations and give me the result as a table.

## How to set up NWS weather stations in Devin

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

### Use Spiral's MCP server

1. **Add a custom MCP**: Open Customize › MCPs. Click + and choose New MCP. Fill in:

2. **Sign in to Spiral and approve**: In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.

3. **Check it**: On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.

### Use the Spiral skill

1. **Send Devin 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 NWS weather stations**: 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": "api-weather-gov/weather/stations",
    "input": {
      "ids": [
        "<ids>"
      ]
    }
  }'
```

Then paste one of the prompts above: Devin finds NWS weather stations on Spiral, shows the price and runs it.

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

## NWS weather stations tools and prices

- [National Weather Service API (api.weather.gov) · Stations](https://spiral.ai/tools/alexandria/api-weather-gov/weather/stations) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| ids |  | — | Station identifiers to look up. |
| limit | 1 to 500 | 100 | Stations per page (state mode) or at most this many nearest stations (geometry mode). |
| state |  | — | Two-letter US state or territory code (TN, AK, PR) or NWS marine area code; upper-cased before the request. Pattern: ^[A-Za-z]{2}$. |
| geometry |  | — | GeoJSON (RFC 7946, WGS84, [lon, lat]) Point, Polygon or MultiPolygon, or a Feature wrapping one. Rings must be closed; altitude is ignored. A FeatureCollection is refused (send one place per call), as is a geometry crossing the antimeridian. Invalid input is `invalid_input` with a JSON pointer and a stable code (ring_not_closed, latitude, longitude, too_large, too_many_vertices, outside_coverage). |
| continuation |  | — | State mode: opaque cursor from the previous page's meta.page.next_cursor. |

## What can you do with NWS weather stations in Devin?

Build a facility weather view that puts NWS forecasts, station reports, and official alerts beside operational decisions. A coding agent can add the returned data to your project while keeping forecast grid cells, reporting stations, and alert areas distinct.

### Stadium operations briefing

Build a weather briefing for Nissan Stadium in Nashville: identify reporting stations, compare recent and latest readings, review daily and hourly forecasts, and summarize current and recent alerts with their full official messages.

### Construction shift planning

Prepare a site briefing that pairs the coming days and working hours with current station conditions. Identify the reporting station, review the past week's readings and alerts, and include official alert text when explaining possible work interruptions.

### Public park maintenance schedule

Help a park supervisor compare maintenance days and hourly work windows. Include nearby station information, recent and latest observations, and current and recent hazard messages so the schedule has both an outlook and recent weather context.

### Commercial nursery weather board

Create a nursery's daily weather board with a station directory, recent and latest readings, daily outlooks, and hourly conditions. Add current alerts and the past week's alert timeline, opening the official message for hazards relevant to outdoor operations.

### Recent storm disruption review

Reconstruct the last few days around a facility disruption using station readings and the NWS alert timeline. Read the full warning messages to distinguish a warning being issued from weather actually measured at a station.

## Overview

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

## NWS weather stations in other agents

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

## More Devin guides

- [NWS weather station observations](https://spiral.ai/integrations/devin/nws-weather-station-observations)
- [NYC ACRIS document details](https://spiral.ai/integrations/devin/nyc-acris-document-details)
- [NWS weather alert details](https://spiral.ai/integrations/devin/nws-weather-alert-details)
- [NYC ACRIS property documents](https://spiral.ai/integrations/devin/nyc-acris-property-documents)
- [NWS recent weather alerts](https://spiral.ai/integrations/devin/nws-recent-weather-alerts)
- [NYC DOB building permits](https://spiral.ai/integrations/devin/nyc-dob-building-permits)

## Questions about NWS weather stations in Devin

**Can Devin use NWS weather stations?**

Yes. Add Spiral to Devin as an MCP server, and Devin can find and run NWS weather stations like any built-in tool.

**How much does NWS weather stations cost in Devin?**

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

**Do I need an Alexandria account to use NWS weather stations in Devin?**

No. Spiral runs NWS weather stations on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up NWS weather stations in Devin?**

About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.

**Does Devin wait while NWS weather stations runs?**

NWS weather stations runs in the background. Devin starts the run, checks on it and gives you the json when it's ready.

**How far ahead and back does NWS weather data go?**

NWS forecast products cover the next seven days. Its API retains seven days of station observations and seven days of recent alerts, so it is intended for current operations and recent-event reviews.

**Does the latest observation mean conditions this minute?**

NWS says observations may arrive up to 20 minutes late because its upstream MADIS source performs quality checks. The latest available station report can therefore describe earlier conditions.

**How local is NWS weather data?**

Forecasts use grid squares about 2.5 kilometers across, while observations describe individual reporting stations. Alerts can cover warning polygons, counties, or forecast zones, so these products have different geographic footprints.

**Does NWS include every emergency alert?**

NWS CAP does not include all non-weather emergency alerts. NWS directs users seeking comprehensive weather and non-weather emergency messages to FEMA IPAWS.

**Can NWS information be copied into a report or application?**

NWS describes its published information as public information that may be distributed or copied, and requests appropriate credits. Its CAP messages have a specific restriction: they must not be used to activate Emergency Alert System equipment.

