https://github.com/frostming/openweather-mcp
https://github.com/frostming/openweather-mcp
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/frostming/openweather-mcp
- Owner: frostming
- License: mit
- Created: 2025-04-28T13:53:26.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-04-28T14:07:06.000Z (7 months ago)
- Last Synced: 2025-05-07T07:58:34.859Z (6 months ago)
- Language: Python
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelogithub.config.json
- License: LICENSE
Awesome Lists containing this project
- awesome-mcp-servers - **openweather-mcp** - Python-based `http` `git` `github` `python` `pip install git+https://github.com/frostming/openweather-mcp` (🤖 AI/ML)
- awesome-mcp-servers - frostming/openweather-mcp
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
```