mcp-weather-server

meeroslaph/mcp-weather-server

3.1

If you are the rightful owner of mcp-weather-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The MCP Weather Server provides current weather and humidity information for any city using the Model Context Protocol (MCP) and public Open-Meteo APIs.

Tools
1
Resources
0
Prompts
0

MCP Weather Server

Weather information server using the Model Context Protocol (MCP).

Features

  • Provides current weather and humidity for any city using public Open-Meteo APIs
  • Exposes a get-weather tool via MCP for easy integration
  • Robust error handling and user-friendly responses

Requirements

  • Node.js v18 or higher (tested with Node 23.8.0)

Usage

The server exposes a single MCP tool:

get-weather

Description: Get current weather information for a city.

Input:

NameTypeDescription
citystringCity name

Output:

Returns a text summary with temperature and relative humidity, or an error message if the city is not found or data is unavailable.

Example

Request:

{
  "city": "Warsaw"
}

Response:

Weather for Warsaw (lat: 52.23, lon: 21.01):
Temperature: 22°C
Relative Humidity: 60%

Development

License

MIT