Skip to main content
Glama
MCP Weather Server

MCP Weather Server

by broerjuang

MCP Weather Server

A containerized Model Context Protocol (MCP) server that provides weather tools for AI assistants using the National Weather Service API.

πŸš€ Quick Start

1. Build Docker Image

make docker-build

2. Add to Cursor

Create or edit ~/.cursor/mcp.json:

{
  "mcpServers": {
    "weather": {
      "command": "docker",
      "args": ["run", "--rm", "-i", "mcp-weather-server:latest"],
      "env": {}
    }
  }
}

3. Restart Cursor

Close and reopen Cursor to load the weather server.

Related MCP server: Weather MCP Server

🌀️ Available Tools

  • get_alerts - Weather alerts for any US state (e.g., CA, NY)

  • get_forecast - Weather forecast for coordinates (latitude, longitude)

πŸ§ͺ Test Usage

In Cursor chat:

"Get weather alerts for California"
"What's the weather forecast for coordinates 40.7128, -74.0060?"

πŸ“‹ Requirements

  • Docker Desktop running

  • Cursor IDE

πŸ”§ Commands

make docker-build     # Build image
make test-docker      # Test container
make help            # See all commands

Weather data from National Weather Service (US locations only)

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol server that provides AI agents with tools to retrieve weather alerts and detailed forecasts for US locations using the National Weather Service API.
      2
      104 npm
      1
      GPL 3.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that enables AI models to fetch weather alerts and detailed forecasts for US locations using the National Weather Service API.
      104 npm
      GPL 3.0
    • A
      license
      B
      quality
      D
      maintenance
      Enables AI assistants to access real-time US weather forecasts and alerts through the National Weather Service API.
      2
      11 npm
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A demo MCP server that provides AI assistants access to live US weather data via the free National Weather Service API, offering forecast and alert tools without requiring an API key.
      -