geocode_forward

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

“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, or use one-click install buttons:

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

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026