Skip to content

Connect OpenClaw to Google Maps

Let an OpenClaw agent search places, geocode addresses and compute routes with Google Maps, with no credentials handed to the agent.

Tags:integrations

Google Maps is the map most people already have open: places, addresses, opening hours, reviews and directions for nearly everywhere on earth. Behind the consumer app sits the Google Maps Platform, the set of APIs that operations, logistics, field-service and real estate teams use to turn addresses into coordinates, find what is near a location and work out how long a trip will take. The manual version of that work is familiar — paste an address, copy the coordinates, check the drive time, repeat for the next fifty rows.

With Claworc’s External Connections, an OpenClaw agent can call Google Maps on your behalf. You connect Google Maps once through the instance settings, Composio holds the resulting credential, and the agent gets an auto-generated claworc-google_maps skill that tells it which Google Maps tools exist and how to call them. The agent never sees a password, an OAuth token or an API key.

Composio’s Google Maps toolkit exposes 23 tools across Places, Geocoding, Routes, Tiles and Aerial View. In practice an OpenClaw agent leans on a handful of capabilities:

  • Search for places — find places from a free-text query such as “coffee near Union Square” or a business name, returning names, addresses and ratings.
  • Find what is nearby — list places of a given type within a radius of a point, for “what pharmacies are within two kilometres of this site”.
  • Look up place details — fetch the full record for one place: phone number, website, opening hours, reviews.
  • Geocode addresses — turn an address into latitude and longitude, with the normalized address Google resolved it to, or go the other way and turn coordinates into a readable address.
  • Get directions and travel times — distance, duration and turn-by-turn directions between two points, or a full matrix between many origins and destinations at once.
  • Resolve time zones — find the time zone for a coordinate, handy when scheduling across sites.

Every action goes through a small broker running next to the agent, so the agent only needs to describe what it wants done in plain language and let the skill handle the rest.

Hand the agent a spreadsheet of customer addresses and ask it to geocode every row. It geocodes each one, returns coordinates plus the normalized address, and flags the ones Google could not resolve confidently so a human can look at just those.

“I need to visit these six locations tomorrow starting from the office. What order should I go in and how long will it take?” The agent builds a distance and duration matrix between all the stops, proposes an order, and pulls turn-by-turn directions for each leg.

“What is around our proposed new office at this address?” The agent geocodes the address, searches nearby for transit stops, restaurants and parking, and looks up each place’s details to add opening hours and ratings to the shortlist.

Connecting Google Maps takes three steps: an admin adds a Composio API key to Claworc’s settings, you open the instance’s Settings tab, click + Add connection, pick Google Maps and authorize the connection. The claworc-google_maps skill appears in the instance a moment later. The full walkthrough, including the exact Composio permissions the key needs, is in the External Connections documentation.