Basic information
About MCP Weather Server
# MCP Weather Server
MCP Weather Server is a MCP server in the Media & Design category listed in the AddMCP.net directory, published by tyfeng1997. Supported transport: stdio. Runtime: node. Source code is hosted on github.com. Related topics: mcp-server, sse, weather.
Setup
{
"mcpServers": {
"mcp-server-tyfeng1997": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}
{
"mcpServers": {
"mcp-server-tyfeng1997": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}
{
"servers": {
"mcp-server-tyfeng1997": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}
MCP Weather Server — by tyfeng1997 config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server-tyfeng1997": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}
MCP Weather Server — by tyfeng1997 tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
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
Frequently asked questions
1 What tools does MCP Weather Server expose?
It exposes get-forecast (requires latitude/longitude) and get-alerts (requires a two-letter US state code).
2 What are the runtime requirements?
Node.js version 16 or newer, and npm or yarn.
3 Does the server support locations outside the US?
No, the underlying NWS API only supports US locations.
4 What transport does MCP Weather Server use?
It uses Server-Sent Events (SSE) over HTTP, not standard input/output (stdio).
5 Where can I find a companion client?
A companion client is available at tyfeng1997/mcp-client on GitHub.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In