unixfox

mcp-meteoblue

Community unixfox
Updated

MCP server for meteoblue weather forecasts, images, and location search

mcp-meteoblue

An MCP server for the meteoblue Weather API, written in JavaScript. It lets MCP clients search for locations, fetch forecasts using packages available through the Free Weather API, and request forecast meteogram images.

Tools

  • search_locations resolves cities, postal codes, and IATA/ICAO airport codes with meteoblue Location Search.
  • get_forecast accepts either a place name or coordinates and returns forecast JSON. It defaults to current, hourly, and daily weather.
  • get_forecast_image accepts either a place name or coordinates and returns a forecast image directly to the MCP client.

Place names passed to forecast or image tools are always resolved through the official meteoblue Location Search API. Forecast package inputs are restricted to the packages listed in the Free Weather API documentation.

[!NOTE]meteoblue's current Free Weather API documentation says that images require a higher access level. The image tool is included for keys with an Image API entitlement and will return a clear authorization error otherwise.

Requirements

Keep the key private. This server reads it from METEOBLUE_API_KEY; it is never part of the package or MCP tool arguments.

Run from npm

Add this stdio server to your MCP client configuration:

{
  "mcpServers": {
    "meteoblue": {
      "command": "npx",
      "args": ["-y", "mcp-meteoblue"],
      "env": {
        "METEOBLUE_API_KEY": "your_api_key_here"
      }
    }
  }
}

Or run it directly:

METEOBLUE_API_KEY=your_api_key_here npx -y mcp-meteoblue

The server uses stdio, so it intentionally produces no normal terminal output while it waits for an MCP client.

Docker

Build the image locally:

docker build -t mcp-meteoblue .

Configure a Docker-based stdio server in your MCP client:

{
  "mcpServers": {
    "meteoblue": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "--env",
        "METEOBLUE_API_KEY",
        "mcp-meteoblue"
      ],
      "env": {
        "METEOBLUE_API_KEY": "your_api_key_here"
      }
    }
  }
}

The container runs as the unprivileged node user. Keep stdin open with -i because MCP communication uses stdio.

Develop locally

npm install
npm test
METEOBLUE_API_KEY=your_api_key_here npm start

Point an MCP client at node /absolute/path/to/mcp-meteoblue/src/index.js and set the environment variable in that client's configuration.

Releases

GitHub Actions runs the test suite and validates the npm tarball on Node.js 20, 22, 24, and 26 for every push and pull request. Dependabot checks npm and GitHub Actions dependencies weekly.

Pushing a v* Git tag triggers .github/workflows/publish.yml. The workflow uses npm trusted publishing (OIDC) and automatically attaches provenance. Configure the npm trusted publisher with:

  • GitHub owner: unixfox
  • Repository: mcp-meteoblue
  • Workflow: publish.yml
  • Environment: npm

No npm token is stored in GitHub when trusted publishing is configured.

API scope

The server calls only:

  • https://www.meteoblue.com/{language}/server/search/query3
  • https://my.meteoblue.com/packages/{packages}
  • https://my.meteoblue.com/images/{forecast-image-type}

It does not expose meteoblue History, Dataset, Maps, Measurements, or other APIs.

License

MIT

MCP Server · Populars

MCP Server · New

    qcri

    🦡 codebadger

    🦡 codebadger is a containerized Model Context Protocol (MCP) server that gives AI agents and LLMs deep, queryable access to a codebase's structure and data flow through Joern Code Property Graphs (CPGs).

    Community qcri
    boringSQL

    DryRun PostgreSQL MCP

    PostgreSQL schema intelligence MCP server with offline linting, migration safety, query validation for AI coding assistants.

    Community boringSQL
    emerzon

    mtdata

    A MetaTrader 5 research toolkit with 90+ AI tools for forecasting, regime detection, pattern recognition, and live trading.

    Community emerzon
    OpenImageDebugger

    Open Image Debugger: Enabling visualization of in-memory buffers on GDB/LLDB

    An advanced in-memory image visualization plugin for GDB and LLDB on Linux, with experimental support for MacOS and Windows. Previously known as gdb-imagewatch. Also available as an extension for VSCode and forks

    Community OpenImageDebugger
    HQBase

    HQBase

    Your team's email workspace. In your Cloudflare account.

    Community HQBase