Weather CLI App
@aryankarn
关于 Weather CLI App
A weather MCP server that provides weather alerts and forecasts using the National Weather Service API
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"Weather CLI App": {
"command": "python",
"args": [
"-m",
"weather"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Weather CLI App?
A lightweight MCP server that fetches active weather alerts and forecasts from the National Weather Service API. It provides two tools for use by AI assistants that support the Model Context Protocol, making real-time U.S. weather data accessible through conversational interfaces.
How to use Weather CLI App?
Install the package with pip install -e . in a Python 3.11+ environment, then configure an MCP-compatible AI assistant to connect to the server. Once connected, the assistant can call the get_alerts tool (US state code) to retrieve active alerts or the get_forecast tool (latitude, longitude) to obtain a 7-day forecast.
Key features of Weather CLI App
- Retrieve active weather alerts for any U.S. state
- Get weather forecasts for any coordinates
- MCP server implementation for AI assistant integration
- Uses National Weather Service API (no API key required)
- Built with httpx for asynchronous HTTP requests
Use cases of Weather CLI App
- An AI assistant notifying a user of severe weather in their state
- Obtaining a forecast to help plan outdoor events or travel
- Embedding weather-driven decision logic into automated agent workflows
- Providing real-time weather context during user conversations
FAQ from Weather CLI App
What data source does this server use?
It uses the National Weather Service (NWS) API. No API key is required, but users should respect NWS rate limits.
What tools does it expose?
Two tools: get_alerts (takes a two-letter US state code) and get_forecast (takes latitude and longitude coordinates).
What are the installation requirements?
Python 3.11 or higher. The package is installed with pip (not uv); it uses the MCP framework, httpx, and the standard MCP server tools.
How do I troubleshoot "spawn uv ENOENT" errors?
This error occurs if the environment tries to use uv instead of pip. Ensure the package is installed with pip and run the server manually via python -m weather to check for additional errors.
媒体与设计 分类下的更多 MCP 服务器
百度地图 MCP Server
baidu-mapsBaidu Map MCP Server
Video Editor MCP server
burningionMCP Interface for Video Jungle
MCP Google Map Server
cablateA powerful Model Context Protocol (MCP) server providing comprehensive Google Maps API integration with LLM processing capabilities.
Vibe Design System
mondaycom🎨 Vibe Design System - Official monday.com UI resources for application development in React.js
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.
评论