Weather logo

Weather

Fetches US National Weather Service alerts and five-period forecasts through read-only MCP tools.

Install Weather

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "weather-17": {
      "command": "npx",
      "args": [
        "-y",
        "@thx93/mcp-weather-server"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio weather-17 -- npx -y @thx93/mcp-weather-server

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y @thx93/mcp-weather-server

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Weather MCP server connects AI agents to the National Weather Service API for US alerts and point forecasts. Its read-only tools accept a two-letter state code or latitude and longitude, then return structured weather data. Run it locally over stdio without credentials, or use the hosted streamable HTTP endpoint with x402 payments. Reach for it when an agent needs current US weather data rather than general global forecasting.

Use cases

  • Check active alerts for a US state
  • Retrieve a short forecast for map coordinates
  • Add NWS weather data to an MCP-based agent
  • Monitor service availability with a health check

Key features

  • National Weather Service alerts by state
  • Five-period forecasts by latitude and longitude
  • Read-only structured MCP tool results
  • US-only, keyless local operation
  • Hosted streamable HTTP option with x402 billing
  • Bounded requests with a 10-second timeout

Tools3

What Weather lets your agent do. Expand a tool for its parameters.

Verified live~374 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 68d

What it can do

From the 3 tools this server returned when we ran it.

Handles credentials · 2Makes network requests · 2Read-only tools · 3

Observed 2026-10-22 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev · @thx93/mcp-weather-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads300Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed3Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Weather works

What Weather does

Weather exposes National Weather Service data through MCP tools intended for AI clients. It covers two focused tasks:

  • get-alerts retrieves every active alert for a US state from a two-letter state code. Results include the event, affected area, severity, description, and official instruction.
  • get-forecast retrieves up to five forecast periods for a US coordinate. Each period includes its name, temperature, wind speed, wind direction, and plain-language forecast.
  • health checks whether the service is available and is free to call.

The weather tools are read-only and do not change data. Their output uses object-shaped schemas: alerts are returned under alerts, while forecasts are returned with latitude, longitude, and periods fields.

How it works

The server requests data from api.weather.gov, the National Weather Service API. The API is US-only, keyless, and does not require an account. Locations outside its coverage return a failed tool result instead of an inferred forecast.

Local installations communicate with an MCP host over standard input and output. A hosted copy is available at https://agent-evidence.thx93.dev/weather/mcp over streamable HTTP. The hosted service exposes the same alert and forecast tools, along with free discovery through health and tools/list.

Requests to the weather tools have a 10-second timeout. Upstream failures, timeouts, invalid coverage, and similar problems are represented as MCP tool results with isError: true, allowing a client to display the failure or retry without treating it as a JSON-RPC protocol failure. Missing values from the NWS response are rendered as Unknown rather than the literal string null.

Setup and configuration

Use Node.js 24 or newer and npm for a local installation. From the package, install dependencies, build the project, and launch the compiled entry point:

Terminal
npm install
npm run build
node build/index.js

The process is designed to be started by an MCP host rather than run interactively. A client can launch the published package with:

config.json
{
  "mcpServers": {
    "weather": {
      "command": "npx",
      "args": ["-y", "@thx93/mcp-weather-server"]
    }
  }
}

The repository can also be installed directly from GitHub; its install preparation step builds the server. No API key, account, or environment variable is needed for local use.

The hosted endpoint charges 0.01 USDC per get-alerts or get-forecast call on Base through x402. Calls that return no data are not charged. Service discovery and health checks are free. Running the server locally has no per-call service charge.

Tools and capabilities

get-alerts requires a two-letter US state code such as CA or NY. It returns all active NWS alerts for that state rather than selecting a single alert.

get-forecast requires a latitude and longitude. It limits the response to the next five forecast periods, keeping the result bounded for agent context windows.

Both weather tools advertise read-only and non-destructive annotations. They also declare that they access an external, open-world data source. Structured content and output schemas are provided for clients that consume typed tool results.

Limitations and notes

Coverage is limited to the United States and its territories supported by the National Weather Service. The service reports NWS data and does not add an independent weather judgment. Forecast and alert calls depend on the availability and response time of api.weather.gov.

The hosted endpoint requires x402-compatible payment handling for paid weather calls. The local server uses the free NWS API and does not require payment credentials.

The project is licensed under ISC.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Weather

Weather is an MCP server that connects AI agents to the National Weather Service API through read-only tools. Its main tools, get-alerts and get-forecast, return active US state alerts and up to five forecast periods for latitude and longitude coordinates. A free health tool supports service checks.

Install it with npm and run the compiled Node.js entry point, or launch the published package with npx. Use Node.js 24 or newer, then configure an MCP client with command `npx` and arguments `-y @thx93/mcp-weather-server`.

No, Weather does not require an API key, account, or signup for local use or the hosted endpoint. It retrieves data from the keyless National Weather Service API. Local operation is free; hosted weather calls are billed separately through x402.

The hosted endpoint charges 0.01 USDC per `get-alerts` or `get-forecast` call on Base through x402. Discovery with `tools/list` and the `health` tool is free, and calls that return no data are not charged. Running the server locally has no per-call charge.

Yes, Weather works with Cursor through its standard MCP configuration. Configure Cursor to launch the local server with `npx -y @thx93/mcp-weather-server`, or use the hosted streamable HTTP endpoint. The tools are standard read-only MCP tools.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWeather AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/weather-17?style=directory)](https://allmcps.com/mcp/weather-17)
HTML Embed
<a href="https://allmcps.com/mcp/weather-17"><img src="https://allmcps.com/api/badge/weather-17?style=directory" alt="Weather on AllMCPs" /></a>