Back to Home
cayour icon

Lab-7-Weather-MCP-Server

Verified Safe

by cayour

Overview

Provides real-time weather forecasts and alerts by integrating with the National Weather Service (NWS) API, primarily intended as a tool for an LLM.

Installation

Run Command
python server.py

Security Notes

The server code appears largely safe. It makes external HTTP requests to a known public API (NWS). Inputs (latitude, longitude, state) are used to construct API URLs, with coordinates rounded to prevent obvious injection. Error handling for HTTP requests is present. No 'eval' or other highly dangerous functions are used. There are no hardcoded API keys or sensitive credentials. The server operates via stdio, not exposing network ports directly. The main risk, though minor, would be unexpected behavior from the NWS API due to malformed input if not properly validated, but the current implementation shows reasonable care.

Similar Servers

Stats

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

Tags

WeatherForecastAlertsNWSAPIMCP