mcp-server-weather
Verified Safeby Curator4
Overview
Fetches current weather data for a specific city and country using the OpenWeatherMap API.
Installation
go run main.goEnvironment Variables
- OPENWEATHER_APIKEY
Security Notes
Generally safe. The OpenWeatherMap API key is securely loaded from environment variables (or .env file) and not hardcoded. No 'eval' or other dynamic code execution patterns were found. Minor concern: user-provided 'city' and 'country' inputs are directly concatenated into the OpenWeatherMap API URL via `fmt.Sprintf` without explicit URL encoding/escaping, which could potentially cause issues with unusual characters in the city or country names, though unlikely for typical weather queries.
Similar Servers
mcp_weather_server
Provides current and historical weather, air quality, and timezone information via an MCP server, integrating with the Open-Meteo API.
MCP-Server
The server provides weather alerts and forecasts for a US state or location, acting as a set of tools for an MCP agent.
mcp-server-weather
Provides current weather, hourly forecasts, and geocoding-based location lookup using the Open-Meteo API.
mcp_server_weather_yechan
This server provides a tool to fetch current weather data for a specified geographical location using an external, public API.