The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Weather Alerts & Forecast listing page.
An MCP server that provides:
Data is sourced from the public NWS API at https://api.weather.gov.
| Tool | Description | Inputs |
|---|---|---|
get_alerts | Fetch active NWS alerts for a US state | state (string, two-letter code) |
get_forecast | Fetch short-term forecast (next 5 periods) for coordinates | latitude (number), longitude (number) |
Install dependencies:
Run the MCP server (stdio transport):
Your MCP client should be configured to launch the server via the package entrypoint or the above module path.
See server.json for registry metadata including name, version, tools, and entrypoint configuration.
If this directory is not yet a git repo:
Create repo (GitHub CLI) and push:
If not using GitHub CLI, create the repo manually via the GitHub web UI, then:
Tag version for release consistency:
To distribute via PyPI, ensure pyproject.toml includes build backend and metadata (authors, license). Then:
MIT (adjust if different).
This server uses public NOAA/NWS endpoints. Respect API usage guidelines and rate limits.