MCP Weather Server
by cskiro
A weather server application built with the Model Context Protocol (MCP) that provides access to real-time weather data and alerts. It serves as a backend for weather-related applications using the MCP SDK.
Last updated: N/A
What is MCP Weather Server?
MCP Weather Server is a TypeScript application that serves as a backend for weather-related applications using the MCP SDK. It provides tools for accessing current weather conditions, forecasts, and weather alerts through the National Weather Service (NWS) API.
How to use MCP Weather Server?
The server can be used either directly via command-line invocation or through an MCP-compatible client/assistant. Configure your MCP client to use the weather tool for forecasts and weather alerts. Refer to the API Usage section for example requests.
Key features of MCP Weather Server
US Weather Forecasts
Weather Alerts
MCP Integration
Command-line Interface
Use cases of MCP Weather Server
Integrating weather data into AI assistants
Providing weather information to other applications
Displaying weather forecasts in a user interface
Triggering alerts based on weather conditions
FAQ from MCP Weather Server
What data source does the server use?
What data source does the server use?
The server uses the National Weather Service API for weather data.
Does the server support locations outside the US?
Does the server support locations outside the US?
Currently, the application only supports US-based locations due to the limitations of the data source.
What are the prerequisites for running the server?
What are the prerequisites for running the server?
Node.js (v18 or higher) and npm or yarn are required.
How do I install the server?
How do I install the server?
Clone the repository, navigate to the project directory, install dependencies using npm install
, build the project using npm run build
, and make the CLI executable using chmod +x build/index.js
.
How do I contribute to the project?
How do I contribute to the project?
Contributions are welcome! Please feel free to submit a Pull Request.