mcp-meteoblue
mcp-meteoblue
Ein MCP-Server für die meteoblue Weather API, geschrieben in JavaScript. Er ermöglicht es MCP-Clients, Orte zu suchen, Vorhersagen mithilfe der im Free Weather API verfügbaren Pakete abzurufen und Vorhersage-Meteogrammbilder anzufordern.
Tools
search_locationslöst Städte, Postleitzahlen und IATA/ICAO-Flughafencodes mit der meteoblue Location Search auf.get_forecastakzeptiert entweder einen Ortsnamen oder Koordinaten und gibt den Vorhersage-JSON zurück. Standardmäßig werden aktuelle, stündliche und tägliche Wetterdaten geliefert.get_forecast_imageakzeptiert entweder einen Ortsnamen oder Koordinaten und gibt ein Vorhersagebild direkt an den MCP-Client zurück.
Ortsnamen, die an Vorhersage– oder Bildtools übergeben werden, werden immer über die offizielle meteoblue Location Search API aufgelöst. Die Eingaben für Vorhersagepakete sind auf die in der Free Weather API-Dokumentation aufgeführten Pakete beschränkt.
[!NOTE] Die aktuelle Free Weather API-Dokumentation von meteoblue besagt, dass Bilder eine höhere Zugriffsstufe erfordern. Das Bildtool ist für Schlüssel mit einer Image-API-Berechtigung enthalten und gibt andernfalls einen klaren Autorisierungsfehler zurück.
Related MCP server: mcp-weather
Anforderungen
Node.js 20 oder neuer
Den Schlüssel privat halten. Dieser Server liest ihn aus METEOBLUE_API_KEY; er ist niemals Teil der Paket– oder MCP-Toolargumente.
Von npm ausführen
Fügen Sie diesen stdio-Server zu Ihrer MCP-Client-Konfiguration hinzu:
{
"mcpServers": {
"meteoblue": {
"command": "npx",
"args": ["-y", "mcp-meteoblue"],
"env": {
"METEOBLUE_API_KEY": "your_api_key_here"
}
}
}
}Oder führen Sie ihn direkt aus:
METEOBLUE_API_KEY=your_api_key_here npx -y mcp-meteoblueDer Server verwendet stdio und erzeugt deshalb absichtlich keine normale Terminalausgabe, während er auf einen MCP-Client wartet.
Docker
Erstellen Sie das Image lokal:
docker build -t mcp-meteoblue .Konfigurieren Sie einen Docker-basierten stdio-Server in Ihrem MCP-Client:
{
"mcpServers": {
"meteoblue": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"--env",
"METEOBLUE_API_KEY",
"mcp-meteoblue"
],
"env": {
"METEOBLUE_API_KEY": "your_api_key_here"
}
}
}
}Der Container läuft als unprivilegierter node-Benutzer. Lassen Sie stdin mit -i offen, da die MCP-Kommunikation stdio verwendet.
Lokal entwickeln
npm install
npm test
METEOBLUE_API_KEY=your_api_key_here npm startRichten Sie einen MCP-Client auf node /absolute/path/to/mcp-meteoblue/src/index.js aus und setzen Sie die Umgebungsvariable in dessen Konfiguration.
Veröffentlichungen
GitHub Actions führt bei jedem Push und Pull Request die Testsuite aus und validiert das npm-Tarball auf Node.js 20, 22, 24 und 26. Dependabot prüft wöchentlich die npm- und GitHub-Actions-Abhängigkeiten.
Das Pushen eines v*-Git-Tags löst .github/workflows/publish.yml aus. Der Workflow verwendet npm Trusted Publishing (OIDC) und hängt automatisch Provenance an. Konfigurieren Sie den npm Trusted Publisher mit:
GitHub-Inhaber:
unixfoxRepository:
mcp-meteoblueWorkflow:
publish.ymlUmgebung:
npm
Wenn Trusted Publishing konfiguriert ist, wird kein npm-Token in GitHub gespeichert.
API-Umfang
Der Server ruft nur auf:
https://www.meteoblue.com/{language}/server/search/query3https://my.meteoblue.com/packages/{packages}https://my.meteoblue.com/images/{forecast-image-type}
Er stellt nicht die meteoblue History, Dataset, Maps, Measurements oder andere APIs bereit.
Lizenz
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-