MCP Weather Server

A comprehensive Model Context Protocol (MCP) server that provides extensive weather data, forecasts, air quality, UV index, and much more! Get detailed weather information directly in your VS Code…

Local serverstdio

What is the MCP Weather Server MCP Server?

MCP Weather Server is an MCP project maintained in the mohaimenhasan/mcp-weather-server repository. The maintainer describes its purpose as “A comprehensive Model Context Protocol (MCP) server that provides extensive weather data, forecasts, air quality, UV index, and much more! Get detailed weather information directly…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using node. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares OPENWEATHER_API_KEY. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
citystring): Name of the city to get map information for
daysnumber, optional): Number of days to show (1-5, default: 5)
Colorcoded quality indicators
Timebased safety advice
citiesarray of strings): Array of city names to compare (2-5 cities)
Side-byside weather comparison

How to install the MCP Weather Server MCP Server

{
  "mcpServers": {
    "weather": {
      "command": "node",
      "args": [
        "/absolute/path/to/mcp-weather-server/dist/index.js"
      ],
      "env": {
        "OPENWEATHER_API_KEY": "YOUR_OPENWEATHER_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
OPENWEATHER_API_KEYDeclared in the maintainer’s client configuration.Yes