MCP Weather Server logo

MCP Weather Server

by walidsi

A simple MCP server that provides hourly weather forecasts using the Open-meteo API. It allows users to integrate weather data into their MCP environments.

View on GitHub

Last updated: N/A

MCP Weather Server

A simple MCP server that provides hourly weather forecasts using the Open-meteo API.

Setup

  1. Download the source code:
git clone https://github.com/walidsi/openmeteo-weather-mcp.git
  1. Install dependencies using uv:
uv venv
uv sync

Running the Server

{
    "mcpServers": {
        "open_meteo_weather": {
            "command": "uv",
            "args": [
                "--directory",
                "path/to/openmeteo-weather-mcp/",
                "run",
                "openmeteo_weather/openmeteo_weather.py"
            ] 
        }
    }
}