Back to Home

weather-mcp-server1

Verified Safe

by 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

Run Command
docker build -t weather-mcp-server1 . && docker run -p 8000:8000 -e OPENWEATHER_API_KEY="YOUR_API_KEY" weather-mcp-server1

Security 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

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens150
Stars0
Forks0
Last Update2025-11-18

Tags

PythonFastAPIWeather APIRESTMicroservice