MCP Weather Server
@tyfeng1997
About MCP Weather Server
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server-tyfeng1997": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}Tools
5Get weather forecast for a location
`latitude` (number): Latitude of the location (-90 to 90)
Only US locations are supported by the NWS API
Get weather alerts for a state
`state` (string): Two-letter US state code (e.g., CA, NY)
Overview
What is MCP Weather Server?
MCP Weather Server is a TypeScript implementation of the Model Context Protocol (MCP) using Server-Sent Events (SSE) transport. It provides weather forecast and alert tools by connecting to the US National Weather Service API, designed for remote client connections over HTTP.
How to use MCP Weather Server?
Clone the repository, install dependencies with npm install, build with npm run build, then start the server with node build/index.js. It listens on port 3001 by default; clients connect to http://localhost:3001/sse.
Key features of MCP Weather Server
- Implements MCP over Server-Sent Events (SSE) transport
- Provides two weather tools:
get-forecastandget-alerts - Connects to the US National Weather Service API
- Supports multiple concurrent client connections
- Written in TypeScript with Zod parameter validation
Use cases of MCP Weather Server
- AI assistants fetching weather forecasts for US coordinates via natural language
- AI assistants retrieving active weather alerts for any US state
- Demonstrating a remote MCP server over HTTP instead of stdio
FAQ from MCP Weather Server
What tools does MCP Weather Server expose?
It exposes get-forecast (requires latitude/longitude) and get-alerts (requires a two-letter US state code).
What are the runtime requirements?
Node.js version 16 or newer, and npm or yarn.
Does the server support locations outside the US?
No, the underlying NWS API only supports US locations.
What transport does MCP Weather Server use?
It uses Server-Sent Events (SSE) over HTTP, not standard input/output (stdio).
Where can I find a companion client?
A companion client is available at tyfeng1997/mcp-client on GitHub.
More Media & Design MCP servers
MiniMax MCP
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Vibe Design System
mondaycom🎨 Vibe Design System - Official monday.com UI resources for application development in React.js
Weather API MCP Server
TuanKiriA lightweight Model Context Protocol (MCP) server that enables AI assistants like Claude to retrieve and interpret real-time weather data. Discuss on Hacker News:
Melrōse - programming of music melodies
emickleiinteractive programming of melodies, producing MIDI

Spotify MCP
varunnealMCP to connect your LLM with Spotify.
Comments