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.
「メディアとデザイン」の他のコンテンツ
MiniMax MCP JS
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) JavaScript implementation that provides seamless integration with MiniMax's powerful AI capabilities including image generation, video generation, text-to-speech, and voice cloning APIs.
Melrōse - programming of music melodies
emickleiinteractive programming of melodies, producing MIDI
MiniMax MCP
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
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.
Vibe Design System
mondaycom🎨 Vibe Design System - Official monday.com UI resources for application development in React.js
コメント