
QWeather
STDIOQWeather API server providing comprehensive weather information through Model Context Protocol
QWeather API server providing comprehensive weather information through Model Context Protocol
English | 简体中文
MCP server for QWeather API, providing comprehensive weather information query capabilities through Model Context Protocol (MCP).
Recommended: Install automatically for Claude Desktop using Smithery:
npx -y @smithery/cli install @overstarry/qweather-mcp --client claude
First, get your API Key from the QWeather Console.
Start the server:
# stdio server npx -y qweather-mcp
QWEATHER_API_BASE=https://api.qweather.com QWEATHER_API_KEY=<your-api-key>
Add to your configuration file:
{ "mcpServers": { "qweather": { "command": "npx", "args": ["-y", "qweather-mcp"], "env": { "QWEATHER_API_BASE": "<your-api-url>", "QWEATHER_API_KEY": "<your-api-key>" } } } }
Get current weather information for a specified location.
Get weather forecast information for a specified location with customizable forecast days:
Forecast data includes:
Provides minute-by-minute precipitation forecast for the next 2 hours, including:
Provides hourly weather forecasts for 24, 72, or 168 hours, including:
Provides real-time weather warning information, including:
Provides weather life indices information, supporting various index types:
Provides real-time air quality data, including:
Provides hourly air quality forecast for the next 24 hours:
Provides air quality forecast for the next 3 days:
Issues and improvements are welcome! Please check our contribution guidelines.
MIT