← All integrations

Google Maps MCP server

22 operations0 webhooks

Mapping platform for geocoding, directions, places search, and location-based services.

Try Google Maps with your agent

Connect Google Maps, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.

Using Corsair, show me what you can do in Google Maps on my account, then run one read-only example and show me the result.

Runs once, when you ask

Google Maps tools and triggers

Tools are what your agent can do in Google Maps through Corsair's MCP server. Triggers are the Google Maps events a routine can start from.

Geocoding

  • Geocode AddressRead-only

    DEPRECATED: Legacy API to convert street addresses into geographic coordinates (latitude and longitude). This API works best with API key authentication. For OAuth connections without an API key, use geocoding.geocodeAddressWithQuery or geocoding.geocodingApi instead. Use when you need to geocode an address or location to get its precise latitude/longitude coordinates.

    geocoding.geocodeAddress

  • Geocode Address With QueryRead-only

    Tool to map addresses to geographic coordinates with query parameter. Use when you need to convert a textual address into latitude/longitude coordinates using the modern v4beta API. Results may match multiple places — always verify formattedAddress, region, and addressComponents in the response before using returned coordinates.

    geocoding.geocodeAddressWithQuery

  • Geocode DestinationsRead-only

    Tool to perform destination lookup and return detailed destination information including primary place, containing places, sub-destinations, landmarks, entrances, and navigation points. Use when you need comprehensive destination data for an address, place ID, or geographic coordinates.

    geocoding.geocodeDestinations

  • Geocode PlaceRead-only

    Tool to perform geocode lookup using a place identifier to retrieve address and coordinates. Use when you need to get detailed geographic information for a specific Google Place ID.

    geocoding.geocodePlace

  • Geocoding ApiRead-only

    Convert addresses into geographic coordinates (latitude and longitude) and vice versa (reverse geocoding), or get an address for a Place ID. Uses the Geocoding API v4 (v4beta) which supports OAuth2 authentication. Exactly one of address, latlng, or place_id must be provided per request; omitting all three or mixing incompatible combinations yields no useful results.

    geocoding.geocodingApi

  • Reverse Geocode LocationRead-only

    Tool to convert geographic coordinates (latitude and longitude) to human-readable addresses using reverse geocoding. Use when you need to find the address or place name for a given set of coordinates. A single coordinate pair may return multiple results; verify formattedAddress, region, and addressComponents before committing to a result.

    geocoding.reverseGeocodeLocation

Places

  • AutocompleteRead-only

    Returns place and query predictions for text input. Use when implementing as-you-type autocomplete functionality for place searches. Returns up to five predictions ordered by relevance.

    places.autocomplete

  • Get Place DetailsRead-only

    Retrieves comprehensive details for a place using its resource name (places/{place_id} format). Use when you need detailed information about a specific place.

    places.getPlaceDetails

  • Get Place PhotoRead-only

    Retrieves high quality photographic content from the Google Maps Places database. Use when you need to download a place photo using a photo_reference obtained from Place Details, Nearby Search, or Text Search requests. Images are scaled proportionally to fit within specified dimensions.

    places.getPlacePhoto

  • Nearby SearchRead-only

    Searches for places (e.g., restaurants, parks) within a specified circular area, with options to filter by place types and customize the returned fields and number of results.

    places.nearbySearch

  • Text SearchRead-only

    Searches for places on Google Maps using a textual query (e.g., "restaurants in London", "Eiffel Tower"). Results may include CLOSED_PERMANENTLY or TEMPORARILY_CLOSED places — filter by businessStatus=OPERATIONAL. Include city/region and business type in textQuery to avoid empty or irrelevant results. Deduplicate using id or formattedAddress, not name alone. Throttle to ~1 req/s; OVER_QUERY_LIMIT (HTTP 429) requires exponential backoff.

    places.textSearch

Routes

  • Compute Route MatrixRead-only

    Calculates travel distance and duration matrix between multiple origins and destinations using the modern Routes API; supports OAuth2 authentication and various travel modes. Matrix is capped at 625 elements (e.g., 25×25); chunk larger sets to avoid RESOURCE_EXHAUSTED errors. Response elements may be returned out of input order — always use originIndex and destinationIndex to map results. Only use elements where condition='ROUTE_EXISTS'; the matrix may be incomplete.

    routes.computeRouteMatrix

Connect Google Maps to Claude, ChatGPT or Cursor

  1. 1

    Connect Google Maps in Corsair

    Add your Google Maps API key or sign in with OAuth once in Corsair. Corsair stores the credential encrypted and makes the Google Maps API calls for your agent, so it never goes into a prompt or a config file. Connect Google Maps

    If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Google Maps. On a ChatGPT personal plan, connect Google Maps here first.

  2. 2

    Add Corsair's MCP server to your agent

    Every client uses the same address:

    https://mcp.corsair.dev/mcp
    Open Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.

    Codex, Antigravity, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client

  3. 3

    Sign in and choose what needs your approval

    Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. None of Google Maps's operations are destructive, so in the default Cautious mode they all run right away. Strict mode asks before each of its 1 write, and Read mode allows reads only.

FAQ

Install corsair and @corsair-dev/googlemaps, add the Google Maps plugin, and connect with an API key or OAuth. Then call methods like corsair.googlemaps.api.aerial.lookupAerialVideo() from your app. Corsair stores tokens, and keeps each tenant isolated.

Yes. Google Maps supports an API key or OAuth. Use credentials or OAuth scopes that match what you automate. Create them in the Google Maps developer console, then paste into Corsair or connect through managed auth in Hub.

Yes. One Corsair client can hit Google Maps, GitHub, Notion, Stripe, and the rest. Trigger Google Maps from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.

Teams use Corsair for mapping platform for geocoding, directions, places search, and location-based services. Common builds include sync jobs, admin tooling, and agents that call Google Maps APIs from your backend.

The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Google Maps API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.

We maintain @corsair-dev/googlemaps in the open repo. When Google Maps ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.

No. Corsair does not read your Google Maps data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Google Maps data on your behalf.

Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.

Yes. Put Google Maps on a link in Strict mode and every write waits for your approval, while destructive actions are refused. None of the Google Maps operations are destructive, so the default Cautious mode runs them all without asking. You can change a link's mode at hub.corsair.dev/me.