Skip to main content
Glama
mcp-meteoblue
by unixfox

mcp-meteoblue

MCP-сервер для meteoblue Weather API, написанный на JavaScript. Он позволяет MCP-клиентам искать местоположения, получать прогнозы с использованием пакетов, доступных через Free Weather API, и запрашивать изображения метеограмм прогноза.

Инструменты

  • search_locations находит города, почтовые индексы и коды аэропортов IATA/ICAO через meteoblue Location Search.

  • get_forecast принимает либо название места, либо координаты и возвращает JSON с прогнозом. По умолчанию он выдаёт текущую, почасовую и суточную погоду.

  • get_forecast_image принимает либо название места, либо координаты и возвращает изображение прогноза напрямую MCP-клиенту.

Названия мест, передаваемые в инструменты прогноза и изображений, всегда определяются с помощью официального API meteoblue Location Search. Входные данные пакетов прогноза ограничены пакетами, перечисленными в документации Free Weather API.

[!NOTE] В текущей документации Free Weather API от meteoblue указано, что изображения требуют более высокого уровня доступа. Инструмент изображений включён для ключей с правом Image API, в противном случае он вернёт понятную ошибку авторизации.

Related MCP server: mcp-weather

Требования

Храните ключ в секрете. Сервер считывает его из METEOBLUE_API_KEY; он никогда не является частью пакета или аргументов инструментов MCP.

Запуск из npm

Добавьте этот stdio-сервер в конфигурацию вашего MCP-клиента:

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

Или запустите его напрямую:

METEOBLUE_API_KEY=your_api_key_here npx -y mcp-meteoblue

Сервер использует stdio, поэтому он намеренно не выводит обычный вывод в терминал, пока ожидает MCP-клиента.

Docker

Соберите образ локально:

docker build -t mcp-meteoblue .

Настройте stdio-сервер на базе Docker в вашем MCP-клиенте:

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

Контейнер работает от непривилегированного пользователя node. Используйте -i, чтобы держать stdin открытым, так как обмен данными с MCP выполняется через stdio.

Локальная разработка

npm install
npm test
METEOBLUE_API_KEY=your_api_key_here npm start

Укажите MCP-клиенту на node /absolute/path/to/mcp-meteoblue/src/index.js и задайте переменную окружения в конфигурации клиента.

Релизы

GitHub Actions запускает тестовый набор и проверяет npm-архив на Node.js 20, 22, 24 и 26 при каждом push и pull request. Dependabot еженедельно проверяет зависимости npm и GitHub Actions.

При push Git-тега v* запускается .github/workflows/publish.yml. Workflow использует npm trusted publishing (OIDC) и автоматически прикрепляет provenance.

Настройте npm trusted publisher со следующими параметрами:

  • Владелец GitHub: unixfox

  • Репозиторий: mcp-meteoblue

  • Рабочий процесс: publish.yml

  • Окружение: npm

Если настроен trusted publishing, в GitHub не сохраняется ни один npm-токен.

Ограничения API

Сервер обращается только к:

  • https://www.meteoblue.com/{language}/server/search/query3

  • https://my.meteoblue.com/packages/{packages}

  • https://my.meteoblue.com/images/{forecast-image-type}

Он не предоставляет доступ к meteoblue History, Dataset, Maps, Measurements или другим API.

Лицензия

MIT

Available Tools

3 tools
get_forecastGet meteoblue weather forecastA

Get meteoblue forecast JSON by place name or coordinates. Place names are resolved through the Location Search API. Only packages documented for the Free Weather API are accepted.

Inputs: language, latitude, location, packages, +9 more.

get_forecast_imageGet meteoblue forecast imageA

Generate a meteoblue forecast meteogram by place name or coordinates. Returns the PNG directly. Image access depends on the API key's meteoblue entitlement.

Inputs: type, options, language, latitude, +4 more.

search_locationsSearch meteoblue locationsB

Resolve a city, place, postal code, IATA code, or ICAO code to coordinates and elevation using the meteoblue Location Search API.

Inputs: query (required), page, limit, language, +1 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: location resolution, raw forecast data, and forecast image generation. The two forecast tools are differentiated by output format (JSON vs PNG), so there is no practical ambiguity.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern: search_locations, get_forecast, get_forecast_image. The naming clearly communicates both the action and the target.

    Tool Count5/5

    Three tools is well-scoped for a small weather API server: one for geocoding, one for data, one for imagery. Each tool serves a distinct step in the core location-to-forecast workflow.

    Completeness4/5

    The surface covers the essential meteorology workflow: resolve a location, retrieve forecast data, and generate a forecast image. A minor gap is the lack of separate current-conditions or historical-weather tools, but forecasts likely include current data and the core purpose is well covered.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables to interact with comprehensive weather data through the MCP protocol, including current conditions, multi-day forecasts, hourly forecasts, and geocoding.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Connects MCP clients to Weathersight weather data APIs, enabling queries about historical observations, typical climate, extremes, degree days, and long-term trends for locations worldwide.
      MIT