Skip to main content
Glama
dylangroos

Weather MCP Server

by dylangroos

Weather MCP Server

A Model Context Protocol (MCP) server providing weather information from the National Weather Service API. This server implements MCP tools that can be used by AI models to retrieve weather forecasts and alerts.

What is Model Context Protocol?

The Model Context Protocol (MCP) enables AI models to access external data and services through a standardized interface. This weather MCP server offers AI models the ability to retrieve real-time weather information for locations in the United States.

Related MCP server: Weather MCP Server

Features

  • Weather Alerts: Get active weather alerts for any US state

  • Weather Forecasts: Get detailed weather forecasts for any US location by coordinates

  • MCP Compatible: Implements the Model Context Protocol for easy integration with AI systems

Installation

npm install

Build

npm run build

Running the Server

npm start

Development

npm run dev

Tools Available

get-alerts

Gets active weather alerts for a US state.

Parameters:

  • state: Two-letter state code (e.g., CA, NY)

get-forecast

Gets weather forecast for a location.

Parameters:

  • latitude: Latitude of the location (-90 to 90)

  • longitude: Longitude of the location (-180 to 180)

How It Works

This server connects to the National Weather Service (NWS) API to fetch real-time weather data. It communicates using the Model Context Protocol over stdio, allowing AI models to seamlessly access weather information during conversations.

License

See the LICENSE file for details.

A
license - permissive license
-
quality - not tested
D
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.

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/dylangroos/mcp-weather'

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