mcpField
W
Weatherai.io Mcp

Weatherai.io Mcp

ローカル
github.com/weatherai-io地図・旅行027 週間前に更新

Weatherai.io Mcp について

Weatherai.io Mcpは、MCP対応のAIアシスタントに、リアルタイムの天気、予報、過去の天気、空気質などのデータと自然言語での天気検索を提供します。場所ごとの気象・環境情報を使うワークフローに対応します。

主な機能

  1. 01現在の天気と最長14日間の予報
  2. 02過去の天気と長期予測の取得
  3. 03空気質と気象警報の確認
  4. 04天文情報、太陽光データ、タイムゾーンの検索
  5. 05自然な英語での天気質問

活用シーン

  1. 01旅行先の天気を確認して計画
  2. 02過去の日付の観測記録を確認
  3. 03地域の空気質や警報を確認
  4. 04日没時刻や太陽光データを調べる

MCP 対応

リモート HTTP エンドポイントを通じて、11種類の天気ツールをクライアントに公開し、APIキー認証に対応します。

設定

ローカルサーバーの設定はどのクライアントでも共通です。コピーしてクライアントの MCP 設定ファイルに貼り付けてください。

インストール方法は未掲載です

このサーバーのパッケージやリモートエンドポイントはまだ取得できていません。プロジェクトの README の手順に従ってください。

リポジトリ

ツール

ツール一覧はまだ取得されていません

ローカルサーバーのツールはマシン上で起動して初めて取得できます。メンテナーはまだツール一覧を提供していません。

詳細

WeatherAI MCP サーバー

MCP Spec Tools Free Tier License

AI アシスタント向けの11種類のリアルタイム天気ツール — URLひとつで、セットアップ不要です。

WeatherAI MCP サーバーを使うと、Claude Desktop、Cursor、Windsurf、およびあらゆるMCP対応AI アシスタントから、リアルタイムの天気、予報、過去のデータ、空気質、天文学、太陽放射、および平易な英語で使えるAI天気インターフェースにすぐアクセスできます。

ホスト型エンドポイント: https://api.weatherai.io/mcp
トランスポート: Streamable HTTP(ステートレス、MCP spec 2025-03-26)
認証: クエリパラメーター、ヘッダー、またはBearerトークンによるAPIキー
無料枠: 1日あたり標準呼び出し1,000回 · プレミアム呼び出し50回


クイックスタート

1. 無料のAPIキーを取得する

weatherai.ioで登録してください。クレジットカードは不要です。

2. AIクライアントに追加する

ダッシュボードから取得したキーでYOUR_API_KEYを置き換えます。

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json(macOS)または
%APPDATA%\Claude\claude_desktop_config.json(Windows)を編集します。

{
  "mcpServers": {
    "weatherai": {
      "url": "https://api.weatherai.io/mcp?apiKey=YOUR_API_KEY"
    }
  }
}

保存後、Claude Desktopを再起動してください。

Cursor

Cursor → Settings → MCPに移動するか、~/.cursor/mcp.jsonを編集します。

{
  "mcpServers": {
    "weatherai": {
      "url": "https://api.weatherai.io/mcp?apiKey=YOUR_API_KEY"
    }
  }
}
Windsurf

~/.codeium/windsurf/mcp_config.jsonを編集します。

{
  "mcpServers": {
    "weatherai": {
      "url": "https://api.weatherai.io/mcp?apiKey=YOUR_API_KEY",
      "type": "http"
    }
  }
}
その他のMCPクライアント(汎用のmcp.json)
{
  "mcpServers": {
    "weatherai": {
      "url": "https://api.weatherai.io/mcp?apiKey=YOUR_API_KEY",
      "type": "http",
      "transport": "streamable-http"
    }
  }
}
3. 天気について質問する
"What's the weather like in Tokyo right now?"
"Will it rain in London this weekend?"
"What were temperatures in Paris on 14 July 2023?"
"What's the air quality like in Beijing?"
"When does the sun set in Dubai today?"

利用可能なツール

11種類のツールはすべて自動で登録されます。設定は不要です。

ツールティア説明主なパラメーター
get_current_weatherStandardあらゆる場所のリアルタイムの天気location、units
get_weather_forecastStandard最大14日先までの日次・時間別予報location、days(1–14)、units
get_historical_weatherPremium任意の日付の実際の過去の天気location、date(YYYY-MM-DD)、units
get_future_weatherPremium14~300日先の予測location、start_date、end_date、units
get_air_qualityStandardAQI、PM2.5、PM10、CO、NO2、SO2、O3location
get_weather_alertsStandard政府が発令した有効な気象警報location
get_astronomyStandard日の出、日の入り、月相、照度location、date
get_solar_dataPremium太陽放射とエネルギー推定値location、date、units
get_timezoneStandardUTCオフセット、現地時刻、DSTの状態location
search_locationsStandard部分一致する名前から都市や場所を検索query
ask_ai_weatherPremiumClaude AIによる平易な英語での天気に関する質問question
ツールの詳細
get_current_weather

気温、体感温度、湿度、風速・風向、UVインデックス、視程、気圧、雲量を返します。

location  (required) City name, US zip, UK postcode, lat/lon, or IP address
units     (optional) "metric" | "imperial" — default: metric
get_weather_forecast

降水確率とUVインデックスを含む、最大14日先までの日ごとの最高・最低気温と時間ごとの詳細です。

location  (required) City name, zip/postcode, coordinates, or IP address
days      (optional) 1–14 — default: 3
units     (optional) "metric" | "imperial" — default: metric
get_historical_weather

過去の任意の日付について、時間ごとの実測天気を返します。

location  (required) City name, zip/postcode, coordinates, or IP address
date      (required) YYYY-MM-DD format — must be a past date
units     (optional) "metric" | "imperial" — default: metric
get_future_weather

AIで強化された、14~300日先までの長期予報です。リクエストごとにプレミアムクレジット2件を消費します。

location    (required) City name, zip/postcode, coordinates, or IP address
start_date  (required) YYYY-MM-DD — 14–300 days from today
end_date    (optional) YYYY-MM-DD — max 30 days per request
units       (optional) "metric" | "imperial" — default: metric
get_air_quality

リアルタイムのAQI指数と、各汚染物質の測定値(PM2.5、PM10、CO、NO2、SO2、O3)を返します。

location  (required) City name, zip/postcode, coordinates, or IP address
get_weather_alerts

政府が発令した、発効中の暴風雨、洪水、熱波などの気象警報を返します。

location  (required) City name, zip/postcode, coordinates, or IP address
get_astronomy

日の出、日の入り、月の出、月の入り、月相名、および照度の割合を返します。

location  (required) City name, zip/postcode, coordinates, or IP address
date      (optional) YYYY-MM-DD — defaults to today
get_solar_data

太陽放射量(W/m²)と、推定される1日あたりの発電量(kWh/m²)を返します。

location  (required) City name, zip/postcode, coordinates, or IP address
date      (optional) YYYY-MM-DD — defaults to today
units     (optional) "metric" | "imperial" — default: metric
get_timezone

IANA タイムゾーン名、UTC オフセット(時間)、現在の現地時刻、夏時間の適用状況を示すフラグです。

location  (required) City name, zip/postcode, coordinates, or IP address
search_locations

名前、地域、国、座標を含む、条件に一致する場所を最大 10 件返します。

query  (required) Partial or full city/location name
ask_ai_weather ⭐

天気に関する質問を英語で自由に入力できます。AI が意図を解釈して関連するツールを呼び出し、自然言語での回答と基になる JSON データを返します。リクエストごとにプレミアムクレジットを 2 クレジット消費します。

question  (required) e.g. "Will it be good weather for hiking in the Lake District next weekend?"

認証

次の 3 つの方法に対応しています。どれも同等です。

方法例
クエリパラメーターhttps://api.weatherai.io/mcp?apiKey=YOUR_KEY
X-API-Key ヘッダーX-API-Key: YOUR_KEY
Bearer トークンAuthorization: Bearer YOUR_KEY

クライアント設定ファイルにはクエリパラメーターを推奨します。プログラムからアクセスする場合はヘッダーを使用してください。


料金

プラン無料利用枠超過料金
標準ツール1,000 回/日1 回あたり $0.0005
プレミアムツール50 回/日1 回あたり $0.001

クレジットは前払いです。ダッシュボードからチャージしてください。サブスクリプションは不要です。

標準ツール:get_current_weather、get_weather_forecast、get_air_quality、get_weather_alerts、get_astronomy、get_timezone、search_locations

プレミアムツール:get_historical_weather、get_future_weather、get_solar_data、ask_ai_weather


機械可読な情報

ファイルURL
MCP マニフェスト/.well-known/mcp.json
LLM コンテキスト/llms.txt
OpenAPI 仕様/openapi.yaml

ソースコード

このリポジトリには MCP サーバーの実装が含まれています。サーバーは https://api.weatherai.io/mcp にある WeatherAI.io プラットフォームの一部として動作します。

src/index.ts は単体で実行できるように適合された実装です。

npm install
WEATHERAI_API_KEY=your_key npm start

スタンドアロンのサーバーは PORT(デフォルトは 3000)でリッスンし、同じ /mcp エンドポイントを公開します。


リンク


ライセンス

MIT — LICENSE をご覧ください。

イングランドの Zoomash Ltd が開発しました(会社番号 7838145)。

コメント

MCP は初めてですか?

プロトコルの概要から最初のサーバーの導入まで、よくある疑問にまとめて答えます。

AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。