Back to Home
rdwj icon

weather-mcp

Verified Safe

by rdwj

Overview

Provides real-time and historical US weather data, forecasts, and generates weather reports using MCP (Model Context Protocol) for consumption by AI/LLMs.

Installation

Run Command
python -m src.main

Environment Variables

  • NOAA_CDO_TOKEN
  • MCP_AUTH_JWT_ALG
  • MCP_AUTH_JWT_SECRET
  • MCP_AUTH_JWT_PUBLIC_KEY
  • MCP_REQUIRED_SCOPES

Security Notes

The server uses environment variables for sensitive API keys (e.g., NOAA_CDO_TOKEN) and JWT secrets, which is good practice. Dynamic loading of tools, resources, and prompts is a core feature of the FastMCP framework; this is safe assuming the source code is trusted and not modifiable by untrusted users at runtime. JWT authentication is optional, and if not configured, the HTTP endpoint will be open. CORS configuration (MCP_HTTP_ALLOWED_ORIGINS) is mentioned in the architecture but not explicitly configured in the `mcp.run` call, which might require additional FastMCP or reverse proxy configuration for production. No direct `eval()` or `exec()` usage was found that would allow arbitrary code execution through user input.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens500
Stars0
Forks0
Last Update2025-12-05

Tags

weathermcpfastmcpnoaanwsllm-toolsai-integration