An open API service indexing awesome lists of open source software.

https://github.com/frostming/openweather-mcp


https://github.com/frostming/openweather-mcp

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# 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": ""
},
}
}
}
```

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
```