mcp-meteoblue
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
Требования
Node.js 20 или новее
Храните ключ в секрете. Сервер считывает его из 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/query3https://my.meteoblue.com/packages/{packages}https://my.meteoblue.com/images/{forecast-image-type}
Он не предоставляет доступ к meteoblue History, Dataset, Maps, Measurements или другим API.
Лицензия
MIT
Available Tools
3 toolsget_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
Scored across 3 tools
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.
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.
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.
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
Related MCP Connectors
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
Unofficial OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)
NOAA and ECMWF weather forecast MCP for discovery, validation, and GribStream OAuth queries.
WeatherAPI.com MCP — wraps WeatherAPI.com (api.weatherapi.com)
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables MCP clients like Kiro and Claude to access current weather conditions and forecasts for any location using the OpenWeatherMap API.-
- AlicenseNot gradedqualityDmaintenanceEnables to interact with comprehensive weather data through the MCP protocol, including current conditions, multi-day forecasts, hourly forecasts, and geocoding.MIT
- AlicenseNot gradedqualityDmaintenanceConnects 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
- FlicenseAqualityCmaintenanceEnables MCP clients to retrieve current conditions, multi-day forecasts, and historical weather data for any city using plain city names.3-