跳到主要内容

彩云天气服务 MCP 接入

通过 MCP 协议提供对彩云天气的 API 访问能力。

前往云开发平台运行 MCP Server


环境变量

  • 需要将 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


🔌 使用方式


云开发 MCP 控制台