Weather_MCP_Server
Verified Safeby Abhishek3689
Overview
Provides real-time weather data, forecasts, and weather comparison between cities to AI assistants via an MCP server.
Installation
python weather_server_mcp.pyEnvironment Variables
- WEATHER_API_KEY
Security Notes
The server uses `os.getenv` for the API key, preventing hardcoding. It uses `httpx` for secure HTTP requests and includes basic error handling for API calls. No dangerous functions like `eval` or obfuscation are present. The primary external interaction is with WeatherAPI.com, which is the intended function.
Similar Servers
mcp_weather_server
Provides current and historical weather, air quality, and time information for specified cities/timezones using the Open-Meteo API, supporting various Model Context Protocol (MCP) transport modes.
mcp-ai-weather-server
Provides current weather alerts and detailed forecasts by integrating with the National Weather Service (NWS) API, designed to extend the capabilities of an AI agent through the Model Context Protocol (MCP).
weather-mcp
Provides real-time and historical US weather data, forecasts, and generates weather reports using MCP (Model Context Protocol) for consumption by AI/LLMs.
mcp-server-collection
Provides Model Context Protocol (MCP) servers for real-time weather data retrieval and Stable Diffusion-based AI image generation and management.