freshcrate
Home > MCP Servers > mcp-caiyun-weather

mcp-caiyun-weather

A Model Context Protocol (MCP) server for Caiyun (ColorfulClouds) Weather.

Description

A Model Context Protocol (MCP) server for Caiyun (ColorfulClouds) Weather.

README

Caiyun Weather MCP Server

Setup Instructions

Before anything, ensure you have access to the API. You can apply for it at https://docs.caiyunapp.com/weather-api/.

Install uv first.

MacOS/Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

Windows:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Setup with Claude Desktop

# claude_desktop_config.json
# Can find location through:
# Hamburger Menu -> File -> Settings -> Developer -> Edit Config
{
  "mcpServers": {
    "caiyun-weather": {
      "command": "uvx",
      "args": ["mcp-caiyun-weather"],
      "env": {
        "CAIYUN_WEATHER_API_TOKEN": "YOUR_API_KEY_HERE"
      }
    }
  }
}

Ask Claude a question requiring weather

e.g. "What's the weather in Beijing Now?"

Local/Dev Setup Instructions

Setup with Claude Desktop

# claude_desktop_config.json
# Can find location through:
# Hamburger Menu -> File -> Settings -> Developer -> Edit Config
{
  "mcpServers": {
    "caiyun-weather": {
      "command": "uv",
      "args": [
        "--directory",
        "/ABSOLUTE/PATH/TO/PARENT/FOLDER/mcp-caiyun-weather",
        "run",
        "mcp-caiyun-weather"
      ],
      "env": {
        "CAIYUN_WEATHER_API_TOKEN": "YOUR_API_TOKEN_HERE"
      }
    }
  }
}

Debugging

Run:

npx @modelcontextprotocol/inspector \
      uv \
      --directory /ABSOLUTE/PATH/TO/PARENT/FOLDER/mcp-caiyun-weather \
      run \
      mcp-caiyun-weather

Available Tools

  • get_realtime_weather: Get real-time weather data for a specific location

    • Parameters:
      • lng: The longitude of the location
      • lat: The latitude of the location
    • Returns detailed information including:
      • Temperature
      • Humidity
      • Wind speed and direction
      • Precipitation intensity
      • Air quality metrics (PM2.5, PM10, O3, SO2, NO2, CO)
      • AQI (China and USA standards)
      • Life indices (UV and Comfort)
  • get_hourly_forecast: Get hourly weather forecast for the next 72 hours

    • Parameters:
      • lng: The longitude of the location
      • lat: The latitude of the location
    • Returns hourly forecast including:
      • Temperature
      • Weather conditions
      • Rain probability
      • Wind speed and direction
  • get_weekly_forecast: Get daily weather forecast for the next 7 days

    • Parameters:
      • lng: The longitude of the location
      • lat: The latitude of the location
    • Returns daily forecast including:
      • Temperature range (min/max)
      • Weather conditions
      • Rain probability
  • get_historical_weather: Get historical weather data for the past 24 hours

    • Parameters:
      • lng: The longitude of the location
      • lat: The latitude of the location
    • Returns historical data including:
      • Temperature
      • Weather conditions
  • get_weather_alerts: Get weather alerts for a specific location

    • Parameters:
      • lng: The longitude of the location
      • lat: The latitude of the location
    • Returns weather alerts including:
      • Alert title
      • Alert code
      • Alert status
      • Alert description

Note: All tools require a valid Caiyun Weather API token to be set in the environment variable CAIYUN_WEATHER_API_TOKEN.

Release History

VersionChangesUrgencyDate
v0.1.3**Full Changelog**: https://github.com/caiyunapp/mcp-caiyun-weather/compare/v0.1.2...v0.1.3High4/10/2026
v0.1.2## What's Changed * Use metric:v2 units in API requests by @tssujt in https://github.com/caiyunapp/mcp-caiyun-weather/pull/13 **Full Changelog**: https://github.com/caiyunapp/mcp-caiyun-weather/compare/v0.1.1...v0.1.2Low2/27/2026
v0.1.1## What's Changed * fix: Correct datetime handling and wind data extraction in weather forecasts by @tssujt in https://github.com/caiyunapp/mcp-caiyun-weather/pull/12 **Full Changelog**: https://github.com/caiyunapp/mcp-caiyun-weather/compare/v0.1.0...v0.1.1Low12/31/2025
v0.1.0## What's Changed * feat: add more tools via cursor by @adamwen829 in https://github.com/caiyunapp/mcp-caiyun-weather/pull/1 * docs: Update README.md by @tssujt in https://github.com/caiyunapp/mcp-caiyun-weather/pull/2 ## New Contributors * @adamwen829 made their first contribution in https://github.com/caiyunapp/mcp-caiyun-weather/pull/1 * @tssujt made their first contribution in https://github.com/caiyunapp/mcp-caiyun-weather/pull/2 **Full Changelog**: https://github.com/caiyunapp/mcLow3/28/2025

Dependencies & License Audit

Loading dependencies...

Similar Packages

pipulateLocal First AI SEO Software on Nix, FastHTML & HTMXvoice-synthesis-breakthrough
ai-engineering-from-scratchLearn it. Build it. Ship it for others.0.0.0
llm-wikiLLM-powered knowledge base from your Claude Code, Codex CLI, Copilot, Cursor & Gemini sessions. Karpathy's LLM Wiki pattern — implemented and shipped.v1.1.0-rc8
headroomThe Context Optimization Layer for LLM Applicationsv0.8.3
pattern8Enforce zero-trust rules for AI agents to prevent hallucinations, unsafe actions, and policy bypasses0.0.0