weather-mcp-server1
Verified Safeby megg-ops
Overview
Provides a REST API to fetch real-time weather information for a given city, likely intended for integration with a Minecraft Pocket Edition (MCP) server or client to display in-game weather.
Installation
docker build -t weather-mcp-server1 . && docker run -p 8000:8000 -e OPENWEATHER_API_KEY="YOUR_API_KEY" weather-mcp-server1Security Notes
The server acts as a proxy to the OpenWeatherMap API. It relies on a securely provided 'OPENWEATHER_API_KEY' environment variable. Input validation for the 'city' parameter is handled by the underlying requests library for URL encoding, and FastAPI's path parameters offer some level of sanitization. No direct code injection or command execution vulnerabilities are apparent.
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-server
Provides a simple FastAPI server for querying current weather information for a specified city.
weather-MCP-server
This server provides a tool to fetch current weather information for a specified location using the OpenWeatherMap API.
mcp-weather
Provides current weather, forecast, air quality, and geocoding services by integrating with the Open-Meteo API.