Author avatar

mcp-weather-server

by aditi-joshi-usc

Server

Tags

4.8 (120)

MCP Weather Server

A lightweight TypeScript + Node.js server built using the Model Context Protocol (MCP) to provide real-time weather alerts and forecast data using the National Weather Service API.

This is my first MCP tool, integrated with Claude Desktop and Cursor, and designed to demonstrate how AI tools can consume external APIs via tool invocation.


Features

get-alerts

Returns current weather alerts for a given US state code (e.g., "CA" for California).

get-forecast

Returns a detailed weather forecast based on geographic coordinates (latitude, longitude).


🛠️ Tech Stack

Technology Usage
TypeScript Type-safe development
Node.js Backend runtime
MCP SDK Tool communication with Claude/Cursor
Zod Input schema validation
NWS API External weather data

Related Services

playwright-mcp

Server

4.8 (120)
View Details →

blender-mcp

Server

4.8 (120)
View Details →

tavily-mcp

Server

4.8 (120)
View Details →