Skip to main content
Glama
Weather MCP Server

Weather MCP Server

by joescaos

Weather MCP Server Powered by the Open-Meteo API

This MCP server interfaces with the Open-Meteo API and offers tools to fetch current weather conditions and weather forecasts for any location worldwide.

Requirements

  • Claude.ai account (MCP support is available for all account types)

  • Claude Desktop app, available for macOS and Windows

  • uv:

    • macOS via Homebrew: brew install uv

    • Windows via WinGet: winget install --id=astral-sh.uv -e

  • A code editor like Visual Studio Code

Related MCP server: Weather MCP Server

Installation

uv run

Development

Start the virtual environment

source .venv/bin/activate

NOTE: To stop the virtual environment:

deactivate

Run MCP server in dev mode with the MCP Inspector:

mcp dev server.py

Run MCP server in Claude Desktop

Open claude_desktop_config.json in an editor:

File location:

  • MacOS / Linux: ~/Library/Application/Support/Claude/claude_desktop_config.json

  • Windows: AppData\Claude\claude_desktop_config.json

Find the full path to uv:

  • MacOS / Linux: which uv

  • Windows: where uv

In claude_desktop_config.json:

{
  "mcpServers": {
    "weather": {
      "command": "/absolute/path/to/uv",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "mcp",
        "run",
        "/absolute/path/to/mcp-server-weather/server.py"
      ]
    }
  }
}

Reboot Claude Desktop and use a prompt that will trigger your MCP.

Usage

In Claude Desktop:

  • request current weather information for a specified location

  • request a weather forecast for a specified location and time

  • ask if it's going to rain tomorrow

  • ask if you need to put on sunscreen if you're going for a walk later

Available Tools

2 tools
get_current_weatherB

Get current weather for a location.

Args:
    latitude: Latitude of the location
    longitude: Longitude of the location

Inputs: latitude (required), longitude (required). Returns: result

get_forecastC

Get weather forecast for a location.

Args:
    latitude: Latitude of the location
    longitude: Longitude of the location

Inputs: latitude (required), longitude (required). Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 2 tools

    Disambiguation5/5

    Both tools target distinct weather data: current conditions vs. forecast. No overlap in purpose.

    Naming Consistency5/5

    Both tools follow the consistent 'get_<type>_weather' naming pattern.

    Tool Count3/5

    Only 2 tools for a weather server is minimal but covers the core functionality; could be expanded.

    Completeness3/5

    Current and forecast cover basic needs but lack alerts, historical data, or location metadata.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers