maps_reverse_geocode

Pack: google_maps · Endpoint: https://gateway.pipeworx.io/google_maps/mcp

Convert coordinates to a street address. Returns formatted address, city, state, and country. Use to identify what’s at a specific location.

Parameters

NameTypeRequiredDescription
latnumberyesLatitude
lngnumberyesLongitude
_apiKeystringyesGoogle Maps API key

Example call

Arguments

{
  "lat": 40.7128,
  "lng": -74.006,
  "_apiKey": "your-google_maps-api-key"
}

curl

curl -X POST https://gateway.pipeworx.io/google_maps/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"maps_reverse_geocode","arguments":{"lat":40.7128,"lng":-74.006,"_apiKey":"your-google_maps-api-key"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('maps_reverse_geocode', {
  "lat": 40.7128,
  "lng": -74.006,
  "_apiKey": "your-google_maps-api-key"
});

More examples

{
  "lat": 51.5074,
  "lng": -0.1278,
  "_apiKey": "your-google_maps-api-key"
}

Response shape

FieldTypeDescription
resultsarrayArray of reverse geocoding results
statusstringStatus of the reverse geocoding request
Full JSON Schema
{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "description": "Array of reverse geocoding results",
      "items": {
        "type": "object",
        "properties": {
          "formatted_address": {
            "type": "string",
            "description": "Human-readable address"
          },
          "geometry": {
            "type": "object",
            "description": "Location geometry",
            "properties": {
              "location": {
                "type": "object",
                "properties": {
                  "lat": {
                    "type": "number",
                    "description": "Latitude coordinate"
                  },
                  "lng": {
                    "type": "number",
                    "description": "Longitude coordinate"
                  }
                }
              },
              "location_type": {
                "type": "string",
                "description": "Type of location"
              },
              "bounds": {
                "type": "object",
                "description": "Bounding box for the address"
              },
              "viewport": {
                "type": "object",
                "description": "Recommended viewport"
              }
            }
          },
          "place_id": {
            "type": "string",
            "description": "Unique place identifier"
          },
          "address_components": {
            "type": "array",
            "description": "Array of address components",
            "items": {
              "type": "object",
              "properties": {
                "long_name": {
                  "type": "string",
                  "description": "Long component name"
                },
                "short_name": {
                  "type": "string",
                  "description": "Short component name"
                },
                "types": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "description": "Component type tags"
                }
              }
            }
          },
          "types": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Address types"
          }
        }
      }
    },
    "status": {
      "type": "string",
      "enum": [
        "OK",
        "ZERO_RESULTS",
        "INVALID_REQUEST",
        "OVER_QUERY_LIMIT",
        "REQUEST_DENIED",
        "UNKNOWN_ERROR"
      ],
      "description": "Status of the reverse geocoding request"
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "google_maps": {
      "url": "https://gateway.pipeworx.io/google_maps/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026