Weather
Provides real-time weather data and forecasts to AI models and language assistants through an API.
概要
mcp-weather is a lightweight, Python-based server designed to integrate real-time weather data with AI models using the Model Context Protocol (MCP). It allows AI assistants and large language models (LLMs) to access dynamic meteorological information, such as current conditions and multi-day forecasts, by exposing specialized 'tools' that query external weather APIs. The project serves as a practical demonstration of building an MCP server, connecting it to third-party services like OpenWeatherMap, and making that functionality discoverable and usable by any MCP-compatible AI client, thereby enhancing the AI's ability to deliver contextually relevant and up-to-date responses.
主な機能
- Full compatibility with the Model Context Protocol (MCP)
- Multi-Day Weather Forecasts
- Secure API key management via environment variables
- 0 GitHub stars
- Asynchronous operations for efficient external API requests
- Real-time Weather Queries for global cities
ユースケース
- Integrate dynamic meteorological data into MCP-compatible AI applications.
- Enable AI assistants to answer user questions about current weather conditions.
- Allow LLMs to provide multi-day weather forecasts for specified locations.