Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| QWEATHER_API_KEY | No | Your QWeather API key for authentication | |
| QWEATHER_API_URL | No | The QWeather API base URL | https://devapi.qweather.com/v7 |
| QWEATHER_GEO_API_URL | No | The QWeather Geo API base URL | https://geoapi.qweather.com/v2 |
| WEATHER_DEFAULT_UNITS | No | Default temperature units (metric or imperial) | metric |
| WEATHER_FORECAST_DAYS | No | Default number of days for forecast (max 30) | 3 |
| WEATHER_INCLUDE_DETAILS | No | Whether to include detailed information in responses | true |
| WEATHER_DEFAULT_LANGUAGE | No | Default language code for responses | en |
| WEATHER_DEFAULT_LOCATION | No | Default location code or coordinates |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| getWeather | Get current weather information for a location. Returns weather data including temperature, humidity, and conditions. |
| getWeatherForecast | Get weather forecast for a location. Returns weather forecast for the next few days. |
| getHourlyWeather | Get hourly weather forecast for a location. Returns weather data hour by hour for the next 24 hours. |
| lookupCity | Look up city information by name, ID, or coordinates. Returns city ID that can be used with other weather tools. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |