Back to Home
Abhishek3689 icon

WeatherApi_MCP_server

Verified Safe

by Abhishek3689

Overview

The server provides programmatic access to current weather conditions and forecasts for specified cities using the WeatherAPI.com service.

Installation

Run Command
python weather.py

Environment Variables

  • WEATHER_API_KEY

Security Notes

The application retrieves the `WEATHER_API_KEY` from environment variables using `os.getenv`, which is a good security practice for handling sensitive information. There are no apparent uses of dangerous functions like `eval`, `exec`, or `subprocess` that could lead to command injection. Network requests are handled by `httpx`, a standard and secure library, with appropriate timeouts. The code appears safe for its intended purpose.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens250
Stars0
Forks0
Last Update2025-12-03

Tags

WeatherAPIFastMCPTool ServerForecast