nearby

Pack: entreprises-fr · Endpoint: https://gateway.pipeworx.io/entreprises-fr/mcp

List establishments within a radius of a geo coordinate. Useful for “all businesses near …”.

Parameters

NameTypeRequiredDescription
latitudenumberyesLatitude (WGS84)
longitudenumberyesLongitude (WGS84)
radius_kmnumbernoSearch radius in km, 0.05-50 (default 1)
apestringnoFilter to a specific APE/NAF code
per_pagenumbernoPage size, 1-25 (default 10)
pagenumberno1-based page (default 1)

Example call

curl -X POST https://gateway.pipeworx.io/entreprises-fr/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"nearby","arguments":{}}}'

Response shape

FieldTypeDescription
resultsarrayArray of nearby establishments
total_resultsnumberTotal number of nearby establishments
pagenumberCurrent page number
per_pagenumberResults per page
Full JSON Schema
{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "description": "Array of nearby establishments",
      "items": {
        "type": "object",
        "properties": {
          "siret": {
            "type": "string",
            "description": "14-digit SIRET identifier"
          },
          "siren": {
            "type": "string",
            "description": "9-digit SIREN of parent unit"
          },
          "denomination": {
            "type": "string",
            "description": "Establishment or unit name"
          },
          "enseigne": {
            "type": "string",
            "description": "Trading name"
          },
          "ape": {
            "type": "string",
            "description": "APE/NAF activity code"
          },
          "address": {
            "type": "string",
            "description": "Establishment address"
          },
          "postal_code": {
            "type": "string",
            "description": "5-digit postal code"
          },
          "city": {
            "type": "string",
            "description": "City name"
          },
          "latitude": {
            "type": "number",
            "description": "WGS84 latitude"
          },
          "longitude": {
            "type": "number",
            "description": "WGS84 longitude"
          },
          "distance_km": {
            "type": "number",
            "description": "Distance from search center in km"
          },
          "etat_administratif": {
            "type": "string",
            "description": "Status (A=active, R=closed)"
          }
        }
      }
    },
    "total_results": {
      "type": "number",
      "description": "Total number of nearby establishments"
    },
    "page": {
      "type": "number",
      "description": "Current page number"
    },
    "per_page": {
      "type": "number",
      "description": "Results per page"
    }
  }
}

Connect

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

{
  "mcpServers": {
    "entreprises-fr": {
      "url": "https://gateway.pipeworx.io/entreprises-fr/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 21, 2026