Skip to main content
Glama

Weather MCP Server

An MCP server that retrieves weather alerts and forecasts from the National Weather Service API.

Requirements

  • Node.js 18 or newer

  • An MCP-compatible client

Related MCP server: @cyanheads/nws-weather-mcp-server

Installation

npm install
npm run build

The compiled server is written to build/index.js.

MCP client configuration

Configure your MCP client to launch the built server over stdio. For example:

{
  "mcpServers": {
    "weather": {
      "command": "node",
      "args": ["/absolute/path/to/weather/build/index.js"]
    }
  }
}

Replace the path with the absolute path to this project.

Available tools

get_alerts

Returns active weather alerts for a US state.

Input:

  • state: two-letter state code, such as CA

get_forecast

Returns the forecast for a geographic location.

Input:

  • latitude: number from -90 to 90

  • longitude: number from -180 to 180

Data source

Weather data is provided by the National Weather Service API.

License

ISC

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Get US weather forecasts, active alerts, and current observations.

  • US weather, alerts, earthquakes and elevation for AI agents, from NWS/NOAA and USGS. No API keys.

  • US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/andresilvase/weather-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server