MCP.so
ログイン
W

Weather MCP Server

@shuowang-ai

基本情報

カテゴリ

メディアとデザイン

トランスポート

stdio

作者

shuowang-ai

投稿者

王硕

Weather MCP Server について

概要はまだありません

Weather MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "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"
      }
    }
  }
}

Weather MCP Server のツール

5

Get real-time weather data for a specific location

Get hourly weather forecast for the next 72 hours

Get daily weather forecast for the next 7 days

Get historical weather data for the past 24 hours

Get weather alerts for a specific location

概要

What is Weather?

Weather is an MCP server that wraps the Caiyun Weather API, enabling AI assistants to retrieve real-time weather, forecasts, historical data, and weather alerts for any location. It is designed for users of Claude Desktop or any MCP client who need on-demand weather information.

How to use Weather?

Install uv, then configure the server in claude_desktop_config.json using the command uvx mcp-caiyun-weather and set the CAIYUN_WEATHER_API_TOKEN environment variable. After setup, ask a question like “What’s the weather in Beijing Now?” to invoke the tools.

Key features of Weather

  • Real-time weather data for a specific location.
  • Hourly forecast for the next 72 hours.
  • Daily forecast for the next 7 days.
  • Historical weather for the past 24 hours.
  • Weather alerts with title, code, status, description.
  • Air quality metrics (PM2.5, PM10, AQI, etc.).

Use cases of Weather

  • Ask your AI assistant for current weather conditions.
  • Plan outdoor activities using hourly or weekly forecasts.
  • Check air quality indices before traveling.
  • Monitor severe weather alerts for a location.
  • Analyze recent historical weather trends.

よくある質問

1

How do I get an API token?

Apply for a token at [https://docs.caiyunapp.com/weather-api/](https://docs.caiyunapp.com/weather-api/).

2

What tools does Weather provide?

Five tools: `get_realtime_weather`, `get_hourly_forecast`, `get_weekly_forecast`, `get_historical_weather`, and `get_weather_alerts`.

3

Where do I configure the server?

In the `claude_desktop_config.json` file under the `mcpServers` section, accessible via Claude Desktop’s Developer settings.

4

What parameters do all tools require?

All tools require `lng` (longitude) and `lat` (latitude) of the target location. ###

コメント

「メディアとデザイン」の他のコンテンツ