# How to connect National Weather Service API (api.weather.gov) to ChatGPT

> Connect National Weather Service API (api.weather.gov) to ChatGPT with the Firecrawl plugin.

To connect National Weather Service API (api.weather.gov) to ChatGPT, add the Firecrawl plugin to ChatGPT, sign in on a Firecrawl team with Alexandria enabled, and ask for National Weather Service API (api.weather.gov) data in plain language. The connection works in ChatGPT and Codex, and you set it up once.

ChatGPT uses National Weather Service API (api.weather.gov) as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for National Weather Service API (api.weather.gov).

ChatGPT is OpenAI's AI assistant. Plugins add tools from other services, and the Firecrawl plugin adds web search, scraping and every data provider in Firecrawl Alexandria.

## How do I connect National Weather Service API (api.weather.gov) to ChatGPT?

### 1. Install the Firecrawl plugin

Open the [Firecrawl listing in ChatGPT's plugin directory](https://chatgpt.com/plugins/plugin_asdk_app_6a314a73f8ac819195b0d55e36b9c609?q=firecrawl) and select Install plugin. You can also open Plugins in ChatGPT or Codex and search for Firecrawl.

[Add to ChatGPT](https://chatgpt.com/plugins/plugin_asdk_app_6a314a73f8ac819195b0d55e36b9c609?q=firecrawl)

![The Firecrawl plugin page in ChatGPT with the Install plugin button](https://www.firecrawl.dev/images/alexandria/connect/chatgpt/install.webp)

### 2. Connect your Firecrawl account

ChatGPT opens Firecrawl in your browser. Sign in, choose a team with Alexandria enabled, and approve access. No account yet? You can create one for free in the same flow.

![Firecrawl's consent screen asking to connect chatgpt.com to Firecrawl](https://www.firecrawl.dev/images/alexandria/connect/chatgpt/authorize.webp)

### 3. Attach Firecrawl to a chat

Start a new chat so it loads the plugin, open the + menu and choose Firecrawl. You can also ask ChatGPT to use Firecrawl by name.

![ChatGPT's + menu with the Firecrawl plugin listed](https://www.firecrawl.dev/images/alexandria/connect/chatgpt/attach.webp)

### 4. Ask ChatGPT for the data

Ask in plain language and mention National Weather Service API (api.weather.gov) or Firecrawl Alexandria. ChatGPT finds the National Weather Service API (api.weather.gov) capability that fits and runs it. For example:

```text
Use Firecrawl to get the next five days of NWS forecasts for the GeoJSON Point [-86.93, 35.853], with temperatures in Celsius, precipitation in millimeters and wind in km/h.
```

## What can ChatGPT do with National Weather Service API (api.weather.gov)?

NWS watches, warnings and advisories (active and last ~7 days), daily/hourly forecasts and current conditions / recent observations from the nearest observation stations for a GeoJSON geometry in the United States: the land contract shared with the other land programs (geometry in; spatial_precision, sources, missing and a location echo out). Station-keyed functions (observations_latest, observations, stations) also accept an NWS station id.

ChatGPT can run any of National Weather Service API (api.weather.gov)'s 8 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- **Alert**: One NWS alert by CAP id from /alerts/{id}: full description and instruction, geocodes, affected zones and the storm polygon when the alert has one. Costs 5 Firecrawl credits per call.
- **Alerts active**: Active NWS watches, warnings and advisories (status actual) for a GeoJSON geometry. Samples the centroid and ring vertices, resolves their county, forecast and fire zones with /zones?point=, reads /alerts/active?zone=... and keeps zone-based alerts (match zone, precision county) plus storm-based alerts whose polygon intersects the geometry or lies within buffer_km of it (match polygon, precision polygon). Costs 5 Firecrawl credits per call.
- **Alerts history**: NWS alerts (status actual) whose zones or polygon covered a GeoJSON geometry within a date window, from /alerts?zone=...&start=...&end=.... The API keeps about seven days of alerts; a window older than that is reported in `missing`, not guessed. Pages with `continuation` (the API's opaque cursor). Costs 5 Firecrawl credits per call.
- **Forecast daily**: Per-local-day quantitative forecast for the NWS 2.5 km grid cell containing the geometry's centroid, aggregated from the raw gridpoint series (/gridpoints/{wfo}/{x},{y}): precipitation (mm), max/min temperature (C), min relative humidity, max wind and gust (km/h), max probability of precipitation, plus the day and night text from the 12-hour forecast, which also supplies the local UTC offset. Costs 5 Firecrawl credits per call.
- **Forecast hourly**: Hourly forecast periods for the NWS grid cell containing the geometry's centroid, from /gridpoints/{wfo}/{x},{y}/forecast/hourly: temperature (as the source states it, F), dewpoint (C), relative humidity, probability of precipitation, wind and short forecast text, with local-offset timestamps. Costs 5 Firecrawl credits per call.
- **Observations**: Recent observations of one NWS station, newest first, from /stations/{id}/observations with an optional start/end window (ISO 8601 with offset) and a page size (limit, 1..500). The API keeps roughly seven days; an older window is reported in `missing`, not guessed. Pages with `continuation` (the API's opaque cursor; the window and limit are re-applied on each page because the API's own next link drops them). Station metadata comes from /stations/{id}, which also makes an unknown id a not_found. Costs 5 Firecrawl credits per call.
- **Observations latest**: Current conditions: the latest observation from the nearest NWS station that reports data. With a geometry: /points/{lat},{lon} for the centroid's grid cell, /gridpoints/{wfo}/{x},{y}/stations (nearest first), then /stations/{id}/observations/latest station by station until one answers 200 with data (max_stations bounds the walk; stations that 404 or report every value null are skipped and listed in stations_tried). With a station_id: /stations/{id} and its /observations/latest. When /observations/latest answers with every value null, the newest record with data among the station's last 3 /observations is returned instead, with a latest_fallback warning. Temperature, dewpoint, humidity, wind, pressure, visibility, precipitation, present weather and cloud layers in fixed SI units, each null when the station did not report it, with the API's quality-control flags. Costs 5 Firecrawl credits per call.
- **Stations**: NWS observation stations, one of three ways: for a geometry, the stations the API lists for the centroid's forecast grid cell (/points then /gridpoints/{wfo}/{x},{y}/stations), nearest first with the API's grid-cell distance and bearing plus the great-circle distance from the centroid; for a two-letter state code, /stations?state=XX with cursor pagination; for a list of station ids, /stations?id=A,B (not_found when none exists). Each station carries name, provider network, time zone, elevation, coordinates and its forecast, county and fire-weather zone ids. Costs 5 Firecrawl credits per call.

## What should I ask ChatGPT?

Name National Weather Service API (api.weather.gov) or Firecrawl Alexandria in the prompt so ChatGPT reaches for it.

- [Use Firecrawl to get the next five days of NWS forecasts for the GeoJSON Point [-86.93, 35.853], with temperatures in Celsius, precipitation in millimeters and wind in km/h.](https://chatgpt.com/?q=Use%20Firecrawl%20to%20get%20the%20next%20five%20days%20of%20NWS%20forecasts%20for%20the%20GeoJSON%20Point%20%5B-86.93%2C%2035.853%5D%2C%20with%20temperatures%20in%20Celsius%2C%20precipitation%20in%20millimeters%20and%20wind%20in%20km%2Fh.)
- [Use Firecrawl to show the next 12 hours of NWS temperature, precipitation probability and wind forecasts at GeoJSON Point [-86.93, 35.853].](https://chatgpt.com/?q=Use%20Firecrawl%20to%20show%20the%20next%2012%20hours%20of%20NWS%20temperature%2C%20precipitation%20probability%20and%20wind%20forecasts%20at%20GeoJSON%20Point%20%5B-86.93%2C%2035.853%5D.)
- [Use Firecrawl to list active NWS warnings and advisories covering GeoJSON Point [-97.12, 32.58], with severity, expiry and instructions.](https://chatgpt.com/?q=Use%20Firecrawl%20to%20list%20active%20NWS%20warnings%20and%20advisories%20covering%20GeoJSON%20Point%20%5B-97.12%2C%2032.58%5D%2C%20with%20severity%2C%20expiry%20and%20instructions.)
- [Use Firecrawl to show NWS alerts covering GeoJSON Point [-97.12, 32.58] during the last three days, limited to 20 alerts, and report any missing history.](https://chatgpt.com/?q=Use%20Firecrawl%20to%20show%20NWS%20alerts%20covering%20GeoJSON%20Point%20%5B-97.12%2C%2032.58%5D%20during%20the%20last%20three%20days%2C%20limited%20to%2020%20alerts%2C%20and%20report%20any%20missing%20history.)

### For agents

Start with the `api-weather-gov` provider. Use Firecrawl Alexandria first. With MCP, use firecrawl_search with sources: ["alexandria"] to discover relevant tools, firecrawl_find_tools to inspect the selected capability contracts, then firecrawl_scrape in alexandria mode to retrieve records. With the CLI, use firecrawl search alexandria, firecrawl list, then firecrawl scrape for the selected provider/capability. Follow the live tool schema and returned contract; never invent provider IDs or inputs. Ask for missing required details before execution, respect access and pricing, and inspect each result for errors. Cite retrieved records, distinguish missing data from failures, and explain gaps. If no suitable Alexandria capability exists, say so before using web sources. Do not treat a tool listing as retrieved data.

## Troubleshooting

### Why doesn't ChatGPT use National Weather Service API (api.weather.gov)?

Start a new chat after installing so ChatGPT loads the plugin, then attach Firecrawl from the + menu and name National Weather Service API (api.weather.gov) or Firecrawl Alexandria in the prompt.

### How do I switch the Firecrawl team ChatGPT uses?

Open the Firecrawl plugin page in ChatGPT, uninstall it from the menu next to Settings, then install it again and choose the other team on Firecrawl's consent screen.

### Why does ChatGPT say National Weather Service API (api.weather.gov) isn't available?

Alexandria needs a Firecrawl team with Alexandria enabled. Reinstall the plugin and pick that team when you approve access.

## Use National Weather Service API (api.weather.gov) in other AI apps

- [National Weather Service API (api.weather.gov) in Claude](https://alexandria.firecrawl.dev/providers/api-weather-gov/connect/claude)
- [National Weather Service API (api.weather.gov) in Cursor](https://alexandria.firecrawl.dev/providers/api-weather-gov/connect/cursor)
- [National Weather Service API (api.weather.gov) in Grok Bot](https://alexandria.firecrawl.dev/providers/api-weather-gov/connect/grok-bot)
- [National Weather Service API (api.weather.gov) in Muse](https://alexandria.firecrawl.dev/providers/api-weather-gov/connect/muse)

### Other data providers you can connect to ChatGPT

- [How to connect Connecticut Solar and Battery Installs (data.ct.gov) to ChatGPT](https://alexandria.firecrawl.dev/providers/data-ct-gov/connect/chatgpt)
- [How to connect ArcGIS public GIS layers to ChatGPT](https://alexandria.firecrawl.dev/providers/arcgis-com/connect/chatgpt)
- [How to connect Auction.com to ChatGPT](https://alexandria.firecrawl.dev/providers/auction-com/connect/chatgpt)
- [How to connect OpenAddresses per-source runs to ChatGPT](https://alexandria.firecrawl.dev/providers/batch-openaddresses-io/connect/chatgpt)

Full setup guide: [Firecrawl in ChatGPT](https://www.firecrawl.dev/integrations/chatgpt)

## Frequently asked questions

### What is Firecrawl?

Firecrawl is the web data API to search, scrape and interact with the web at scale. It turns websites into clean, LLM-ready data for AI agents and apps. The Firecrawl plugin brings those tools into ChatGPT, along with every data provider in Firecrawl Alexandria.

### What is Firecrawl Alexandria?

Firecrawl Alexandria is Firecrawl's library of 550+ data providers for AI agents, National Weather Service API (api.weather.gov) among them. Each provider returns structured data through documented capabilities. ChatGPT finds the capability that fits your question and calls it through the Firecrawl plugin, so you don't write any integration code. Alexandria needs a Firecrawl account signed in on a team with Alexandria enabled, or an API key from such a team; keyless connections don't include it.

### Is there a National Weather Service API (api.weather.gov) MCP server for ChatGPT?

ChatGPT reaches National Weather Service API (api.weather.gov) through Firecrawl's hosted MCP server, which serves National Weather Service API (api.weather.gov) and every other Alexandria provider as tools. Add the Firecrawl plugin once and you don't install or host a separate MCP server for National Weather Service API (api.weather.gov).

### What does connecting National Weather Service API (api.weather.gov) to ChatGPT unlock?

ChatGPT can run all 8 of National Weather Service API (api.weather.gov)'s capabilities, including Alert, Alerts active and Alerts history, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to get the next five days of NWS forecasts for the GeoJSON Point [-86.93, 35.853], with temperatures in Celsius, precipitation in millimeters and wind in km/h." In the same conversation, ChatGPT can combine National Weather Service API (api.weather.gov) with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

### Do I need my own National Weather Service API (api.weather.gov) account or API key to use it in ChatGPT?

No. ChatGPT calls National Weather Service API (api.weather.gov) through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate National Weather Service API (api.weather.gov) account or API key.

### How much does it cost to use National Weather Service API (api.weather.gov) in ChatGPT?

Each National Weather Service API (api.weather.gov) call costs 5 Firecrawl credits. The capability list on this page shows each price and its unit. The credits come from the Firecrawl team you connect to ChatGPT, and finding the right capability is free.

### Can ChatGPT use other providers besides National Weather Service API (api.weather.gov)?

Yes. The same Firecrawl plugin reaches every provider in Firecrawl Alexandria, along with Firecrawl's web search and scraping, so you connect once.

### Can I use National Weather Service API (api.weather.gov) in other AI apps?

Yes. Connect Firecrawl to Claude, Cursor, Grok Bot, Muse signed in on a Firecrawl team with Alexandria enabled, or use the Firecrawl MCP server, CLI or API with an API key from that team, and the same National Weather Service API (api.weather.gov) capabilities are available there. Keyless connections don't include Alexandria.
