Metadata-Version: 2.4
Name: windy-mcp-server
Version: 0.2.2
Summary: Unofficial MCP server for the Windy Point Forecast API
Project-URL: Homepage, https://github.com/coffeeandcloud/windy-mcp-server
Project-URL: Repository, https://github.com/coffeeandcloud/windy-mcp-server
Author-email: Martin Eichinger <dasteini@googlemail.com>
License: MIT License
        
        Copyright (c) 2026 Martin Eichinger
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: ai,forecast,mcp,weather,windy
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.12
Requires-Dist: fastmcp>=3.3.1
Requires-Dist: httpx>=0.28.1
Requires-Dist: pydantic>=2.13.4
Requires-Dist: python-dotenv>=1.2.2
Description-Content-Type: text/markdown

# windy-mcp-server

> **Unofficial** MCP server for the [Windy Point Forecast API](https://api.windy.com/point-forecast/docs). This project is not affiliated with or endorsed by Windy.com.

An MCP (Model Context Protocol) server that exposes weather, ocean wave, and air quality forecasts to AI assistants via the Windy Point Forecast API.

## Tools

### `get_weather_forecast`
Fetch atmospheric weather data for any coordinates.

- **Parameters:** temperature, dewpoint, relative humidity, pressure, geopotential height, precipitation (total/snow/convective), wind, wind gusts, cloud cover (low/mid/high), cloud base, visibility, CAPE, precipitation type, weather warnings
- **Models:** GFS, ICON, ICON-EU, ICON-D2, AROME (France, Antilles, Réunion), NAM (CONUS/Hawaii/Alaska), HRRR (CONUS/Alaska), HRDPS
- **Pressure levels:** surface through 150 hPa (14 levels)
- **Temperature units:** Celsius or Kelvin

### `get_wave_forecast`
Fetch ocean wave data for any coastal or open-water coordinates.

- **Parameters:** significant wave height, wind waves, wave power, swell 1 & 2
- **Models:** GFS Wave, ICON Wave, ICON-EU Wave, RDWPS (Canada)

### `get_air_quality_forecast`
Fetch air quality and pollen forecasts for any location.

- **Parameters:** AQI, SO₂, dust, CO, O₃, NO₂, PM10, PM2.5, pollen (alder, birch, grass, mugwort, olive, ragweed)
- **Models:** CAMS (global), CAMS-EU (higher-resolution European data)

## Setup

**Prerequisites:** Python 3.12+, [uv](https://docs.astral.sh/uv/), a [Windy API key](https://api.windy.com/keys)

1. Clone the repository and install dependencies:
   ```bash
   git clone https://github.com/yourusername/windy-mcp-server.git
   cd windy-mcp-server
   uv sync
   ```

2. Create a `.env` file with your API key:
   ```bash
   cp .env.example .env
   # Edit .env and set WINDY_API_KEY=your_api_key_here
   ```

3. Add to your MCP client config (e.g. `claude_desktop_config.json`):
   ```json
   {
     "mcpServers": {
       "windy": {
         "command": "uv",
         "args": ["run", "python", "server/server.py"],
         "cwd": "/path/to/windy-mcp-server",
         "env": {
           "WINDY_API_KEY": "your_api_key_here"
         }
       }
     }
   }
   ```

## License

[MIT](LICENSE)
