caiyun-weather

Get weather data via Caiyun (彩云天气) API through MCP. Use when: user asks about weather, temperature, forecasts, air quality, or weather alerts for any location in China. Supports realtime, hourly (72h), daily (7d), historical (24h), and alerts. Triggers: '天气', 'weather', '气温', '空气质量', 'AQI', '降水', '预报'. NOT for: locations outside China (use weather skill instead).

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "caiyun-weather" with this command: npx skills add zkl2333/skills/zkl2333-skills-caiyun-weather

彩云天气 Skill

通过 MCP server (caiyun-weather) 调用彩云天气 v2.6 API,获取高精度天气数据(1km 分辨率,分钟级降水预报)。

前置条件

  • 在你的 mcporter.json 里加入 server 配置(合并到 mcpServers 下即可):

    "caiyun-weather": {
      "command": "uvx",
      "args": ["mcp-caiyun-weather"],
      "env": {
        "CAIYUN_WEATHER_API_TOKEN": "YOUR_CAIYUN_API_TOKEN"
      }
    }
    
  • 需要彩云天气 API token(环境变量 CAIYUN_WEATHER_API_TOKEN

常用坐标

  • 杭州萧山:lng=120.26 lat=30.27

如需其他城市坐标,用 web_search 查询或从用户获取。

可用工具

通过 mcporter call 调用,所有工具参数均为 lng(经度)和 lat(纬度):

实时天气

mcporter call caiyun-weather.get_realtime_weather lng=120.26 lat=30.27

返回:温度、湿度、风速风向、降水强度、空气质量(PM2.5/PM10/O3/AQI)、生活指数(紫外线/舒适度)。

小时级预报(72h)

mcporter call caiyun-weather.get_hourly_forecast lng=120.26 lat=30.27

返回:逐小时温度、天气现象、降水概率、风速风向。

天级预报(7天)

mcporter call caiyun-weather.get_weekly_forecast lng=120.26 lat=30.27

返回:每日温度范围、天气现象、降水概率。

历史天气(24h)

mcporter call caiyun-weather.get_historical_weather lng=120.26 lat=30.27

天气预警

mcporter call caiyun-weather.get_weather_alerts lng=120.26 lat=30.27

返回:预警标题、代码、状态、描述。

天气现象代码(skycon)

代码含义
CLEAR_DAY/NIGHT
PARTLY_CLOUDY_DAY/NIGHT多云
CLOUDY
LIGHT_RAIN小雨
MODERATE_RAIN中雨
HEAVY_RAIN大雨
STORM_RAIN暴雨
LIGHT_SNOW小雪
MODERATE_SNOW中雪
HEAVY_SNOW大雪
STORM_SNOW暴雪
FOG
DUST/SAND/WIND浮尘/沙尘/大风
HAZE

使用建议

  • 心跳天气检查优先用 get_realtime_weather(一次调用,数据全面)
  • 需要判断是否带伞时用 get_hourly_forecast 看未来几小时降水概率
  • 天气预警用 get_weather_alerts,有预警时主动提醒用户
  • 彩云 API 有调用频率限制,避免短时间内重复请求

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

amap-maps

No summary provided by upstream source.

Repository SourceNeeds Review
General

caiyun-weather

No summary provided by upstream source.

Repository SourceNeeds Review
General

OpenClaw Skill Growth

Make OpenClaw Skills observable, diagnosable, and safely improvable over time. Use this when the user wants to maintain many SKILL.md files, inspect repeated...

Registry SourceRecently Updated
00Profile unavailable
General

Find Skills for ClawHub

Search for and discover OpenClaw skills from ClawHub (the official skill registry). Activate when user asks about finding skills, installing skills, or wants...

Registry SourceRecently Updated
2771Profile unavailable