Back to Home
marekdano icon

weather-mcp-server

Verified Safe

by marekdano

Overview

Provide current weather information for cities via an MCP server.

Installation

Run Command
docker run --rm --env-file .env -p 3000:3000 weather-mcp-server

Environment Variables

  • WEATHER_API_KEY

Security Notes

The server uses dotenv for environment variable loading, and Zod for API response validation, which are good security practices. External API calls are made to OpenWeatherMap. The 'greeting' resource directly embeds user input into a text field, which could pose a minor XSS risk if the output is rendered unsafely in a web UI, but is less of a concern within the Model Context Protocol where consumption is typically by an AI model. No 'eval' or malicious patterns were found.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens200
Stars0
Forks0
Last Update2025-12-01

Tags

MCPWeatherAPITypeScriptNode.js