Skip to main content
Glama
qweather-mcp

qweather-mcp

by overstarry

qweather-mcp

鍛冶屋のバッジ

English |简体中文

QWeather API 用の MCP サーバー。モデル コンテキスト プロトコル (MCP) を通じて包括的な天気情報クエリ機能を提供します。

✨ 特徴

  • 🌤️ リアルタイム天気予報

  • 📅 複数日間の天気予報(3/7/10/15/30日間)

  • 🔑 シンプルなAPIキー設定

  • 🔌 カスタム API ベース URL のサポート

  • 🛠️ 完全なツール統合

Related MCP server: OpenWeatherMap MCP Server

📦 インストール

スミザリー経由

推奨: Smitheryを使用して Claude Desktop に自動的にインストールします:

npx -y @smithery/cli install @overstarry/qweather-mcp --client claude

手動設定

  1. まず、 QWeather コンソールから API キーを取得します。

  2. サーバーを起動します。

# stdio server
npx -y qweather-mcp
  1. 環境変数を設定します。

QWEATHER_API_BASE=https://api.qweather.com
QWEATHER_API_KEY=<your-api-key>

JSON構成

設定ファイルに以下を追加します:

{
  "mcpServers": {
    "qweather": {
      "command": "npx",
      "args": ["-y", "qweather-mcp"],
      "env": {
        "QWEATHER_API_BASE": "<your-api-url>",
        "QWEATHER_API_KEY": "<your-api-key>"
      }
    }
  }
}

🛠️ 利用可能なツール

今すぐ天気予報

指定された場所の現在の天気情報を取得します。

天気予報を取得する

カスタマイズ可能な予報日で、指定した場所の天気予報情報を取得します。

  • 3日間の天気予報

  • 7日間予報

  • 10日間予報

  • 15日間の予報

  • 30日間の予報

予測データには以下が含まれます:

  • 温度範囲(最小/最大)

  • 昼夜の天候

  • 日の出/日の入り時刻

  • 降水量

  • 湿度

  • 風の状態

  • UV指数

毎分降水量

今後 2 時間の降水量を分単位で予報します。

  • 降水の種類(雨/雪)

  • 1分あたりの降水量

  • 正確な時間予測

  • リアルタイム予報の説明

時間ごとの予報を取得する

24 時間、72 時間、または 168 時間の 1 時間ごとの天気予報を提供します。

  • 気温の変化

  • 気象条件

  • 風向と風力

  • 相対湿度

  • 大気圧

  • 降水確率

  • 雲量

天気予報を取得する

以下を含むリアルタイムの気象警報情報を提供します:

  • 警告発令機関

  • 警告レベルと種類

  • 詳細な警告内容

  • 警告の有効期間

  • 関連する推奨事項

天気指数を取得する

さまざまなインデックス タイプをサポートする気象生命インデックス情報を提供します。

  • スポーツ指数

  • 洗車指数

  • ドレッシング指数

  • 釣り指数

  • UV指数

  • 観光指数

  • アレルギー指数とその他16の生活指数

空気の質を知る

以下を含むリアルタイムの空気質データを提供します:

  • AQI指数

  • 空気質レベル

  • 一次汚染物質

  • 健康アドバイス

  • 汚染物質濃度

空気の質を1時間ごとに取得

今後 24 時間の空気質予報を 1 時間ごとに提供します。

  • 1時間ごとのAQI予測

  • 汚染物質濃度の変化

  • 健康影響評価

  • 保護に関する推奨事項

毎日の空気質情報

今後 3 日間の空気質予報を提供します。

  • 毎日のAQI予測

  • 一次汚染物質予測

  • 空気質レベルの変化

  • 健康保護に関するアドバイス

🤝 貢献する

問題や改善点のご意見をお待ちしております。貢献ガイドラインをご確認ください。

📄 ライセンス

マサチューセッツ工科大学

🔗 関連リンク

Available Tools

2 tools
get-weather-nowC

Get current weather for a location using QWeather API

Inputs: location (required).

lookup-cityC

Look up city information by name

Inputs: cityName (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools serve clearly distinct purposes: one retrieves current weather data, and the other looks up city information. There is no overlap or ambiguity.

    Naming Consistency5/5

    Both tools follow a consistent verb_noun pattern using snake_case: get-weather-now and lookup-city. The naming is predictable and clear.

    Tool Count3/5

    With only 2 tools, the set is on the lower end of reasonable. While it covers the basics, it feels minimal for a weather API, which typically includes more operations like forecasts or alerts.

    Completeness2/5

    The tool set lacks essential weather features such as forecasts, historical data, or severe weather alerts. For a weather-focused server, the absence of these common operations is a notable gap.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers