Skip to main content
Glama
WorldWeatherOnline

World Weather Online MCP

Official

World Weather Online — MCPサーバー (Railway)

World Weather Online用MCPサーバー。ClaudeやCursorなどのAIアシスタントが、WWOの気象データをツールとして直接呼び出せるようにします。

Railwayへのデプロイ

ステップ 1 — GitHubへのプッシュ

  1. github.comで新しいリポジトリを作成します(名前は wwo-mcp-server とします)

  2. このフォルダでターミナルを開き、以下を実行します:

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へのデプロイ

  1. https://railway.app にアクセスし、GitHubでサインアップ/ログインします

  2. New ProjectDeploy from GitHub repo をクリックします

  3. wwo-mcp-server リポジトリを選択します

  4. Railwayが自動的にNode.jsを検出し、デプロイします

サーバーは以下のようなURLで公開されます:

https://wwo-mcp-server-production.up.railway.app

ステップ 3 — カスタムドメインの追加

  1. Railwayダッシュボード → プロジェクト → SettingsNetworkingCustom Domain

  2. mcp.worldweatheronline.com と入力し、Add をクリックします

  3. Railwayが以下のようなCNAME値を表示します:

    wwo-mcp-server-production.up.railway.app
  4. DNSプロバイダーにアクセスし、以下を追加します:

    Type

    Name

    Value

    CNAME

    mcp

    wwo-mcp-server-production.up.railway.app

  5. SSL証明書は数分以内に自動的にプロビジョニングされます

ステップ 4 — テスト

ヘルスチェックエンドポイントにアクセスします:

https://mcp.worldweatheronline.com/health

MCP Inspectorでテストします:

https://mcp.worldweatheronline.com/mcp?key=YOUR_WWO_API_KEY

Related MCP server: OpenWeather-OneCall3-MCP

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 で実行されます

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides weather data from WeatherAPI.com through MCP, enabling AI agents to query current conditions and forecasts via natural language.
    2 npm
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    A Model Context Protocol (MCP) server that provides weather data using the OpenWeather One Call API 3.0. This server allows AI agents to access current weather, forecasts, and historical weather data for any location.
    3
    5 npm
    -
  • A
    license
    Not graded
    quality
    B
    maintenance
    This MCP server provides access to Open-Meteo weather APIs including forecast, historical reanalysis, geocoding, air quality, marine weather, and flood risk data, enabling AI agents to retrieve weather information using natural language.
    7 npm
    MIT