Skip to content
Docs navigation

Weather MCP

A hosted MCP server that gives your agent forecasts, alerts, radar, and model data through 6 tools. Connect Claude Code, Claude Desktop, Cursor, VS Code, or any MCP client over remote HTTP.

Smarter Weather covers the 50 US states and DC only. Coverage details

Tools

Every connection to https://mcp.smarterweather.com serves the same 6 tools. Ask search_data a question in plain words: it returns the get_data call that answers it.

Remote HTTP

Cursor syntax; the key comes from the client's environment (see Setup).

{
  "mcpServers": {
    "smarterweather": {
      "url": "https://mcp.smarterweather.com",
      "headers": {
        "Authorization": "Bearer ${env:SMARTERWEATHER_API_KEY}"
      }
    }
  }
}

Claude API (MCP connector)

Beta header mcp-client-2025-11-20.

import os

import anthropic

client = anthropic.Anthropic()

response = client.beta.messages.create(
    model="claude-opus-5-5",
    max_tokens=16000,
    betas=["mcp-client-2025-11-20"],
    mcp_servers=[
        {
            "type": "url",
            "url": "https://mcp.smarterweather.com",
            "name": "smarterweather",
            "authorization_token": os.environ["SMARTERWEATHER_API_KEY"],
        }
    ],
    tools=[{"type": "mcp_toolset", "mcp_server_name": "smarterweather"}],
    messages=[{"role": "user", "content": "How much rain fell in Chicago in the last 24 hours?"}],
)

Example prompts

The server's prompts show how its tools compose. Hosts with a prompt picker (Claude Desktop, MCP Inspector) list each one.

Severe weather briefing

severe_weather_briefing

Full situational-awareness briefing for a location: SPC outlook + narrative, active alerts, hazardous weather outlook, and severe-weather probabilities, synthesized into a meteorologist-style briefing.

Arguments

  • location (required): City/state, ZIP, or "lat,lon" for the briefing location

Tool chain

Compare locations for an event

compare_locations_for_event

Side-by-side weather comparison across candidate locations for a planned outdoor event, with a recommendation.

Arguments

  • locations (required): Candidate locations (2-5), semicolon-separated, e.g. "Austin, TX; Denver, CO"
  • event (required): What is being planned, e.g. "Saturday afternoon wedding"

Tool chain

Travel weather outlook

travel_weather_outlook

Weather outlook for a trip: conditions at origin, destination, and travel-day impacts (precipitation, wind, aviation conditions when flying).

Arguments

  • origin (required): Departure location
  • destination (required): Arrival location
  • travelDate (required): Travel date (YYYY-MM-DD or natural language)

Tool chain

Should I…?

should_i

Whether the weather suits an activity at a place and time: yes, no or wait, the deciding factor and the best window.

Arguments

  • activity (required): What you want to do, e.g. "go for a run" or "mow the lawn"
  • location (required): City/state, ZIP, or "lat,lon" where you will be
  • when: When, e.g. "tonight" or "Saturday morning"; today when left out

Radar now

radar_now

The radar map at a place now: what is falling, and where.

Arguments

  • location (required): City/state, ZIP, or "lat,lon" to center the map on

Tool chain

Week ahead

week_ahead

A place's week in a few lines: the best and worst days and any alert.

Arguments

  • location (required): City/state, ZIP, or "lat,lon" for the forecast

Tool chain

Single-call examples

Input examples the tools publish with their schemas. Each tool's full parameters are in the tool reference.

get_data
{
  "area": {
    "feature_ids": [
      "30111",
      "30031",
      "30063"
    ],
    "product": "us_counties"
  },
  "select": [
    "census_places:population"
  ],
  "stats": [
    "sum"
  ]
}
{
  "bbox": [
    -106.85,
    34.95,
    -106.45,
    35.25
  ],
  "hours": 24,
  "select": [
    "nbm_conus:gust10m"
  ],
  "stats": [
    "max"
  ],
  "units": "imperial"
}
{
  "hours": 168,
  "location": "Tucson, AZ",
  "select": [
    "temperature_2m"
  ],
  "stats": [
    "count_above:105"
  ],
  "units": "imperial"
}
{
  "hours": 168,
  "location": "Fargo, ND",
  "select": [
    "temperature_2m"
  ],
  "stats": [
    "min",
    "mean",
    "count_below:32"
  ],
  "step": "P1D",
  "units": "imperial"
}
{
  "hours": 72,
  "location": "Columbus, OH",
  "select": [
    "nbm_conus:wspd10m"
  ],
  "stats": [
    "percentile:90"
  ],
  "units": "imperial"
}
{
  "path": {
    "geometry": {
      "coordinates": [
        [
          -111.04,
          45.68
        ],
        [
          -110.8,
          45.66
        ],
        [
          -110.56,
          45.66
        ]
      ],
      "type": "LineString"
    },
    "speed": 55
  },
  "select": [
    "snowfall",
    "temperature_2m",
    "visibility"
  ],
  "units": "imperial"
}
render
{
  "kind": "map",
  "location": "Tulsa, OK",
  "select": [
    "nexrad_l3:TLX:N0S"
  ],
  "zoom": 8
}
{
  "kind": "map",
  "location": "Chicago, IL",
  "select": [
    "precipitation_hybrid"
  ],
  "at": "2026-07-08T21:00:00Z"
}
{
  "kind": "sounding",
  "location": "Norman, OK"
}
search_data
{
  "query": "relative humidity this afternoon",
  "lat": 35.96,
  "lon": -83.92,
  "limit": 3
}

Tips for better results

  • Be specific about location. Include city and state to avoid ambiguity, for example “Portland, OR” or “Portland, ME”.
  • Specify time windows. “This weekend”, “next 6 hours”, or “Tuesday through Thursday” helps your agent choose the right parameters.