World Weather Online MCP
OfficialWorld 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并点击 AddRailway 会显示一个 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_KEYRelated 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"
}
}
}可用工具
工具 | 描述 |
| 当前天气状况 + 14 天预报 |
| 2008 年以来的历史天气 |
| 海浪、潮汐、水温 |
| 顶部/中部/底部海拔预报 |
| 地点自动补全 |
| 日出、日落、月相 |
| 本地时间 + UTC 偏移量 |
| 12 年月度气候平均值 |
本地开发
npm install
npm run dev服务器运行在 http://localhost:3000
This server cannot be deployed
Maintenance
Related MCP Connectors
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
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
WeatherAPI.com MCP — wraps WeatherAPI.com (api.weatherapi.com)
- geoOAuthco.thinair
Geocoding, routing, isochrones, traffic, weather, and place search for AI agents. 19 MCP tools.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides weather data from WeatherAPI.com through MCP, enabling AI agents to query current conditions and forecasts via natural language.2 npmMIT
- FlicenseAqualityDmaintenanceA 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.35 npm-
- AlicenseAqualityDmaintenanceProvides real-time weather and forecast data via MCP tools, enabling AI agents to query current weather and up to 3-day forecasts for any city.3MIT
- AlicenseNot gradedqualityBmaintenanceThis 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 npmMIT