Back to Home
laoyouf icon

weather-mcp-server

Verified Safe

by laoyouf

Overview

Provides real-time weather information for specified cities by querying the wttr.in API, primarily for use within agent frameworks like HelloAgents.

Installation

Run Command
python server.py

Environment Variables

  • PORT
  • HOST

Security Notes

The server uses the 'requests' library to call the 'wttr.in' public API. User-provided city names are passed directly into the URL for the external API call. While 'wttr.in' is generally robust, passing unsanitized user input directly into a URL path could theoretically pose a minor risk if the external API had specific vulnerabilities, though the 'requests' library usually handles basic URL encoding. There are no direct uses of 'eval', 'exec', or 'os.system' with user input. No hardcoded secrets were found. Network requests include a timeout. Overall, it is quite safe for its intended purpose.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens60
Stars0
Forks0
Last Update2025-11-20

Tags

weatherreal-timehelloagentsmcp-serverapi