MCP Weather Server
@tyfeng1997
关于 MCP Weather Server
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-server-tyfeng1997": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}工具
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)
概览
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.
媒体与设计 分类下的更多 MCP 服务器
Figma MCP Server
JayArrowzFigma MCP Server with full API functionality
yt-dlp-mcp
kevinwattA Model Context Protocol (MCP) server that bridges Video & Audio content with Large Language Models using yt-dlp.
Image-Gen-Server
fengin一个能与Cursor集成的图片生成mcp server工具,实现调用即梦逆向接口

Spotify MCP
varunnealMCP to connect your LLM with Spotify.

BibiGPT AI video & audio summarizer
JimmyLvOpenClaw / Claude Code / Codex Agent skill for summarizing videos/audio via BibiGPT CLI (bibi)
评论