Back to Home
Furkanyolcu icon

mcp-simulation

Verified Safe

by Furkanyolcu

Overview

Serves weather forecast and alert data from the National Weather Service API as tools for an MCP-compatible AI agent.

Installation

Run Command
uv run weather.py

Environment Variables

  • ANTHROPIC_API_KEY

Security Notes

The server code (`weather.py`) uses `httpx` for external API calls to the public NWS API. Error handling employs a broad `except Exception` for network requests, which is generally discouraged as it can mask specific issues, but it does not introduce direct security vulnerabilities like arbitrary code execution. No `eval`, `exec`, hardcoded secrets (other than the public NWS API base URL), or malicious patterns were found in the server code. The client code (`client.py`) uses `load_dotenv()` for API keys, which is good practice. The client also executes a specified server script (`uv run <script>`), posing a risk if the script path is sourced from an untrusted origin, but this is a client-side execution risk rather than a server vulnerability.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2025-11-26

Tags

WeatherAPI IntegrationMCPPythonTooling