An MCP (Model Context Protocol) server that provides 3-day weather forecasts for any location using the WeatherAPI service. Weather data is automatically saved to files in the data directory for future reference.
- Get 3-day weather forecasts for any location (postal code, zip code, or city name)
- Current weather conditions including temperature, humidity, wind speed, and feels-like temperature
- Detailed daily forecasts with:
- Min/max/average temperatures (Celsius and Fahrenheit)
- Weather conditions
- Wind speeds
- Humidity levels
- Chance of rain and snow
- Sunrise and sunset times
- Automatic data persistence to JSON files
- Retrieve previously saved weather data
- Status tracking for all saved locations
- Visit WeatherAPI.com
- Sign up for a free account
- Get your API key from the dashboard
Create or update the .env file with your API key:
WEATHER_API=your_api_key_hereUsing uv (recommended):
uv syncOr using pip:
pip install -e .