World Weather Online について
World Weather Online は、AI アシスタントから World Weather Online のデータを利用するための MCP サーバーです。現在の天気、予報、過去・海洋・スキーの天気、天文情報、タイムゾーン、気候平均値を扱います。
主な機能
- 01現在の天気と14日間予報
- 022008年以降の過去の天気
- 03海洋・スキーの天気データ
- 04天文情報とタイムゾーン
- 0512年間の月別気候平均値
活用シーン
- 01地域の現在の天気と予報を取得
- 02指定日の過去の天気を検索
- 03旅行前に海やスキー場の天気を確認
- 04現地時刻、日の出、気候平均値を取得
MCP 対応
World Weather Online の気象データを MCP クライアント向けのツールとして提供します。MCP エンドポイントには World Weather Online の API キーを設定します。
設定
リモートサーバーはインストール不要です。クライアントを選んで設定をコピーするか、ワンクリックで導入できます。
https://mcp.worldweatheronline.com/mcpclaude mcp add --transport http worldweatheronline-wwo https://mcp.worldweatheronline.com/mcp{"mcpServers":{"worldweatheronline-wwo":{"type":"http","url":"https://mcp.worldweatheronline.com/mcp"}}}Cursor で開く{"servers":{"worldweatheronline-wwo":{"type":"http","url":"https://mcp.worldweatheronline.com/mcp"}}}VS Code で開く{"mcpServers":{"worldweatheronline-wwo":{"type":"http","url":"https://mcp.worldweatheronline.com/mcp"}}}{"mcpServers":{"worldweatheronline-wwo":{"serverUrl":"https://mcp.worldweatheronline.com/mcp"}}}コマンドはターミナルで実行し、JSON は各クライアントの MCP 設定に貼り付けて再起動します。認可が必要なサーバーは初回接続時にログインを求めます。
ツール
詳細
World Weather Online — MCP サーバー(Railway)
World Weather Online 用の MCP サーバーです。Claude、Cursor などの AI アシスタントが、ツールとして WWO の気象データを直接呼び出せるようにします。
Railway にデプロイする
ステップ 1 — GitHub にプッシュする
- github.com で新しいリポジトリを作成します(名前は
wwo-mcp-serverにします)。 - このフォルダーでターミナルを開き、次を実行します。
git init
git add .
git commit -m "Initial commit"
git remote add origin https://github.com/YOUR_USERNAME/wwo-mcp-server.git
git push -u origin main
ステップ 2 — Railway にデプロイする
- https://railway.app にアクセスし、GitHub でサインアップ/ログインします。
- New Project → Deploy from GitHub repo をクリックします。
wwo-mcp-serverリポジトリを選択します。- Railway が Node.js を自動で検出し、デプロイします。
サーバーは次のような URL で公開されます。
https://wwo-mcp-server-production.up.railway.app
ステップ 3 — カスタムドメインを追加する
-
Railway のダッシュボードで、プロジェクト → Settings → Networking → Custom Domain を開きます。
-
mcp.worldweatheronline.comと入力し、Add をクリックします。 -
Railway に次のような CNAME 値が表示されます。
wwo-mcp-server-production.up.railway.app -
DNS プロバイダーにアクセスし、次を追加します。
タイプ 名前 値 CNAME mcp wwo-mcp-server-production.up.railway.app -
SSL 証明書は数分以内に自動で発行されます。
ステップ 4 — テストする
ヘルスエンドポイントにアクセスします。
https://mcp.worldweatheronline.com/health
MCP Inspector でテストします。
https://mcp.worldweatheronline.com/mcp?key=YOUR_WWO_API_KEY
AI クライアントの接続
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json に追加します。
{
"mcpServers": {
"world-weather-online": {
"url": "https://mcp.worldweatheronline.com/mcp?key=YOUR_API_KEY"
}
}
}
Cursor / Windsurf
.cursor/mcp.json に追加します。
{
"mcpServers": {
"world-weather-online": {
"url": "https://mcp.worldweatheronline.com/mcp?key=YOUR_API_KEY"
}
}
}
利用可能なツール
| ツール | 説明 |
|---|---|
get_weather | 現在の気象状況と14日間の予報 |
get_historical_weather | 2008年以降の過去の気象データ |
get_marine_weather | うねり、潮汐、水温 |
get_ski_weather | 標高別(山頂/中腹/麓)の予報 |
search_location | 場所のオートコンプリート |
get_astronomy | 日の出、日の入り、月相 |
get_timezone | 現地時刻と UTC オフセット |
get_climate_averages | 過去12年間の月別平均気候データ |
ローカル開発
npm install
npm run dev
サーバーは http://localhost:3000 で実行されます。
コメント
AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。