geocode

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

Convert an address or place name to up to 5 matching coordinates via OpenStreetMap Nominatim. Returns latitude, longitude, display_name, and place type for each result.

Parameters

NameTypeRequiredDescription
querystringyesAddress or place name to geocode

Example call

Arguments

{
  "query": "1600 Pennsylvania Avenue, Washington DC"
}

curl

curl -X POST https://gateway.pipeworx.io/geo/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"geocode","arguments":{"query":"1600 Pennsylvania Avenue, Washington DC"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('geocode', {
  "query": "1600 Pennsylvania Avenue, Washington DC"
});

More examples

{
  "query": "Eiffel Tower, Paris"
}

Response shape

Always returns: results

FieldTypeDescription
resultsarrayList of geocoding results
Full JSON Schema
{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "description": "List of geocoding results",
      "items": {
        "type": "object",
        "properties": {
          "latitude": {
            "type": "number",
            "description": "Latitude coordinate"
          },
          "longitude": {
            "type": "number",
            "description": "Longitude coordinate"
          },
          "display_name": {
            "type": "string",
            "description": "Formatted address or place name"
          },
          "type": {
            "type": "string",
            "description": "OSM type of result"
          }
        },
        "required": [
          "latitude",
          "longitude",
          "display_name",
          "type"
        ]
      }
    }
  },
  "required": [
    "results"
  ]
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build July 22, 2026