mcp-weather-server
Verified Safeby Yuval-Moag
Overview
Provides a production-ready Model Context Protocol (MCP) server for integrating AI applications with external weather data via streamable HTTP transport.
Installation
docker run -p 3001:3001 -e WEATHER_API_KEY=$WEATHER_API_KEY -e SERVICE_NAME=weather-mcp $(docker build -q .)Environment Variables
- WEATHER_API_KEY
Security Notes
The project implements strong security practices including environment variable-based secret management (explicitly preventing .env commit), HTTPS enforcement via Traefik, and API timeouts. It also claims non-root container security, though the provided Dockerfile snippet does not explicitly set a non-root user. CORS is set to '*' which is acceptable for a template/PoC but would ideally be tightened in a production environment.
Similar Servers
weather
This server provides weather information by integrating with an external LLM (like Claude) as a tool within the Model Context Protocol (MCP).
mcp-weather-server
Provides real-time and forecast weather data, air quality information, and multi-city weather trend analysis via the Model Context Protocol (MCP), integrating with OpenWeather and OpenRouter APIs.
mcpinabox
Builds a Model Context Protocol (MCP) server to expose weather data as tools for AI models like OpenAI's Responses API.
MCP_Weather_Tools_Server
Provides an MCP server that enables LLMs to call a structured tool for real-time weather information using the Open-Meteo API.