Skip to main content
Glama
Global Weather MCP Server

Global Weather MCP Server

by Zachwitte21

Global Weather MCP Server

The Global Weather MCP Server gives AI assistants real-time access to weather data worldwide through the Model Context Protocol. By providing weather information directly, it eliminates the need for web searches, keeping your conversations private while delivering accurate, up-to-date forecasts and conditions.

When AI assistants need weather data, they typically use web search, which means your location and queries are sent to search engines and tracked. I wanted a way to get accurate weather information in my AI applications without compromising user privacy. The Global Weather MCP Server solves this by providing direct access to weather APIs through MCP, keeping location data and queries private while still delivering real-time forecasts and conditions.

Features

This MCP server provides three tools for accessing weather data:

  • get_forecast: Get weather forecast for a location (up to 16 days)

    • Daily temperature (max/min)

    • Precipitation

    • Wind speed

    • Weather codes

  • get_current_weather: Get current weather conditions

    • Real-time temperature

    • Humidity

    • Precipitation

    • Wind speed and direction

    • Weather code

  • geocode: Convert location names to coordinates

    • Supports city names, addresses

    • Returns latitude, longitude, elevation

    • Provides up to 5 results

Related MCP server: Weather MCP Server

Installation

npm install
npm run build

Usage

With MCP Inspector

You can test this server using the MCP Inspector:

npx @modelcontextprotocol/inspector node build/index.js

With Claude Desktop

Add this to your Claude Desktop configuration:

MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "open-meteo": {
      "command": "node",
      "args": ["/absolute/path/to/Open-Meteo-MCP-Server/build/index.js"]
    }
  }
}

Example Usage

Once connected, you can ask Claude:

  • "What's the weather forecast for London?"

  • "Get current weather for latitude 40.7128, longitude -74.0060"

  • "Find coordinates for Tokyo"

API Documentation

This server uses the following Open Meteo APIs:

Development

Build

npm run build

Watch mode

npm run watch

License

MIT

Available Tools

3 tools
geocodeB

Convert a location name to geographic coordinates using Open Meteo Geocoding API. Returns latitude, longitude, and other location details.

Inputs: location (required).

get_current_weatherA

Get current weather conditions for a location using Open Meteo API. Provides real-time temperature, humidity, precipitation, and wind information.

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

get_forecastB

Get weather forecast for a location using Open Meteo API. Provides daily forecasts including temperature, precipitation, and wind speed.

Inputs: latitude (required), longitude (required), forecast_days.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: geocoding resolves locations, get_forecast returns future daily conditions, and get_current_weather returns real-time conditions. No two tools overlap in function, so an agent can reliably select the right one.

    Naming Consistency4/5

    Two tools follow a consistent get_noun snake_case pattern, while geocode is a single verb/noun term rather than get_coordinates or geocode_location. The deviation is minor and still immediately readable.

    Tool Count5/5

    Three tools are well-scoped for a focused weather server: one location resolver and two weather data endpoints. Each tool clearly earns its place without unnecessary surface area.

    Completeness4/5

    The core weather workflow is covered: geocode a place, retrieve current conditions, and retrieve a daily forecast. Minor gaps remain, such as hourly forecasts, historical weather, alerts, or batch multi-location queries, but the essential operations are present.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers