Skip to main content
Glama
weatherai-io

WeatherAI MCP

Official
by weatherai-io

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
トランスポート: ストリーマブルHTTP (ステートレス、MCP仕様 2025-03-26)
認証: クエリパラメータ、ヘッダー、またはBearerトークンによるAPIキー
無料枠: 1日あたり1,000回の標準呼び出し · 1日あたり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?"

Related MCP server: ambient-mcp

利用可能なツール

11種類のツールはすべて自動的に登録されるため、設定は不要です。

ツール

ティア

説明

主要パラメータ

get_current_weather

標準

任意の場所のリアルタイム状況

location, units

get_weather_forecast

標準

最大14日間の日次および時間別予報

location, days (1–14), units

get_historical_weather

プレミアム

過去の任意の日の実際の天気

location, date (YYYY-MM-DD), units

get_future_weather

プレミアム

14〜300日先の予測

location, start_date, end_date, units

get_air_quality

標準

AQI、PM2.5、PM10、CO、NO2、SO2、O3

location

get_weather_alerts

標準

アクティブな政府の気象警報

location

get_astronomy

標準

日の出、日の入り、月相および照度

location, date

get_solar_data

プレミアム

日射量およびエネルギー推定値

location, date, units

get_timezone

標準

UTCオフセット、現地時間、夏時間ステータス

location

search_locations

標準

部分的な名前で都市や場所を検索

query

ask_ai_weather

プレミアム

Claude 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

最大14日間の日中の最高/最低気温、時間別の詳細、降水確率、UV指数を提供します。

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

14日から300日先までのAI強化された長期予報。リクエストごとにプレミアムクレジット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²) および推定日次エネルギー生成量 (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回/日

$0.0005 / 回

プレミアムツール

50回/日

$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サーバーの実装が含まれています。サーバーはWeatherAI.ioプラットフォームの一部として https://api.weatherai.io/mcp で実行されます。

src/index.ts はスタンドアロンでも実行可能な自己完結型の適応版です:

npm install
WEATHERAI_API_KEY=your_key npm start

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


リンク


ライセンス

MIT — LICENSE を参照してください。

Zoomash Ltd (英国、会社番号 7838145) により構築されました。

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol (MCP) server built with the mcp-framework to provide weather-related tools and data to AI clients. It enables integration of weather capabilities and custom tools into the MCP ecosystem for use with platforms like Claude Desktop.
    7 npm
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that wraps the Ambient Weather REST API. Query your personal weather stations conversationally from Claude Code, Claude.ai, or any MCP-compatible client.
    1
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    An MCP server that provides weather and time tools, enabling users to get current time, weather alerts, and forecasts through natural language with Claude Desktop.
    4
    MIT