What is Weather MCP Server?
A Model Context Protocol (MCP) server that provides weather information and alerts for US locations using the National Weather Service (NWS) API. It offers tools for AI agents to access real-time weather data.
How to use Weather MCP Server?
To use this server, you need Node.js and npm or yarn. Clone the repository, install dependencies, and build the application. The server provides two MCP tools: get-alerts
(for weather alerts by state) and get-forecast
(for detailed forecasts by coordinates). AI agents can call these tools using the Model Context Protocol.
Key features of Weather MCP Server
Tool for getting weather alerts for any US state
Tool for getting detailed weather forecasts for any US location using coordinates
Supports temperature, wind conditions, and short forecast descriptions
Real-time data from the National Weather Service
Use cases of Weather MCP Server
AI agent providing weather information to users
Automated alert system for weather events
Integration with other AI services requiring weather data
Smart home automation based on weather conditions
FAQ from Weather MCP Server
Does this server work for locations outside the US?
Does this server work for locations outside the US?
No, this server only works for US locations as it uses the National Weather Service API.
Is the API rate-limited?
Is the API rate-limited?
Yes, API requests are rate-limited and require a User-Agent header.
What format should the coordinates be in?
What format should the coordinates be in?
All coordinates should be in decimal degrees format.
Is this a standalone CLI application?
Is this a standalone CLI application?
No, this is not a standalone CLI application, but rather a server that provides tools for AI agents through the Model Context Protocol.
What are the prerequisites for running this server?
What are the prerequisites for running this server?
You need Node.js (v16 or higher) and npm or yarn package manager.