Back to Home
Ujjwal-Pandit icon

weather-mcp-server

Verified Safe

by Ujjwal-Pandit

Overview

Implements Model Context Protocol (MCP) servers for providing weather information, mathematical calculations, and demonstrates model distillation for AI agents.

Installation

Run Command
uv run weather.py

Security Notes

The 'calc.py' server uses SymPy's 'sympify' function to parse user-provided mathematical expressions. While 'convert_xor=True' is used to mitigate some risks, 'sympify' can still be a vector for resource exhaustion attacks or potential code injection if input is not rigorously sanitized or run in a highly restricted sandbox. Generic 'except Exception' blocks in 'weather.py' might mask specific issues but prevent crashes. No obvious hardcoded sensitive credentials found.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassLow
Avg Tokens200
Stars0
Forks0
Last Update2025-12-03

Tags

MCPWeatherCalculatorModel DistillationAI Tools