mcp-test-qweather
v0.2.1MCP server for QWeather real-time weather and forecast, authenticated via API key
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
lookup_city
按城市名称查询城市信息与 LocationID(需要鉴权)。 Args: city: 城市名称(支持中英文)、LocationID 或 "经度,纬度"。 number: 返回结果数量,1-20,默认 5。
| Parameter | Type | Description |
|---|---|---|
city * | string | |
number | integer |
get_weather_now
查询指定位置的实时天气(需要鉴权)。 Args: location: 城市名(如"北京")、LocationID(如 101010100)或 "经度,纬度"。
| Parameter | Type | Description |
|---|---|---|
location * | string |
get_weather_forecast
查询指定位置的多天天气预报(需要鉴权)。 Args: location: 城市名、LocationID 或 "经度,纬度"。 days: 预报天数,仅支持 3 / 7 / 10 / 15,默认 3。
| Parameter | Type | Description |
|---|---|---|
location * | string | |
days | integer |
auth_status
查看当前鉴权配置状态(凭证脱敏),用于排查鉴权链路。