Back to Home
Yeahx1000 icon

mcp-weather

Verified Safe

by Yeahx1000

Overview

Serves weather information via the Model Context Protocol (MCP) as a tool for AI agents.

Installation

Run Command
npm run start

Environment Variables

  • NWS_API_BASE
  • USER_AGENT

Security Notes

The server employs good security practices by using `dotenv` for environment variable management and `zod` for robust input validation on all tool arguments (`state`, `latitude`, `longitude`), which helps prevent common injection issues. External API requests are made using values configured via environment variables (`NWS_API_BASE`, `USER_AGENT`), mitigating hardcoded secret risks. Basic error handling is in place for network requests. No 'eval', obfuscation, or other overtly malicious patterns were detected in the provided source code. A potential, albeit low, configuration risk exists if `NWS_API_BASE` or `USER_AGENT` are maliciously set in the environment, but this is an environmental concern rather than a code vulnerability.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens200
Stars0
Forks0
Last Update2026-01-19

Tags

mcpweathertypescriptnode.jsai-tool