彩云天气服务 MCP 接入
通过 MCP 协议提供对彩云天气的 API 访问能力。
环境变量
- 需要将 CAIYUN_WEATHER_API_TOKEN 配置为 彩云天气 API 令牌
🗺️ 功能清单
工具标识 | 功能描述 | 核心参数 |
---|---|---|
get_realtime_weather | 获取指定位置的实时天气数据 | lng (经度), lat (纬度) |
get_hourly_forecast | 获取未来72小时的逐小时天气预报 | lng (经度), lat (纬度) |
get_weekly_forecast | 获取未来7天的每日天气预报 | lng (经度), lat (纬度) |
get_historical_weather | 获取过去24小时的历史天气数据 | lng (经度), lat (纬度) |
get_weather_alerts | 获取指定位置的天气警报 | lng (经度), lat (纬度) |
仓库地址
https://github.com/caiyunapp/mcp-caiyun-weather