Weather API MCP Server
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 |
|---|---|
| getWeatherC | Get current weather information for a location. Returns weather data including temperature, humidity, and conditions. |
| getWeatherForecastC | Get weather forecast for a location. Returns weather forecast for the next few days. |
| getHourlyWeatherB | Get hourly weather forecast for a location. Returns weather data hour by hour for the next 24 hours. |
| lookupCityB | 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 | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yoyooyooo/mcp-weather-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server