No install? Use cloud.anythingmcp.com directly.
Sign in, install the OpenWeather in one click, paste the credentials, mint an MCP API key — done. No Docker, no git clone, no local server to run.
TL;DR
Query OpenWeather (current weather, forecasts, air quality, geocoding) from any AI agent. 6 tools, API-key auth.
💡 Niente installazione? Vai direttamente su cloud.anythingmcp.com. Accedi, clicca Connectors → OpenWeather, inserisci le credenziali, genera una MCP API key — fatto. Niente Docker, niente
git clone, niente server locale.
OpenWeather + Gemini
Query OpenWeather (current weather, forecasts, air quality, geocoding) from any AI agent. 6 tools, API-key auth.
Prerequisiti
Le istruzioni di setup complete sono incluse nel connettore stesso (visibili nello store quando lo selezioni). Le variabili d'ambiente richieste sono:
OPENWEATHER_API_KEY
Step 1 — Ottieni le credenziali
This connector wraps the OpenWeather REST API (api.openweathermap.org).
Setup:
- Sign up at https://openweathermap.org/users/sign_up (free tier: 60 calls/min, 1M/month).
- Go to https://home.openweathermap.org/api_keys → copy the default key OR create a new one labelled e.g.
mcp. - Wait ~10 minutes — new keys take time to activate on the free tier.
- 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)
Step 2 — Installa l'adapter
git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d
Step 3 — Aggiungi il connettore in Gemini
Gemini CLI legge i server MCP da ~/.gemini/settings.json (o %APPDATA%\gemini\settings.json su Windows). Aggiungi:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp",
"headers": { "Authorization": "Bearer YOUR_MCP_API_KEY" }
}
}
}
- Ottieni la tua MCP API key da AnythingMCP → Profilo → MCP API Keys → Nuova Key.
- Salva il file e riavvia
gemini. - Esegui
/mcpnella Gemini CLI —OpenWeatherdovrebbe essere elencato come disponibile. - Vertex AI Studio: passa
https://cloud.anythingmcp.com/mcpnell'arraytoolsdella richiesta con lo stesso header Bearer.
Tool disponibili
| Tool | What it does |
|---|---|
openweather_geocode_city | Translate a city name (optionally with state and country code) into latitude/longitude |
openweather_reverse_geocode | Translate latitude/longitude back into a list of nearby place names |
openweather_current_weather | Current weather at given coordinates: temperature, humidity, wind, conditions, sunrise/sunset |
openweather_forecast_5day | 5-day weather forecast at 3-hour intervals |
openweather_air_pollution | Current air-quality index (AQI 1-5) + concentrations of CO, NO, NO2, O3, SO2, PM2 |
openweather_air_pollution_forecast | Hourly air-pollution forecast for the next ~4 days at given coordinates |
FAQ
Gemini 1.5 Pro o 2.x supportano MCP? Sì — Gemini CLI ≥ 0.4 e la Vertex AI tools API accettano connettori MCP httpUrl con header Bearer.
Prossimi passi
Questa guida ti è stata utile?