MCP Server Weather logo

MCP Server Weather

by @h1deya

Retrieve US weather forecasts by coordinates and weather alerts by two-letter state code through MCP tools.

Install MCP Server 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": {
    "h1deya-mcp-server-weather": {
      "command": "npx",
      "args": [
        "-y",
        "@h1deya/mcp-server-weather"
      ]
    }
  }
}

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

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

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

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y @h1deya/mcp-server-weather

initialize succeeded but no response to tools/list.

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

@h1deya/mcp-server-weather exposes US weather information through two MCP tools: one for forecasts and one for state-level alerts. It runs as a Node.js package launched with npx, allowing an MCP client to start it without a local build step. Forecast requests use latitude and longitude, while alert requests use a two-letter US state code. Reach for it when an agent needs location-based US forecasts or checks for active alerts.

Use cases

  • Check a forecast for a US location using latitude and longitude
  • Look up active weather alerts for a US state
  • Answer location-based weather questions in an MCP client
  • Add US weather lookups to a Claude Desktop workflow

Key features

  • US weather forecast lookups
  • State-level weather alert retrieval
  • Coordinate-based forecast tool
  • Two-letter state code alert input
  • npm and npx distribution
  • Node.js MCP implementation

Tools3

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

Self-reported~6 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.

7/7 checks healthy over the last 28d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

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

Adoption & maintenance

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

GitHub stars14Stargazers on the source repository.
npm downloads689Package downloads in the last 30 days.
Last commit1y agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.
Tools exposed3Callable tools this server registers over MCP.

How MCP Server Weather works

What @h1deya/mcp-server-weather does

@h1deya/mcp-server-weather gives MCP-compatible clients access to two types of US weather information. get-forecast accepts a geographic position as numeric latitude and longitude values and returns the weather forecast for that location. get-alerts accepts a two-letter US state abbreviation, such as CA or NY, and retrieves weather alerts for the state.

The package is presented as a Node.js implementation based on the MCP Quickstart example. Its scope is limited to weather forecasts and severe weather alerts in the United States, making it suited to focused weather lookups rather than a general location or meteorological data interface.

How it works

An MCP client starts the package as a local process and communicates with it through the MCP connection configured by the client. Tool calls provide the inputs required by each operation:

  • get-alerts takes state, a string containing a two-letter US state code.
  • get-forecast takes latitude and longitude, both numeric values identifying the location.

An agent can use the tools for questions such as checking tomorrow's conditions in a location after determining its coordinates, or asking whether a state has weather alerts. The server is designed for US locations and state codes.

Setup and configuration

The package is available from npm and can be launched with npx. For Claude Desktop, add a server entry to the client's claude_desktop_config.json file. The entry uses npx with -y and @h1deya/mcp-server-weather, so the package can be fetched and run as part of the client configuration.

A typical configuration has this structure:

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

On macOS and Linux, the configuration file is under ~/Library/Application Support/Claude/; on Windows, it is under the Claude application data directory.

Tools and capabilities

get-alerts

Looks up weather alerts for a US state. Pass a two-letter code such as CA or NY in the state field.

get-forecast

Looks up a weather forecast for a US location. Pass the location's latitude and longitude as numbers.

Limitations and notes

The tools are US-focused: alert lookups require a US state code, and forecast usage is described for locations in the US. The package exposes two weather operations rather than a broad set of weather or geocoding functions. Forecast calls therefore require coordinates; the server does not provide a named-place input in the documented tool interface. The project is distributed under the MIT license.

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 MCP Server Weather

@h1deya/mcp-server-weather is an MCP server that connects an MCP-compatible client to US weather information. Its get-alerts tool retrieves weather alerts for a two-letter US state, while get-forecast returns a forecast for coordinates supplied as latitude and longitude.

Run it through npx using the package name and the -y option. Add a server entry with command npx and arguments -y and @h1deya/mcp-server-weather in your MCP client's configuration, as shown for Claude Desktop.

Add an mcpServers entry that launches npx with -y and @h1deya/mcp-server-weather. Place the configuration in Claude Desktop's config file: under the Claude application support directory on macOS and Linux, or the application data directory on Windows.

The get-forecast tool requires numeric latitude and longitude values. These coordinates identify the US location for which the server retrieves a weather forecast.

Call get-alerts with a two-letter US state code in the state field. Examples include CA for California and NY for New York.

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 PreviewMCP Server Weather AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/h1deya-mcp-server-weather?style=directory)](https://allmcps.com/mcp/h1deya-mcp-server-weather)
HTML Embed
<a href="https://allmcps.com/mcp/h1deya-mcp-server-weather"><img src="https://allmcps.com/api/badge/h1deya-mcp-server-weather?style=directory" alt="MCP Server Weather on AllMCPs" /></a>