• HOURLY
  • TEXT
  • GEO
  • HUMAN

How to fetch local weather forecasts with your AI

Connect the NWS MCP to your agent to pull weather data for any US coordinate. Once connected, your AI handles the data retrieval for you.

Ask AI about this page

Short answer

How can I get local weather forecasts with my AI?

Your AI uses coordinates to find specific grid points and then pulls hourly or textual forecasts from the National Weather Service. You get precise weather details for any US location. This breakdown shows the data you'll receive.

Weather data outcomes

What your AI delivers

The specific information your agent pulls from the NWS.

HOURLY

Hourly weather trends

The AI pulls temperature and condition changes over time. You get a clear view of how the weather shifts throughout the day.

TEXT

Written summaries

Your agent retrieves official textual descriptions. This provides the human-readable forecast summary directly in your chat.

GEO

Coordinate mapping

The AI converts latitude and longitude into the grid points required by the NWS. This ensures the data matches your exact spot.

HUMAN

User decisions

The AI provides the raw forecast data. You decide if the weather impacts your plans or requires further action.

The workflow

What your AI does when the request arrives.

The AI translates your natural language into specific NWS data requests.

  1. Locate the grid

    The AI takes your location or coordinates and finds the corresponding NWS grid point. This is the first step for any query.

    get_point
  2. Pull the summary

    The agent grabs the standard textual forecast once the location is set. This gives you the high-level weather outlook.

    get_forecast
  3. Get hourly data

    For more detail, the AI requests the specific hourly breakdown. This includes temperature and condition shifts.

    get_hourly_forecast
  4. Format the response

    The agent cleans up the data and presents it in a readable format. You receive a clean summary instead of raw code.

    get_forecast

Try it

Copy these to start.

Use these prompts to trigger the NWS tools immediately.

Starting points

Replace the bracketed locations with your actual target areas.

NWS (National Weather Service) Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_ne6tHz4lmGpXaoc5GixPi8m4DNlh98lOLedZ7150/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — NWS (National Weather Service) capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "nws-national-weather-service-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_ne6tHz4lmGpXaoc5GixPi8m4DNlh98lOLedZ7150/mcp"
    }
  }
}
Copy into chat04
  • What is the hourly forecast for [Latitude, Longitude]?

  • Give me the weather forecast for [City, State].

  • Check the weather forecast for these coordinates: [Latitude, Longitude].

  • What's the weather looking like in [City, State] for the next few hours?

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect NWS once, then ask.

One click connects this MCP to your client. Your credentials stay encrypted, and you can start asking for weather data right away.

Connect NWS to your AI

FAQ

How this task behaves

  • 01

    Can the AI provide weather for locations outside the US?

    No. This MCP only accesses the National Weather Service, which covers US locations.

  • 02

    Can the AI change the weather or set alerts?

    No. The AI can only read and report existing data from the NWS. It cannot trigger alerts or modify any external settings.

  • 03

    Does the AI need me to provide coordinates every time?

    Not necessarily. If you provide a city and state, the AI will attempt to find the coordinates for you first.

  • 04

    Can the AI create a weather report in a PDF?

    No. The AI only retrieves the data. You would need to use a different tool to generate a file.

  • 05

    How accurate is the data?

    The AI provides exactly what the National Weather Service reports. It does not interpret or predict beyond the official NWS data.

  • More questions about NWS? See everything the NWS Connector can do

Connect NWS (National Weather Service) to Claude, Cursor, ChatGPT & more