Skip to main content
Glama

MCP Weather Server

by broerjuang
82

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.

๐ŸŒค๏ธ 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)

-
security - not tested
F
license - not found
-
quality - not tested

A containerized server that provides weather tools for AI assistants, allowing them to access US weather alerts and forecasts through the National Weather Service API.

  1. ๐Ÿš€ Quick Start
    1. 1. Build Docker Image
    2. 2. Add to Cursor
    3. 3. Restart Cursor
  2. ๐ŸŒค๏ธ Available Tools
    1. ๐Ÿงช Test Usage
      1. ๐Ÿ“‹ Requirements
        1. ๐Ÿ”ง Commands

          Related MCP Servers

          • A
            security
            F
            license
            A
            quality
            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.
            Last updated -
            2
            82
          • -
            security
            F
            license
            -
            quality
            A standardized API server that enables AI agents and client applications to fetch current weather information for any location without directly interacting with external weather APIs.
            Last updated -
            • Apple
            • Linux
          • -
            security
            F
            license
            -
            quality
            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.
            Last updated -
            82
          • A
            security
            A
            license
            A
            quality
            A JavaScript ES Modules server that provides weather information including alerts and forecasts for US locations using the National Weather Service API.
            Last updated -
            3
            Apache 2.0
            • Apple

          View all related MCP servers

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

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