maps_place_search

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

Find nearby places by type (e.g., restaurants, hotels, parks). Returns names, addresses, ratings, and distances within a radius (in meters).

Parameters

NameTypeRequiredDescription
querystringyesSearch query (e.g., “pizza near Times Square”)
locationstringnoCenter point as “lat,lng” (optional)
radiusnumbernoSearch radius in meters (max 50000, default 5000)
_apiKeystringyesGoogle Maps API key

Example call

Arguments

{
  "query": "pizza near Times Square",
  "_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_place_search","arguments":{"query":"pizza near Times Square","_apiKey":"your-google_maps-api-key"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('maps_place_search', {
  "query": "pizza near Times Square",
  "_apiKey": "your-google_maps-api-key"
});

More examples

{
  "query": "coffee",
  "location": "40.7128,-74.0060",
  "radius": 1000,
  "_apiKey": "your-google_maps-api-key"
}

Response shape

FieldTypeDescription
resultsarrayArray of places matching search criteria
statusstringStatus of the place search request
Full JSON Schema
{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "description": "Array of places matching search criteria",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Place name"
          },
          "formatted_address": {
            "type": "string",
            "description": "Formatted address of the place"
          },
          "geometry": {
            "type": "object",
            "description": "Location geometry",
            "properties": {
              "location": {
                "type": "object",
                "properties": {
                  "lat": {
                    "type": "number",
                    "description": "Latitude"
                  },
                  "lng": {
                    "type": "number",
                    "description": "Longitude"
                  }
                }
              }
            }
          },
          "place_id": {
            "type": "string",
            "description": "Unique Google place ID"
          },
          "rating": {
            "type": "number",
            "description": "Average user rating (0-5)"
          },
          "types": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Place type categories"
          },
          "business_status": {
            "type": "string",
            "description": "Business operational status"
          }
        }
      }
    },
    "status": {
      "type": "string",
      "enum": [
        "OK",
        "ZERO_RESULTS",
        "INVALID_REQUEST",
        "OVER_QUERY_LIMIT",
        "REQUEST_DENIED",
        "UNKNOWN_ERROR"
      ],
      "description": "Status of the place search 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