@pipeworx/nws
@pipeworx/nws
美国 National Weather Service MCP —— 权威的美国天气预报和警报,无需认证。
属于 Pipeworx —— 一个将 AI 智能体连接到 1476+ 个实时数据源的 MCP 网关。
工具
get_forecast(latitude, longitude)—— 针对美国经纬度的 7 天文本预报。get_hourly_forecast(latitude, longitude, max_hours?)—— 逐小时预报。get_alerts(area?, latitude?, longitude?, severity?, urgency?, event?, limit?)—— 当前生效的预警/警报/提示。get_observation(station_id)—— 来自 ICAO 站点的最新观测数据。
Related MCP server: @cyanheads/nws-weather-mcp-server
数据源
https://api.weather.gov —— 公开访问,无需密钥。NWS 要求每个请求都带有唯一的 User-Agent 请求头;此包发送的是 Pipeworx-NWS-MCP/0.1 (contact@mojibake.ai)。
仅限美国地区。
快速开始
添加到你的 MCP 客户端(Claude Desktop、Cursor、Windsurf 等):
{
"mcpServers": {
"nws": {
"url": "https://gateway.pipeworx.io/nws/mcp"
}
}
}此端点实际提供什么
tools/list 位于 https://gateway.pipeworx.io/nws/mcp,返回上表中的工具
以及共享的 Pipeworx 元工具 —— ask_pipeworx、
discover_tools、search_within、remember/recall 以及其余
网关级工具。因此你看到的工具数量多于这张表所列:一个
单包端点目前会在该包自身工具之外,再列出大约 30 个共享工具。
连接的 initialize 响应会说明其确切范围,并且
在任何给定日期都是权威答案。
这是有意为之,而非意外的多路复用。元工具的作用是让一个
受限连接能够回答此包未覆盖的问题 —— 通过
ask_pipeworx 在整个目录中路由 —— 而无需你添加
第二个 MCP 服务器。目前没有办法在不附带这些元工具的情况下挂载包端点;
如果额外的 schema 消耗的上下文超过路由带来的价值,
那就连接一次完整网关,而不是连接多个包端点。
或者连接完整的 Pipeworx 网关,让每个包的工具都直接列出, 而不仅仅是这一个包的:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}两个 URL 到达的是同一个网关和同样的 1476+ 个数据源。
唯一的区别是哪些包的工具被直接列出;ask_pipeworx
从这两者中的任何一个都能访问到全部工具。
与 ask_pipeworx 一起使用
不必直接调用工具,你可以用通俗英语提问 —— 这在上面的包端点和完整网关上都可以使用:
ask_pipeworx({ question: "your question about Nws data" })网关会自动挑选正确的工具并自动填充参数。
更多
许可证
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Get US weather forecasts, active alerts, and current observations.
US weather for AI agents: active NWS alerts by state, 5-period forecasts by lat/lon. Paid per call.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides access to weather alerts and forecasts for US locations using the National Weather Service public APIs.5Apache 2.0
- AlicenseNot gradedqualityAmaintenanceGet US weather forecasts, active alerts, and current observations via the National Weather Service API.203 npm1Apache 2.0
- FlicenseBqualityDmaintenanceProvides weather data including US alerts, US forecasts, and global 5-day forecasts without requiring any API keys.31-
- FlicenseNot gradedqualityDmaintenanceProvides weather forecasts, current conditions, and alerts for US locations using the National Weather Service API.1-