MCP Weather
@jpan8866
关于 MCP Weather
A weather Model context protocol (MCP) tool server to allow AI agents to have access to real time weather data.
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Weather?
MCP Weather is a Python application that serves as an MCP (Model Context Protocol) tool, allowing AI assistants to access real-time weather information from the National Weather Service (NWS) API. It provides two main functions: retrieving active weather alerts for any US state and obtaining detailed weather forecasts for any US location by latitude and longitude.
How to use MCP Weather?
Clone the repository, ensure Python 3.13+ and the uv package manager are installed, then run uv run weather.py. To integrate as an MCP tool, use the command PATH/uv --directory ABSOLUTE_PATH/mcp-weather run weather.py. The server exposes two tools: Get Weather Alerts (parameter: state – two-letter US state code) and Get Weather Forecast (parameters: latitude, longitude).
Key features of MCP Weather
- Retrieve active weather alerts by US state code
- Get detailed weather forecasts for specific latitude/longitude
- Clean, formatted output for easy reading
- Built as an MCP tool for seamless AI assistant integration
Use cases of MCP Weather
- AI assistant answering “What weather alerts are active in California?”
- AI assistant providing a detailed forecast for a user’s current GPS location
- Developers embedding live NWS weather data into MCP-compatible applications
FAQ from MCP Weather
What data source does MCP Weather use?
The application uses the National Weather Service API to fetch weather data.
What are the runtime requirements for MCP Weather?
Python 3.13 or higher, the uv package manager, and dependencies httpx and mcp[cli].
How do I start the MCP Weather server for testing?
Run uv run weather.py from the project directory.
What parameters does the “Get Weather Alerts” tool require?
It requires a two-letter US state code, for example CA or NY.
What parameters does the “Get Weather Forecast” tool require?
It requires a latitude and longitude (decimal) for the location.
媒体与设计 分类下的更多 MCP 服务器
MiniMax MCP
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Design Systems Mcp
southleftI'm your specialized design systems assistant. Ask me about components, tokens, patterns, and best practices.
YouTube MCP Server
ZubeidHendricksMCP Server for YouTube API, enabling video management, Shorts creation, and advanced analytics
Framelink Figma MCP Server
GLipsMCP server to provide Figma layout information to AI coding agents like Cursor
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:
评论