MCP-Weather-Server

MCP-Weather-Server

0

MCP Weather Server is a backend application providing real-time weather forecasts and alerts using MCP integration. It is designed primarily for US locations and leverages the National Weather Service API to retrieve weather information.

MCP Weather Server

A weather server application built with the Model Context Protocol (MCP) that provides access to real-time weather data and alerts.

Features

  • US Weather Forecasts: Get detailed forecast data for any US location via latitude/longitude
  • Weather Alerts: Retrieve active weather alerts for any US state
  • MCP Integration: Built as an MCP server for seamless AI assistant integration
  • Command-line Interface: Easy to install and run as a CLI tool

Tech Stack

  • Node.js
  • TypeScript
  • MCP SDK
  • National Weather Service API
  • Zod

Getting Started

Prerequisites

  • Node.js (v18 or higher)
  • npm or yarn

Usage

  • Direct invocation with 'weather'
  • Use with an MCP-compatible client

Data Sources

Utilizes the National Weather Service API for US weather data.