Google Maps Platform · Capability

Google Maps Places API (New) — Nearby Search

Google Maps Places API (New) — Nearby Search. 1 operations. Lead operation: Search for Places Near a Location. Self-contained Naftiko capability covering one Google Maps business surface.

Run with Naftiko Google MapsNearby Search

What You Can Do

POST
Searchplacesnearby — Search for Places Near a Location
/v1/places-searchnearby

MCP Tools

search-places-near-location

Search for Places Near a Location

read-only

Capability Spec

places-nearby-search.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Maps Places API (New) — Nearby Search
  description: 'Google Maps Places API (New) — Nearby Search. 1 operations. Lead operation: Search for Places Near a Location.
    Self-contained Naftiko capability covering one Google Maps business surface.'
  tags:
  - Google Maps
  - Nearby Search
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_MAPS_API_KEY: GOOGLE_MAPS_API_KEY
capability:
  consumes:
  - type: http
    namespace: places-nearby-search
    baseUri: https://places.googleapis.com/v1
    description: Google Maps Places API (New) — Nearby Search business capability. Self-contained, no shared references.
    resources:
    - name: places:searchNearby
      path: /places:searchNearby
      operations:
      - name: searchplacesnearby
        method: POST
        description: Search for Places Near a Location
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: X-Goog-Api-Key
      value: '{{env.GOOGLE_MAPS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: places-nearby-search-rest
    port: 8080
    description: REST adapter for Google Maps Places API (New) — Nearby Search. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/places-searchnearby
      name: places-searchnearby
      description: REST surface for places:searchNearby.
      operations:
      - method: POST
        name: searchplacesnearby
        description: Search for Places Near a Location
        call: places-nearby-search.searchplacesnearby
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: places-nearby-search-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Maps Places API (New) — Nearby Search. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: search-places-near-location
      description: Search for Places Near a Location
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: places-nearby-search.searchplacesnearby
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.