World Weather Online

السجل الرسمي الخرائط والسفر والطقس

Global weather API: forecasts, historical data, marine, ski, astronomy and timezone.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http world-weather-online 'https://mcp.worldweatheronline.com/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "world-weather-online": {
            "type": "http",
            "url": "https://mcp.worldweatheronline.com/mcp"
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. World Weather Online — MCP Server (Railway)
  2. Deploy to Railway
  3. Connecting AI Clients
  4. Available Tools
  5. Local Development

World Weather Online — MCP Server (Railway)

MCP server for World Weather Online. Lets AI assistants like Claude, Cursor, and others call WWO weather data directly as tools.

Deploy to Railway

Step 1 — Push to GitHub
  1. Create a new repository on github.com (call it wwo-mcp-server)
  2. Open Terminal in this folder and run:
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
Step 2 — Deploy on Railway
  1. Go to https://railway.app and sign up / log in with GitHub
  2. Click New Project → Deploy from GitHub repo
  3. Select your wwo-mcp-server repository
  4. Railway detects Node.js automatically and deploys

Your server will be live at a URL like:

https://wwo-mcp-server-production.up.railway.app
Step 3 — Add Custom Domain
  1. In Railway dashboard → your project → Settings → Networking → Custom Domain
  2. Type mcp.worldweatheronline.com and click Add
  3. Railway shows you a CNAME value like:
     wwo-mcp-server-production.up.railway.app
  4. Go to your DNS provider and add:
    TypeNameValue
    CNAMEmcpwwo-mcp-server-production.up.railway.app
  5. SSL certificate is provisioned automatically within minutes
Step 4 — Test

Visit your health endpoint:

https://mcp.worldweatheronline.com/health

Test in MCP Inspector:

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

Connecting AI Clients

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "world-weather-online": {
      "url": "https://mcp.worldweatheronline.com/mcp?key=YOUR_API_KEY"
    }
  }
}
Cursor / Windsurf

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "world-weather-online": {
      "url": "https://mcp.worldweatheronline.com/mcp?key=YOUR_API_KEY"
    }
  }
}

Available Tools

ToolDescription
get_weatherCurrent conditions + 14-day forecast
get_historical_weatherPast weather from 2008 onwards
get_marine_weatherSwell, tides, water temperature
get_ski_weatherTop/mid/base elevation forecasts
search_locationLocation autocomplete
get_astronomySunrise, sunset, moon phase
get_timezoneLocal time + UTC offset
get_climate_averagesMonthly 12-year climate averages

Local Development

npm install
npm run dev

Server runs at http://localhost:3000

الأسئلة الشائعة

ما هو World Weather Online؟

Global weather API: forecasts, historical data, marine, ski, astronomy and timezone.

كيف أثبّت World Weather Online؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http world-weather-online 'https://mcp.worldweatheronline.com/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج World Weather Online إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل World Weather Online مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون World Weather Online؟

ينشره WorldWeatherOnline. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.