geocode_forward

Pack: mapbox · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/geocode_forward for the schema, then POST the same URL with its arguments for the data.

“What are the coordinates of [address]” / “geocode [place]” / “lat lng for [location]” / “find [city] on a map” — convert a street address, city, or place name to GPS coordinates (longitude / latitude) using Mapbox’s global geocoder. Works on any street, intersection, POI, or administrative area worldwide. Example: geocode_forward({ query: “1600 Pennsylvania Ave, Washington DC” }).

Parameters

NameTypeRequiredDescription
querystringyes
countrystringno
typesstringno
proximitystringno
bboxstringno
autocompletebooleanno
limitnumberno
languagestringno
fuzzyMatchbooleanno

Example call

Arguments

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

curl

curl -X POST https://gateway.pipeworx.io/mapbox/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"geocode_forward","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_forward', {
  "query": "1600 Pennsylvania Avenue, Washington DC"
});

More examples

{
  "query": "Eiffel Tower",
  "country": "FR",
  "limit": 5,
  "language": "en"
}

Response shape

Full JSON Schema
{
  "type": "object",
  "description": "Mapbox Geocoding API response for forward geocoding"
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the mapbox pack
{
  "mcpServers": {
    "mapbox": {
      "url": "https://gateway.pipeworx.io/mapbox/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 5, 2026