Connector guide2-minute read6 MCP toolsEN · DE · IT

OpenWeather mit Gemini verbinden — über MCP

Query OpenWeather (current weather, forecasts, air quality, geocoding) from any AI agent. 6 tools, API-key auth.

HCBy HelpCode teamUpdated 2 min read Open source on GitHub

No credit card · 7-day trial · Self-host alternative available

MCP connector

OpenWeather

Query OpenWeather (current weather, forecasts, air quality, geocoding) from any AI agent. 6 tools, API-key auth.

Tools

6

Region

INTL

Category

Data & Analytics

Authentication

Query Param Auth

Required env vars

OPENWEATHER_API_KEY
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the OpenWeather in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

Summary

Query OpenWeather (current weather, forecasts, air quality, geocoding) from any AI agent. 6 tools, API-key auth.

Frag einfach

Beispiel-Prompts für OpenWeather

Klick auf einen Prompt, um ihn zu kopieren. In Claude, ChatGPT, Cursor, Gemini, Copilot oder OpenClaw einfügen — und gegen diesen Konnektor laufen lassen.

OpenWeather · live via MCP
Teilen
Opus 4.7

Claude ist KI und kann Fehler machen. Bitte Antworten gegenprüfen.

💡 Keine Installation? Nutze cloud.anythingmcp.com direkt. Einloggen, Connectors → OpenWeather klicken, Zugangsdaten einfügen, MCP-API-Key erzeugen — fertig. Kein Docker, kein git clone, kein lokaler Server.

OpenWeather + Gemini

Query OpenWeather (current weather, forecasts, air quality, geocoding) from any AI agent. 6 tools, API-key auth.

Voraussetzungen

Die vollständige Setup-Anleitung ist in den Connector eingebaut (im Store sichtbar, wenn du den Connector auswählst). Benötigte Umgebungsvariablen für diesen Connector:

OPENWEATHER_API_KEY

Schritt 1 — Zugangsdaten holen

This connector wraps the OpenWeather REST API (api.openweathermap.org).

Setup:

  1. Sign up at https://openweathermap.org/users/sign_up (free tier: 60 calls/min, 1M/month).
  2. Go to https://home.openweathermap.org/api_keys → copy the default key OR create a new one labelled e.g. mcp.
  3. Wait ~10 minutes — new keys take time to activate on the free tier.
  4. Set OPENWEATHER_API_KEY.

Authentication: every request takes appid=${OPENWEATHER_API_KEY} as a query string. The adapter injects it automatically — never include it in tool arguments.

…(continued in the in-app connector instructions)

Schritt 2 — Adapter installieren

git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d

Schritt 3 — Connector in Gemini hinzufügen

Gemini CLI liest MCP-Server aus ~/.gemini/settings.json (oder %APPDATA%\gemini\settings.json unter Windows). Hinzufügen:

{
  "mcpServers": {
    "anythingmcp": {
      "httpUrl": "https://cloud.anythingmcp.com/mcp",
      "headers": { "Authorization": "Bearer YOUR_MCP_API_KEY" }
    }
  }
}
  1. Hole deinen MCP API Key aus AnythingMCP → Profil → MCP API Keys → Neuer Key.
  2. Speichern und gemini neu starten.
  3. /mcp in Gemini CLI ausführen — OpenWeather sollte als verfügbar gelistet sein.
  4. Vertex AI Studio: https://cloud.anythingmcp.com/mcp im tools-Array der Anfrage mit demselben Bearer-Header übergeben.

Verfügbare Tools

ToolWhat it does
openweather_geocode_cityTranslate a city name (optionally with state and country code) into latitude/longitude
openweather_reverse_geocodeTranslate latitude/longitude back into a list of nearby place names
openweather_current_weatherCurrent weather at given coordinates: temperature, humidity, wind, conditions, sunrise/sunset
openweather_forecast_5day5-day weather forecast at 3-hour intervals
openweather_air_pollutionCurrent air-quality index (AQI 1-5) + concentrations of CO, NO, NO2, O3, SO2, PM2
openweather_air_pollution_forecastHourly air-pollution forecast for the next ~4 days at given coordinates

FAQ

Unterstützen Gemini 1.5 Pro oder 2.x MCP? Ja — Gemini CLI ≥ 0.4 und die Vertex AI Tools API akzeptieren MCP httpUrl-Connectors mit Bearer-Header.

Nächste Schritte

War dieser Guide hilfreich?

Ready to ship

Your OpenWeather agent is one click away.

Install the connector, paste the key, prompt Gemini. Free for 7 days, no credit card.

Verwandte Anleitungen