MCP-Weather-Server
Agent
Description
A TypeScript application that provides access to real-time US weather data and alerts through the National Weather Service API, integrated with the Model Context Protocol (MCP) for AI assistant use.
Author
cskiro
Created Date
2024-12-01
Tutorial
Learn how to use this MCP server
Step 1: Prerequisites
Ensure you have Node.js (v18 or higher) and npm or yarn installed.
Step 2: Installation
-
Clone the repository: bash git clone https://github.com/cskiro/MCP-Weather-Server.git
-
Navigate to the project directory: bash cd MCP-Weather-Server
-
Install dependencies: bash npm install
-
Build the project: bash npm run build
-
Make the CLI executable: bash chmod +x build/index.js
-
Install globally (optional): bash npm install -g .
Step 3: Usage
-
Direct invocation: bash weather
-
Through an MCP-compatible client/assistant: Configure your MCP client to use the weather tool for forecasts and weather alerts.

