Weather MCP Server
Weather MCP Server
一个从 National Weather Service API 获取天气警报和预报的 MCP 服务器。
要求
Node.js 18 或更新版本
兼容 MCP 的客户端
Related MCP server: @cyanheads/nws-weather-mcp-server
安装
npm install
npm run build编译后的服务器将写入 build/index.js。
MCP 客户端配置
配置你的 MCP 客户端,使其通过 stdio 启动编译后的服务器。例如:
{
"mcpServers": {
"weather": {
"command": "node",
"args": ["/absolute/path/to/weather/build/index.js"]
}
}
}将该路径替换为此项目的绝对路径。
可用工具
get_alerts
返回美国某个州的当前天气警报。
输入:
state:两个字母的州代码,例如CA
get_forecast
返回某个地理位置的天气预报。
输入:
latitude:从-90到90的数字longitude:从-180到180的数字
数据源
天气数据由 National Weather Service API 提供。
许可证
ISC
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Get US weather forecasts, active and recent alerts, and current observations.
US NWS weather alerts and 5-day forecasts for AI agents. $0.01 per call.
Official NWS forecasts and alerts, as one MCP tool through Apify
Active weather alerts and warnings from the National Weather Service
Related MCP Servers
- AlicenseBqualityCmaintenanceProvides weather alerts and forecasts for US locations using the National Weather Service API.2ISC
- AlicenseNot gradedqualityBmaintenanceGet US weather forecasts, active alerts, and current observations via the National Weather Service API.444 npm2Apache 2.0
- AlicenseNot gradedqualityDmaintenanceProvides US weather alerts and forecasts via the National Weather Service API.ISC
- AlicenseNot gradedqualityDmaintenanceProvides weather alerts and forecasts for US locations using the National Weather Service API.GPL 3.0