reverse

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

Reverse geocode — coordinates → nearest place name.

Parameters

NameTypeRequiredDescription
latnumberyes
lonnumberyes
radiusnumbernoSearch radius in km (default 1)
langstringno
limitnumberno
layerstringno

Example call

Arguments

{
  "lat": 48.8584,
  "lon": 2.2945
}

curl

curl -X POST https://gateway.pipeworx.io/photon/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"reverse","arguments":{"lat":48.8584,"lon":2.2945}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('reverse', {
  "lat": 48.8584,
  "lon": 2.2945
});

More examples

{
  "lat": 51.5074,
  "lon": -0.1278,
  "radius": 2,
  "limit": 3,
  "lang": "en"
}

Response shape

FieldTypeDescription
featuresarrayArray of reverse geocoding results
Full JSON Schema
{
  "type": "object",
  "properties": {
    "features": {
      "type": "array",
      "description": "Array of reverse geocoding results",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "GeoJSON type (Feature)"
          },
          "geometry": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "description": "Geometry type (Point)"
              },
              "coordinates": {
                "type": "array",
                "description": "Longitude and latitude",
                "items": {
                  "type": "number"
                }
              }
            }
          },
          "properties": {
            "type": "object",
            "description": "Place properties",
            "properties": {
              "name": {
                "type": "string",
                "description": "Place name"
              },
              "osm_id": {
                "type": "integer",
                "description": "OpenStreetMap ID"
              },
              "osm_type": {
                "type": "string",
                "description": "OSM object type"
              },
              "country": {
                "type": "string",
                "description": "Country name"
              },
              "city": {
                "type": "string",
                "description": "City name"
              },
              "state": {
                "type": "string",
                "description": "State or province"
              },
              "postcode": {
                "type": "string",
                "description": "Postal code"
              },
              "street": {
                "type": "string",
                "description": "Street name"
              },
              "district": {
                "type": "string",
                "description": "District name"
              }
            }
          }
        }
      }
    }
  }
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026