Skip to main content
Glama
Weather MCP Server (NWS)

Weather MCP Server (NWS)

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLogging level: debug, info, warn, error, or silent. Logs go to stderr.info
NWS_API_BASENoOverride the NWS API base URL, normally only to test against a mock.https://api.weather.gov
NWS_TIMEOUT_MSNoPer-request timeout in milliseconds (1000–120000).15000
NWS_USER_AGENTNoIdentifies your client to the NWS API. Adding a contact, e.g. my-app/1.0 (you@example.com), is good practice.mcp-weather-server/1.0.0 (local MCP server)
NWS_MAX_RETRIESNoNumber of retries on network error, timeout, or 5xx responses (0–5).1

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Weather tools backed by the US National Weather Service. Coverage is limited to the United States and its territories. Use get_alerts with a 2-letter state code, and get_forecast with decimal coordinates.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_alertsA

Get active weather alerts (warnings, watches, advisories) issued by the US National Weather Service for a US state or territory. Returns event type, affected area, severity, description and instructions.

get_forecastA

Get the US National Weather Service forecast for a latitude/longitude inside the United States or its territories. Returns up to 7 days of 12-hour periods with temperature, conditions, wind speed and direction.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 2 tools

Disambiguation5/5

get_alerts and get_forecast target clearly different resources (alerts vs. forecasts) with distinct input parameters (state vs. lat/lon). No overlap in purpose.

Naming Consistency5/5

Both follow a consistent get_noun pattern. Perfectly predictable.

Tool Count3/5

Only 2 tools for a weather server is thin; a forecast-by-address or point-metadata lookup would round it out. Still, both tools earn their place and the scope is narrow.

Completeness3/5

Core forecast and alert retrieval are covered, but there's no way to resolve a place name or zip to lat/lon, forcing the agent to know coordinates. Hourly forecasts and historical data are also absent.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues