CM

caiyunapp/mcp-caiyun-weather

Developer tools공식

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

48 stars 9 forks 품질 83 트렌드 20MIT

caiyunapp/mcp-caiyun-weather는 MCP 서버 후보로 수입 https://github.com/caiyunapp/mcp-caiyun-weather.]

개요

caiyunapp/mcp-caiyun-weather는 MCP 서버 후보로 수입 https://github.com/caiyunapp/mcp-caiyun-weather.]

개요(AI 번역)

호스트 서버

채용정보 날씨는 호스팅 가능한 HTTP MCP 서버를 제공하므로 사용할 수 있습니다. 로컬 패키지를 설치하거나 실행하지 않고 날씨 도구.

외부 윤곽 체재는 당신의 MCP 클라이언트에 달려 있습니다. 시작하기 Caiyun Weather API 키에 등록 및 적용 시작, 그 후 X-Caiyun-API-Key 요청 헤더에 전달합니다.

설치 설명서

uv를 먼저 설치하십시오.

맥 OS/리눅스:

윈도우:

Claude 데스크톱 설정

Ask Claude 날씨를 요구하는 질문

예. “지금 베이징의 날씨는 무엇입니까?”

Local/Dev 설치 설명서

Claude 데스크톱 설정

# # # 디버깅

실행:

사용 가능한 도구

  • get_realtime_weather: 특정 위치에 대한 실시간 날씨 데이터를 가져옵니다

  • 모수:

  • lng: 위치의 경도

  • lat: 위치의 위도

  • 다음을 포함한 상세한 정보를 반환합니다:

  • 온도와 명백한 온도

  • 하늘 상태

  • 습도

  • 풍속 및 방향

  • 강렬

  • 공기 품질 미터 (PM2.5, PM10, O3, SO2, NO2, CO)

  • AQI (중국과 미국 기준)

  • 생활 지수 (UV 및 Comfort)

  • get_hourly_forecast: 시간별 날씨 예보를 설정할 수 있는 시간

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Caiyun Weather MCP Server

Hosted Server

Caiyun Weather provides a hosted Streamable HTTP MCP server, so you can use the weather tools without installing or running this package locally.

{
  "url": "https://mcp-weather.caiyunapp.com/mcp",
  "headers": {
    "X-Caiyun-API-Key": "YOUR_CAIYUN_WEATHER_API_KEY"
  }
}

The outer configuration format depends on your MCP client. Before getting started, register and apply for a Caiyun Weather API key, then pass it in the X-Caiyun-API-Key request header.

Setup Instructions

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 and apparent temperature
      • Sky condition
      • 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 an hourly weather forecast for a configurable number of hours

    • Parameters:
      • lng: The longitude of the location
      • lat: The latitude of the location
      • hours: The number of hours to return (1–360, defaults to 72)
    • Returns hourly forecast including:
      • Temperature
      • Weather conditions
      • Rain probability
      • Precipitation intensity (mm/hr)
      • Wind speed and direction
  • get_weekly_forecast: Get daily weather forecast for the next 7 days

    • Parameters:
GitHub에서 전체 README 보기

설치

uvx mcp-caiyun-weather
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →