WeatherAI MCP
OfficialWeatherAI MCPサーバー
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種類のツールはすべて自動的に登録されるため、設定は不要です。
ツール | ティア | 説明 | 主要パラメータ |
| 標準 | 任意の場所のリアルタイム状況 |
|
| 標準 | 最大14日間の日次および時間別予報 |
|
| プレミアム | 過去の任意の日の実際の天気 |
|
| プレミアム | 14〜300日先の予測 |
|
| 標準 | AQI、PM2.5、PM10、CO、NO2、SO2、O3 |
|
| 標準 | アクティブな政府の気象警報 |
|
| 標準 | 日の出、日の入り、月相および照度 |
|
| プレミアム | 日射量およびエネルギー推定値 |
|
| 標準 | UTCオフセット、現地時間、夏時間ステータス |
|
| 標準 | 部分的な名前で都市や場所を検索 |
|
| プレミアム | Claude AIによる自然言語での天気質問 |
|
ツールの詳細
get_current_weather
気温、体感温度、湿度、風速/風向、UV指数、視程、気圧、雲量を返します。
location (required) City name, US zip, UK postcode, lat/lon, or IP address
units (optional) "metric" | "imperial" — default: metricget_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: metricget_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: metricget_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: metricget_air_quality
リアルタイムのAQI指数と個別の汚染物質測定値(PM2.5、PM10、CO、NO2、SO2、O3)。
location (required) City name, zip/postcode, coordinates, or IP addressget_weather_alerts
政府が発行したアクティブな嵐、洪水、熱波、その他の気象警報。
location (required) City name, zip/postcode, coordinates, or IP addressget_astronomy
日の出、日の入り、月の出、月の入り、月相名、および照度パーセンテージ。
location (required) City name, zip/postcode, coordinates, or IP address
date (optional) YYYY-MM-DD — defaults to todayget_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: metricget_timezone
IANAタイムゾーン名、UTCオフセット(時間)、現在の現地時間、および夏時間アクティブフラグ。
location (required) City name, zip/postcode, coordinates, or IP addresssearch_locations
名前、地域、国、座標を含む最大10件の合致する場所を返します。
query (required) Partial or full city/location nameask_ai_weather ⭐
自然言語で天気の質問をします。AIが意図を解釈し、関連するツールを呼び出し、自然言語の回答と基礎となるJSONデータを返します。リクエストごとにプレミアムクレジット2回分を消費します。
question (required) e.g. "Will it be good weather for hiking in the Lake District next weekend?"認証
3つの方法がサポートされており、すべて同等です:
方法 | 例 |
クエリパラメータ |
|
|
|
Bearerトークン |
|
クライアント設定ファイルにはクエリパラメータが推奨されます。プログラムによるアクセスにはヘッダーを使用してください。
料金
ティア | 無料枠 | 超過料金 |
標準ツール | 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マニフェスト | |
LLMコンテキスト | |
OpenAPI仕様 |
ソースコード
このリポジトリにはMCPサーバーの実装が含まれています。サーバーはWeatherAI.ioプラットフォームの一部として https://api.weatherai.io/mcp で実行されます。
src/index.ts はスタンドアロンでも実行可能な自己完結型の適応版です:
npm install
WEATHERAI_API_KEY=your_key npm startスタンドアロンサーバーは PORT (デフォルト3000) でリッスンし、同じ /mcp エンドポイントを公開します。
リンク
ウェブサイト: weatherai.io
MCPドキュメント: weatherai.io/mcp
APIドキュメント: weatherai.io/docs
ライセンス
MIT — LICENSE を参照してください。
Zoomash Ltd (英国、会社番号 7838145) により構築されました。
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for weather with reasoning — umbrella advice, outdoor checks, city comparisons.
The official Model Context Protocol server for Ambee. It gives any MCP-compatible AI assistant — Claude, ChatGPT, Cursor, VS Code, Ollama, and more direct access to live air quality, pollen, and weather data. To get started, including information on signing up and obtaining your Ambee key, check out the Ambee documentation on https://docs.ambeedata.com
Open-Meteo MCP — weather forecast + historical reanalysis + sister APIs
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA 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-
- AlicenseNot gradedqualityDmaintenanceAn 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.1MIT
- AlicenseAqualityCmaintenanceAn MCP server that provides weather and time tools, enabling users to get current time, weather alerts, and forecasts through natural language with Claude Desktop.4MIT
- FlicenseAqualityDmaintenanceAI-powered weather aggregation from 6 sources with intelligent deduction, working as both a REST API and MCP Server for AI assistants like Claude and Cursor.62-