weather-MCP-server
Verified Safeby MadanReddy6
Overview
This server provides a tool to fetch current weather information for a specified location using the OpenWeatherMap API.
Installation
python weather_server.pyEnvironment Variables
- OPENWEATHER_API_KEY
Security Notes
The API key (OPENWEATHER_API_KEY) is properly loaded from environment variables via python-dotenv, preventing hardcoding of secrets. No 'eval' or similarly dangerous functions are used. Network requests are made using the standard 'httpx' library. The application appears secure for its intended purpose.
Similar Servers
Weather-MCP-Server
Provides comprehensive weather information and tools via a Model Context Protocol (MCP) server using FastMCP and WeatherAPI.com.
mcp-weather
Provides current weather, forecast, air quality, and geocoding services by integrating with the Open-Meteo API.
mcp-weather-bot
Provides real-time weather information to AI agents (like Claude/Cursor) via a FastMCP server.
WeatherApi_MCP_server
This server provides current weather, multi-day forecasts, and weather comparison for specified cities using the WeatherAPI.