Forward Geocode Tool
forward_geocode_toolForward geocode addresses, cities, towns, neighborhoods, districts, postcodes, regions, and countries using Mapbox Geocoding API v6.
How it works ↓Pricing
Per call
$0.01
Model
flat
Pay only for what you use. No subscriptions.
Inputs
q *
stringcountry
arraytypes
arrayautocomplete
booleanproximity
stringpermanent
booleanbbox
objectformat
stringlimit
numberlanguage
stringworldview
stringInput Parameters
Cost per run
Execution cost$0.01
About Forward Geocode Tool
Forward geocode addresses, cities, towns, neighborhoods, districts, postcodes, regions, and countries using Mapbox Geocoding API v6. Converts location name into geographic coordinates. Setting a proximity point helps to bias results towards a specific area for more relevant results. Do not use this tool for geocoding points of interest like businesses, landmarks, historic sites, museums, etc. Supports both JSON and text output formats.
Frequently Asked Questions
Forward geocode addresses, cities, towns, neighborhoods, districts, postcodes, regions, and countries using Mapbox Geocoding API v6. Converts location name into geographic coordinates. Setting a proximity point helps to bias results towards a specific area for more relevant results. Do not use this tool for geocoding points of interest like businesses, landmarks, historic sites, museums, etc. Supports both JSON and text output formats.
Forward Geocode Tool costs $0.01 per call on xpay. No subscription, no minimums. Pay only for the calls you make. New accounts get $5 in free credits.
Connect the Mapbox MCP endpoint to your client — Claude Code: claude mcp add --transport http mapbox "https://mapbox.mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY"; Cursor/Windsurf/Cline/VS Code: same URL in mcp.json. The agent will see forward_geocode_tool as a callable tool with the input schema and run it directly. (Unified across all providers: https://mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY, then xpay_run with toolPath mapbox/forward_geocode_tool.)
Yes — that's exactly what xpay is for. You don't need a Mapbox account or API key. Sign up at xpay.tools (Google or email), get $5 free credit, and run Forward Geocode Tool immediately. Billing flows through your xpay balance.
Forward Geocode Tool accepts 11 input parameters: q, country, types, autocomplete, proximity, permanent…. See the input schema and runnable form on this page for details and to test live.

