MCP Weather Server

An MCP server that provides weather tools to fetch alerts and forecasts using Node.js.
  • javascript

0

GitHub Stars

javascript

Language

6 months ago

First Indexed

3 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "xue20010808-mcp_server_learn": {
      "command": "node",
      "args": [
        "/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather/build/index.js"
      ]
    }
  }
}

You run an MCP Weather Server that exposes practical weather tools you can call from any MCP client. It provides up-to-date alerts for US states and location-based forecasts, all served through a lightweight Node.js backend. This makes it easy to integrate weather data into your MCP-enabled workflows and agents.

How to use

You can use the weather MCP server from an MCP client by invoking the available tools. The two tools are get-alerts, which fetches active weather alerts for a given US state, and get-forecast, which returns a weather forecast for a specific location using latitude and longitude. Use the tools to build scenario-aware assistant behavior, alerts when dangerous weather is possible, or location-specific forecasts for planning and decision making.

How to install

Prerequisites you need on your system before starting:

  • Node.js installed on your system

  • Familiarity with MCP concepts and tools

How to install

Install via Smithery (automatic) before you begin development work on your workstation.

npx -y @smithery/cli install @adarshem/mcp-server-learn --client claude

How to install

Manual installation steps you can follow locally to run the weather MCP server.

How to install

git clone <repository-url>
 cd weather
 pnpm install
 pnpm build

How to install

Configure your client settings to point to the running MCP server. You will run the server locally and then reference it from your MCP client as shown in the configuration example.

How to install

{
  "mcpServers": {
    "weather": {
      "command": "node",
      "args": [
        "/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather/build/index.js"
      ]
    }
  }
}

Additional content

Notes on configuration and usage are provided to help you integrate the server into your MCP workflows, troubleshoot common issues, and understand how the two tools can be leveraged in real scenarios.

Available tools

get-alerts

Fetches active weather alerts for a given US state, enabling proactive awareness and decision making for weather-dependent operations.

get-forecast

Provides a weather forecast for a specific location based on latitude and longitude, supporting planning and risk assessment.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
MCP Weather Server MCP Server - xue20010808/mcp_server_learn | VeilStrat