Weather MCP Server
@Jai-Keshav-Sharma
关于 Weather MCP Server
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"Creating-Weather-MCP-Server": {
"command": "docker",
"args": [
"pull",
"ksharma9719/weather-mcp-server"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Weather MCP Server?
Weather MCP Server is a Model Context Protocol (MCP) server implementation that provides weather alerts for US states using the National Weather Service API. It is built with the MCP Python SDK and is intended for developers integrating weather data into AI assistants, CLI tools, or custom applications.
How to use Weather MCP Server?
Install dependencies via pip install -r mcpserver/requirements.txt or pull the Docker image ksharma9719/weather-mcp-server. Run the server locally with python weather.py or in Docker with docker run -p 8000:8000 ksharma9719/weather-mcp-server. Invoke the included get_alerts tool by providing a two-letter US state code (e.g., CA). Connect using any of the provided client examples (stdio, SSE, or LLM‑powered CLI).
Key features of Weather MCP Server
- Provides weather alerts for US states via the National Weather Service API
- Supports stdio and SSE (Server-Sent Events) transport
- Includes an LLM-powered CLI client using Groq
- Offers Docker containerization for easy deployment
- Integrates with Claude Desktop and Cursor IDE
- Built-in conversation memory support
Use cases of Weather MCP Server
- Fetching active weather alerts for a specific US state
- Integrating real-time weather data into an LLM-based assistant
- Automating weather notifications through an MCP-compatible client
- Testing or demonstrating custom MCP server implementations
- Building a containerized weather alert service for cloud deployment
FAQ from Weather MCP Server
What are the runtime requirements?
Python 3.11 or higher and the uv package manager are required for local development. Docker is optional but recommended for containerized use.
How do I get weather alerts for a state?
Call the get_alerts tool with the state parameter set to a two-letter US state code (e.g., "CA" for California).
Does the server need an external API key?
The National Weather Service API used for alerts requires no key. An optional GROQ_API_KEY environment variable is needed only if you want to use the LLM‑powered CLI client.
Can I run Weather MCP Server in Docker?
Yes. Pull the pre-built image from Docker Hub (ksharma9719/weather-mcp-server) or build locally using the provided Dockerfile in the mcpserver directory.
What transport options are available?
The server supports both stdio and SSE (Server-Sent Events) transports. Example clients for both are included in the repository.
媒体与设计 分类下的更多 MCP 服务器
Design Systems Mcp
southleftI'm your specialized design systems assistant. Ask me about components, tokens, patterns, and best practices.
RustChain MCP
ScottcjnMCP server for RustChain blockchain and BoTTube video platform — AI agent tools for earning RTC tokens. Built on createkr's RustChain SDK.
Photoshop MCP Server
loonghaoA Model Context Protocol (MCP) server that interfaces with Adobe Photoshop's Python API. Enables LLMs to execute image editing operations, automate workflows, and manage Photoshop tasks through structured commands and context-aware interactions.
MiniMax MCP
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Figma MCP Server
JayArrowzFigma MCP Server with full API functionality
评论