mcp-weather-server

mcp-weather-server

0

The MCP Weather Server is a TypeScript and Node.js application that employs the Model Context Protocol for real-time weather alerts and forecast data using the National Weather Service API. It is designed to showcase AI tool integration with external APIs.

MCP Weather Server

A lightweight server built with TypeScript and Node.js utilizing the Model Context Protocol (MCP) for real-time weather alerts and forecast data via the National Weather Service API.

Features

  • get-alerts: Returns current weather alerts for a given US state code.
  • get-forecast: Provides a detailed weather forecast based on geographic coordinates.

🛠️ Tech Stack

  • TypeScript for type-safe development
  • Node.js as the backend runtime
  • MCP SDK for tool communication
  • Zod for input schema validation
  • NWS API for external weather data