WeatherXM Pro MCP Server
OfficialWeatherXM PRO MCP 服务器
MCP 服务器实现将 WeatherXM PRO API 作为 MCP 工具公开,允许客户端通过 MCP 协议访问气象站数据、观测和预报。
特征
获取某个位置附近的车站(纬度、经度、半径)
获取边界框内的站点(最小/最大纬度和经度)
获取所有可用电台
获取特定站点的最新观测结果
获取特定日期的站点历史观测数据
按区域名称搜索 H3 细胞
获取特定 H3 单元中的站点
获取特定 H3 小区的天气预报(每日或每小时)
获取站点和变量的超本地预测
获取站点和变量的预测性能(FACT)
获取站点的预测排名(FACT)
Related MCP server: WeatherXM Pro MCP Server
先决条件
Node.js 和 npm 已安装
有效的 WeatherXM PRO API 密钥
配置
将存储库克隆到本地机器。
git clone https://github.com/WeatherXM/weatherxm-pro-mcp.git安装
克隆存储库后,您需要安装依赖项并构建项目,然后运行 MCP 服务器。
npm install
npm run buildMCP 客户端的服务器配置
这是 MCP 客户端(例如 Claude Desktop、Cursor、Windsurf Editor、VSCode)以及插件(例如 RooCode 和 Cline)的常见配置。
{
"mcpServers": {
"weatherxm-pro": {
"command": "npx",
"args": [
"-y",
"path to mcp"
],
"env": {
"WEATHERXMPRO_API_KEY": "your-api-key"
}
}
}
}将"path to mcp"替换为 MCP 服务器或包名称的实际路径,将"your-api-key"替换为您的 WeatherXM PRO API 密钥。
注意:如果您在客户端中使用其他 MCP 服务器,您可以将其添加到现有的
mcpServers对象中。
克劳德桌面
按照以下步骤将 WeatherXM PRO MCP 服务器与 Claude Desktop MCP 客户端一起使用:
编辑位于以下位置的 MCP 设置文件:
~/Library/Application Support/Claude/claude_desktop_config.json在
mcpServers对象下添加 WeatherXM PRO MCP 服务器配置。重新启动 Claude Desktop 以应用更改。
您现在可以使用 Claude Desktop 中的服务器在 WeatherXM PRO MCP 服务器上运行查询。
光标
按照以下步骤将 WeatherXM PRO MCP 服务器与 Cursor 一起使用:
在您的机器上安装Cursor 。
在 Cursor 中,转到 Cursor > Cursor 设置 > MCP > 添加新的全局 MCP 服务器。
指定与 MCP 客户端的服务器配置部分相同的配置。
保存配置。
您将在 MCP 服务器列表中看到 weatherxm-pro 作为已添加的服务器。
您现在可以使用 Cursor 中的 WeatherXM PRO MCP 服务器来运行查询。
风帆冲浪编辑
按照以下步骤将 WeatherXM PRO MCP 服务器与Windsurf Editor一起使用:
在您的机器上安装 Windsurf Editor。
导航至命令面板 > Windsurf MCP 配置面板或 Windsurf - 设置 > 高级 > 级联 > 模型上下文协议 (MCP) 服务器。
单击添加服务器,然后单击添加自定义服务器。
从 MCP 客户端的服务器配置部分添加 WeatherXM PRO MCP 服务器配置。
保存配置。
您将在 MCP 服务器列表中看到 weatherxm-pro 作为添加的服务器。
您现在可以使用 Windsurf Editor 中的 WeatherXM PRO MCP 服务器来运行查询。
Docker 镜像
MCP 服务器可以作为 Docker 容器构建和运行。
建造
docker build -t weatherxm-pro-mcp .跑步
docker run -d -p 3000:3000 -e WEATHERXMPRO_API_KEY="your-api-key" -e PORT=3000 weatherxm-pro-mcp用您的实际 WeatherXM PRO API 密钥替换"your-api-key" 。
故障排除提示
确保配置中 MCP 服务器存储库的路径正确。
验证您的 WeatherXM PRO API 密钥是否设置正确。
检查 MCP 客户端配置是否与服务器设置匹配。
检查日志中是否存在任何可能表明 MCP 服务器存在问题的错误或警告。
执照
MIT 许可证
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityAmaintenanceAirthings Consumer MCP Server129ISC
- Flicense-qualityDmaintenanceProvides comprehensive access to real-time weather data, forecasts, historical data, and weather alerts from the WeatherXM decentralized weather network worldwide.
- Alicense-qualityDmaintenanceMCP Server for global weather, forecasts, air quality, and climate data using Open-Meteo, no API key required.MIT
- Flicense-qualityBmaintenanceA weather-reactive MCP server that renders rich Open-Meteo weather widgets and provides plain JSON weather data, all without an API key.
Related MCP Connectors
Open-Meteo MCP — weather forecast + historical reanalysis + sister APIs
openSenseMap MCP — citizen-science environmental sensor network (opensensemap.org)
Meteostat MCP — historical weather from 11k+ stations (no auth)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/WeatherXM/weatherxm-pro-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server