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
This server cannot be installed
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
- AlicenseNot gradedqualityDmaintenanceProvides weather alerts and forecasts for US locations using the National Weather Service API.78GPL 3.0
- AlicenseNot gradedqualityAmaintenanceGet US weather forecasts, active alerts, and current observations via the National Weather Service API.7161Apache 2.0
- AlicenseNot gradedqualityDmaintenanceProvides US weather alerts and forecasts via the National Weather Service API.78GPL 3.0
- AlicenseNot gradedqualityDmaintenanceProvides weather alerts and forecasts for US locations using the National Weather Service API.GPL 3.0
Related MCP Connectors
Get US weather forecasts, active alerts, and current observations.
US weather, alerts, earthquakes and elevation for AI agents, from NWS/NOAA and USGS. No API keys.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
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/andresilvase/weather-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server