openweather-mcp
April 28, 2025 ยท View on GitHub
A Model Context Protocal server for OpenWeather.org API.
Usage with Claude Desktop
Add the following to claude_desktop_config.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 for installation guides.
Available Tools
get_current_weatherGet current weather for a given city.get_weather_forecastGet weather forecast for a given city for the next 5 days.
Development
pdm install
pdm dev