mcp_server
Verified Safeby wfnian
Overview
Provides real-time and historical weather, air quality, and time information via an MCP server, integrating with external APIs.
Installation
python3 main.pyEnvironment Variables
- PORT
Security Notes
The server primarily makes HTTP requests to Open-Meteo APIs. Input parameters for city, dates, and timezones are directly inserted into URL query strings. While this approach is standard for GET requests, it relies on the upstream Open-Meteo API to correctly handle these as data rather than executable commands. There are no obvious signs of 'eval', 'exec', or direct OS command injection vulnerabilities within the provided code. Input validation focuses on the presence of required arguments. No hardcoded secrets were found; API keys for Open-Meteo are typically not required for free-tier access. The server supports multiple modes (stdio, SSE, streamable-http) for communication.
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_weather_yechan
This server provides a tool to fetch current weather data for a specified geographical location using an external, public API.
weather-mcp-server
Provides weather forecast and alert information by integrating with the National Weather Service (NWS) API, enabling external agents to query weather data for specific locations or states.
hello-mcp-server
Provides real-time weather alerts and forecasts using the National Weather Service API.