Open-Meteo MCP Server

Open-Meteo MCP Server

open-meteo-mcp•bycmer81

A Model Context Protocol server exposing the free Open-Meteo weather, climate, air quality, marine and related APIs as LLM-callable tools.

License: MIT•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Provides 17 tools spanning forecasts, ERA5 history, air quality, marine, flood, seasonal, ensemble and CMIP6 climate data, plus geocoding and elevation.
  • •Offers model-specific forecasts from providers such as DWD ICON, NOAA GFS, Météo-France, ECMWF, JMA, MET Norway and Environment Canada GEM.
  • •Supports two transports: stdio for local clients and a stateless Streamable HTTP mode for remote deployments.
  • •Includes an in-memory response cache with per-endpoint TTLs to avoid repeated calls to Open-Meteo.

BEST FOR

  • •Asking in plain language for historical temperatures at a location over a given period.
  • •Comparing ensemble forecasts from different models for a location over several days.
  • •Retrieving current air quality, UV index and pollen levels for a city.

ABOUT OPEN-METEO-MCP

Open-Meteo MCP Server is cataloged as an MCP server attributed to cmer81. A Model Context Protocol server exposing the free Open-Meteo weather, climate, air quality, marine and related APIs as LLM-callable tools. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Open-Meteo MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does using this server require an Open-Meteo API key?

No API key is needed for Open-Meteo, which is free for non-commercial use.

Can the server be pointed at a self-hosted Open-Meteo instance?

Yes; each Open-Meteo endpoint can be redirected, for example to a self-hosted Open-Meteo.

Upstream README

View this exact version on GitHub

README.md · c1a89a527f40 · Fetched 2026-11-13 11:59:45 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Open-Meteo MCP Server

Give any LLM accurate weather data: forecasts, history back to 1940, air quality, marine conditions, floods and climate projections.

npm version CI Docker image Node.js License

Features • Getting started • Tools • Remote deployment • Configuration • Development

A Model Context Protocol server for the free Open-Meteo APIs. Plug it into Claude Desktop, Claude Code or any MCP client, then ask in plain language:

What were the temperatures in London during January 2023?
Compare the ICON and GFS ensemble forecasts for Berlin over the next 5 days.
Give me the current European AQI, UV index and pollen levels in Paris.

No API key is needed: Open-Meteo is free for non-commercial use.

Features

  • 17 tools covering forecasts, ERA5 history, air quality, marine, flood, seasonal, ensemble and CMIP6 climate data, plus geocoding and elevation
  • Model-specific forecasts from DWD ICON, NOAA GFS, Météo-France, ECMWF, JMA, MET Norway and Environment Canada GEM
  • Built for LLMs: strict input schemas, server instructions that tell the model which tool answers which question, compact JSON responses capped at 25,000 characters
  • Two transports: stdio for local clients, stateless Streamable HTTP for remote deployments, with API key auth, rate limiting and origin checks
  • In-memory response cache with per-endpoint TTLs, so repeated questions don't hit Open-Meteo again
  • Self-hosting friendly: every Open-Meteo endpoint can point at your own instance

Getting started

You need Node.js 22 or later. Nothing to install beforehand: npx fetches the server on first run.

Claude Desktop

Add the server to your claude_desktop_config.json:

{
  "mcpServers": {
    "open-meteo": {
      "command": "npx",
      "args": ["-y", "-p", "open-meteo-mcp-server", "open-meteo-mcp-server"]
    }
  }
}

Claude Code

claude mcp add open-meteo -- npx -y -p open-meteo-mcp-server open-meteo-mcp-server

Other MCP clients

Any client that launches stdio servers works with the same command: npx -y -p open-meteo-mcp-server open-meteo-mcp-server. You can also install it globally with npm install -g open-meteo-mcp-server and run open-meteo-mcp-server.

[!TIP] Every data tool takes coordinates. Ask with a place name and the model will call geocoding first to resolve it.

Tools

CategoryToolWhat it answers
Coreweather_forecastForecast up to 16 days, picking the best model for the location. Recent past via past_days (up to 92)
weather_archiveHistorical weather from 1940 to yesterday (ERA5 reanalysis)
air_qualityPM2.5, PM10, ozone, NO₂, pollen, European and US AQI, UV index
marine_weatherWave height, period and direction, swell, sea surface temperature
geocodingPlace name or postal code to coordinates
elevationTerrain height for coordinates
Modelsdwd_icon_forecastDWD ICON (Germany, high resolution over Europe)
gfs_forecastNOAA GFS (global, high resolution over North America)
meteofrance_forecastMétéo-France AROME and ARPEGE
ecmwf_forecastECMWF IFS and AIFS
jma_forecastJapan Meteorological Agency
metno_forecastMET Norway (Nordic countries)
gem_forecastEnvironment Canada GEM
Advancedensemble_forecastForecast uncertainty across ensemble members. models is required
seasonal_forecastOutlook from a few weeks to about 7 months ahead
climate_projectionCMIP6 climate projections, 1950 to 2050
flood_forecastRiver discharge from GloFAS

weather_forecast is the default choice. The model-specific tools are for when a particular model is asked for, or to compare models with one call each.

Responses

  • Times are GMT unless timezone is set. timezone: "auto" uses the location's local time.
  • null in a series means the model has no value for that time, not zero.
  • Responses over 25,000 characters have their hourly / daily / minutely_15 arrays shortened by the same ratio, keeping series aligned, and gain truncated: true with a truncation_message. Narrow the date range or the variables to get everything.

The full list of variables and parameters is in each tool's input schema and in the Open-Meteo documentation.

Remote deployment

Set TRANSPORT=http to serve MCP over Streamable HTTP at /mcp instead of stdio:

TRANSPORT=http HOST=0.0.0.0 PORT=3000 API_KEY=your-secret-key npx open-meteo-mcp-server

Clients then send the key with every request, as Authorization: Bearer <key> or X-API-Key: <key>. GET /health answers {"status":"ok"} without a key, for container probes.

The transport is stateless: each POST /mcp is handled on its own, no session ID is issued, and GET / DELETE /mcp answer 405. No tool keeps state between calls, so clients lose nothing.

[!IMPORTANT] The server binds to 127.0.0.1 by default, so it is reachable only from the local machine. Set HOST=0.0.0.0 to accept remote connections, and set API_KEY whenever you do: without it, the server runs in open mode.

Docker

A prebuilt image is published to the GitHub Container Registry. It already binds to 0.0.0.0:

docker run -d --name open-meteo-mcp -p 3000:3000 \
  -e API_KEY=your-secret-key \
  ghcr.io/cmer81/open-meteo-mcp:latest

Tags follow the npm version without the v prefix: latest, 2.5.1, 2.5, 2.

The repository also has docker-compose.yml (prebuilt image) and docker-compose.dev.yml (builds from source). Copy .env.example to .env to configure them.

claude.ai traffic

Every claude.ai user reaches a remote server from Anthropic's outbound range 160.79.104.0/21. That range gets its own rate-limit pool (RATE_LIMIT_ANTHROPIC_RPM) so they don't all share one per-IP budget. Behind a reverse proxy, list the proxy in TRUSTED_PROXIES so the real client IP is seen.

Configuration

All variables are optional.

Server

VariableDefaultDescription
TRANSPORTstdiohttp for Streamable HTTP
PORT3000HTTP port
HOST127.0.0.1Interface to bind. 0.0.0.0 accepts remote connections
OPEN_METEO_CACHE_MAX_BYTES20000000Response cache size, in bytes of serialized JSON. 0 disables it

The cache keeps forecasts and ensembles for 15 minutes, air quality and marine for 30 minutes, flood for 1 hour, seasonal for 6 hours, archive and climate for 24 hours, geocoding for 7 days and elevation for 30 days. Archive ranges ending within the last 5 days are kept for 1 hour only, since Open-Meteo is still backfilling them. Failed requests are never cached.

[!NOTE] The cache counts serialized JSON, but the parsed objects in memory take about 1.2 to 2.6 times as much. A full cache at the default size costs about 50 MB of heap.

HTTP security

VariableDefaultDescription
API_KEYunset (open)Key required on every /mcp request
RATE_LIMIT_RPM60Requests per minute per client IP. IPv6 clients are grouped by /56
RATE_LIMIT_ANTHROPIC_RPM600Requests per minute shared by all claude.ai traffic
TRUSTED_PROXIESunsetComma-separated IPs or CIDRs whose X-Forwarded-For is trusted
ALLOWED_ORIGINSemptyComma-separated browser origins allowed. Any request with an unlisted Origin header gets 403 (DNS rebinding protection). Requests without one are unaffected

Custom Open-Meteo instance

Each endpoint can be redirected, for example to a self-hosted Open-Meteo:

VariableDefault
OPEN_METEO_API_URLhttps://api.open-meteo.com
OPEN_METEO_ARCHIVE_API_URLhttps://archive-api.open-meteo.com
OPEN_METEO_AIR_QUALITY_API_URLhttps://air-quality-api.open-meteo.com
OPEN_METEO_MARINE_API_URLhttps://marine-api.open-meteo.com
OPEN_METEO_SEASONAL_API_URLhttps://seasonal-api.open-meteo.com
OPEN_METEO_ENSEMBLE_API_URLhttps://ensemble-api.open-meteo.com
OPEN_METEO_GEOCODING_API_URLhttps://geocoding-api.open-meteo.com
OPEN_METEO_FLOOD_API_URLhttps://flood-api.open-meteo.com
OPEN_METEO_CLIMATE_API_URLhttps://climate-api.open-meteo.com

In Claude Desktop, pass them through the env key of the server entry.

Skills

The skills/ directory holds two SKILL.md guides that help an assistant pick the right tool and parameters:

SkillBest for
open-meteoEveryday weather: forecasts, history, air quality, marine, elevation
open-meteo-advancedSpecific models, ensemble uncertainty, seasonal outlooks, climate projections

For Claude Code, copy them to ~/.claude/skills/:

cp -r skills/open-meteo skills/open-meteo-advanced ~/.claude/skills/

For Claude Desktop, upload the relevant SKILL.md into the conversation.

Development

git clone https://github.com/cmer81/open-meteo-mcp.git
cd open-meteo-mcp
npm install
npm run build
CommandDescription
npm run dev / npm run dev:httpRun from source with auto-reload (stdio / HTTP)
npm testUnit tests (network mocked)
npm run typecheck / npm run lintType checking and Biome linting
npm run smokeCalls all 17 tools against the live API through a real MCP client. Needs a prior build
npm run evalLLM-usability benchmark, see below

To point Claude Desktop at your local build, use "command": "node" with "args": ["/path/to/open-meteo-mcp/dist/index.js"].

Evaluations

evals/evaluation.xml checks whether an LLM given only this server's tools can answer realistic questions. Its 14 questions rely on stable data (ERA5 archive, CMIP6 projections, geocoding, elevation), so the expected answers don't drift.

pip install -r evals/scripts/requirements.txt
export ANTHROPIC_API_KEY=...        # or put it in .env

npm run build && npm run eval
npm run eval -- --no-server-instructions   # baseline without the server instructions

[!WARNING] The evaluation calls the real Anthropic API for every question and consumes credits. It is a manual check, not part of CI.

Contributions are welcome: see CONTRIBUTING.md.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Open-Meteo MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/open-meteo-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research