grounding-lite
Google Maps Grounding Lite MCP for location search, weather, and routes via mcporter.
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Google Maps Grounding Lite MCP for location search, weather, and routes via mcporter.
How to use
Włącz API Google Maps Tools w Cloud Console poleceniem
gcloud beta services enable mapstools.googleapis.com.Wygeneruj klucz API w Google Cloud Console (sekcja Credentials) i zapisz go jako zmienną środowiskową:
export GOOGLE_MAPS_API_KEY="TWÓJ_KLUCZ".Zainstaluj narzędzie mcporter za pośrednictwem npm:
npm install -g mcporter.Skonfiguruj połączenie z Grounding Lite w mcporter:
mcporter config add grounding-lite --url https://mapstools.googleapis.com/mcp --header "X-Goog-Api-Key=$GOOGLE_MAPS_API_KEY" --system.Wyszukaj miejsca poleceniem
mcporter call grounding-lite.search_places textQuery="pizza near Times Square NYC"— otrzymasz listę miejsc z podsumowaniami i linkami do Map Google.Sprawdzaj pogodę komendą
mcporter call grounding-lite.lookup_weather location='{"address":"Warszawa"}' unitsSystem=METRIClub obliczaj trasy:mcporter call grounding-lite.compute_routes origin='{"address":"Warszawa"}' destination='{"address":"Kraków"}' travelMode=DRIVE— wynik zawiera czas i dystans podróży.