Weather MCP Server
@encoreshao
关于 Weather MCP Server
A Weather MCP server providing weather alerts and forecasts via the Model Context Protocol.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"weather-mcp-encoreshao": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Weather MCP Server?
Weather MCP Server is a Model Context Protocol server that provides weather alerts and forecasts for US locations using the National Weather Service API. It is designed for developers who want to add weather data to MCP-compatible applications such as Claude for Desktop.
How to use Weather MCP Server?
Install Node.js v16 or higher, clone the repository, run npm install and npm run build, then add the server to your MCP host’s configuration (e.g., claude_desktop_config.json) with the absolute path to build/index.js. Once connected, use the tools get-alerts (input: two-letter US state code) or get-forecast (input: latitude and longitude).
Key features of Weather MCP Server
- Get active weather alerts for any US state by two-letter code.
- Get a multi-period weather forecast for a specific latitude/longitude.
- Built on the free National Weather Service API (no API key required).
- Simple Node.js project using TypeScript and stdio transport.
Use cases of Weather MCP Server
- Check current weather alerts for a US state via a conversational AI assistant.
- Retrieve a forecast for a specific location during a travel planning conversation.
- Integrate real-time US weather data into a custom MCP host or automation workflow.
FAQ from Weather MCP Server
What data source does Weather MCP Server use?
It uses the National Weather Service (NWS) API, which is free and covers the United States and its territories.
What are the runtime requirements?
Node.js version 16 or higher is required. The server communicates via standard input/output (stdio), the default MCP transport.
How do I get weather alerts?
Use the get-alerts tool and pass a two-letter US state code (e.g., "CA" for California). The server returns a list of active alerts.
Can I get a forecast for any location in the world?
No. The forecast tool works only for locations within the United States, as data is sourced from the National Weather Service API.
Is authentication or an API key needed?
No. The National Weather Service API is public and free to use; no key or authentication is required for this server.
媒体与设计 分类下的更多 MCP 服务器
Image-Gen-Server
fengin一个能与Cursor集成的图片生成mcp server工具,实现调用即梦逆向接口
Game Asset Generator using MCP and Hugging Face Spaces
MubarakHAlketbiAn MCP server for creating 2D/3D game assets from text using Hugging Face AI models.
YouTube Transcript MCP Server
jkawamotoMCP server retrieving transcripts of YouTube videos
KiCAD MCP: AI-Assisted PCB Design
mixelpixxKiCAD MCP is a Model Context Protocol (MCP) implementation that enables Large Language Models (LLMs) like Claude to directly interact with KiCAD for printed circuit board design.
yt-dlp-mcp
kevinwattA Model Context Protocol (MCP) server that bridges Video & Audio content with Large Language Models using yt-dlp.
评论