Metadata-Version: 2.1
Name: openweather-mcp
Version: 0.1.0
Summary: A Model Context Protocal server for OpenWeather.org API.
Keywords: mcp
Author-Email: Frost Ming <me@frostming.com>
License: MIT
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Requires-Dist: mcp>=1
Requires-Dist: httpx>=0.28.1
Requires-Dist: pydantic>=2.11.3
Description-Content-Type: text/markdown

# openweather-mcp

_A Model Context Protocal server for OpenWeather.org API._

## Usage with Claude Desktop

Add the following to `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "openweather-mcp": {
      "command": "uvx",
      "args": [
        "openweather-mcp"
      ],
      "env": {
        "OPENWEATHER_API_KEY": "<your_openweather_api_key>"
      },
    }
  }
}
```

It requires `uv` to be installed on your machine. Check the [official documentation](https://docs.astral.sh/uv/getting-started/installation/) for installation guides.

## Available Tools

- `get_current_weather` Get current weather for a given city.
- `get_weather_forecast` Get weather forecast for a given city for the next 5 days.

## Development

```shell
pdm install
pdm dev
```
