Back to Home
ravi-edutech icon

mcp-ai-weather-server

Verified Safe

by ravi-edutech

Overview

Provides current weather alerts and detailed forecasts by integrating with the National Weather Service (NWS) API, designed to extend the capabilities of an AI agent through the Model Context Protocol (MCP).

Installation

Run Command
node ./build/index.js

Security Notes

The server securely interfaces with the official National Weather Service (NWS) API using standard HTTP requests and a specific User-Agent. Input parameters for tools (state, latitude, longitude) are strictly validated using Zod, effectively preventing common injection attacks and ensuring data integrity. There are no hardcoded secrets, 'eval' statements, or other obvious malicious patterns found in the source code. Error handling for NWS API requests is implemented with try-catch blocks, and informative messages are returned on failure. The scope is limited to a well-known public API, reducing the external attack surface.

Similar Servers

Stats

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

Tags

WeatherNWS APIForecastAlertsAI Tool