mcp-sample-server
Verified Safeby sabatajoxicraft
Overview
Provides current weather alerts and detailed forecasts by leveraging the National Weather Service (NWS) API.
Installation
npm startSecurity Notes
The server uses Zod for robust input validation on tool parameters (state code length, latitude/longitude ranges), mitigating common injection risks. API calls are made to the official NWS API, and sensitive information like API keys are not hardcoded or required, as NWS does not typically require an API key for public data access. Error handling is implemented for network failures and invalid API responses. No 'eval' or other dynamic code execution from user input is present. The `USER_AGENT` and `NWS_API_BASE` are hardcoded but are not secrets.
Similar Servers
weather-mcp-server
Provides weather forecast and alert information by integrating with the National Weather Service (NWS) API, enabling external agents to query weather data for specific locations or states.
hello-mcp-server
Provides real-time weather alerts and forecasts using the National Weather Service API.
MCP-demo2-CSCI-435
This server provides real-time weather alerts for US states and detailed forecasts for specific geographic coordinates by interacting with the National Weather Service (NWS) API.
nws-mcp-server
Provides real-time weather forecasts and alerts for US locations by integrating with the National Weather Service API.