xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
Tool Skill
Mapbox logo

Forward Geocode Tool

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.

$0.01/call
Flat rate
Mapbox
Raw SKILL.mdTool Page

When to Use

Use this tool when you need to 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.. This is part of the Mapbox provider on xpay✦.

MCP Connection

Connect to xpay✦ to access this tool (and 8+ others):

{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}

For Claude Code:

claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"

How to Execute

Use the xpay✦ meta-tools to run this tool:

  1. xpay_details — Get full input schema: xpay_details("mapbox/forward_geocode_tool")
  2. xpay_run — Execute: xpay_run("mapbox/forward_geocode_tool", { ...inputs })

Input Parameters

ParameterTypeRequiredDescription
qstringYesSearch text to geocode. Max 256 characters, 20 words, no semicolons.
countryarrayNoArray of ISO 3166 alpha 2 country codes to limit results
typesarrayNoArray of feature types to filter results
autocompletebooleanNoReturn partial/suggested results for partial queries
proximitystringNoLocation to bias results towards. Either [longitude, latitude] coordinates or "ip" for IP-based location. Can help get more relevant results when searching in a specific area.
permanentbooleanNoWhether results can be stored permanently
bboxobjectNoBounding box to limit results within specified bounds
formatstringNoOutput format: "json_string" returns raw GeoJSON data as a JSON string that can be parsed; "formatted_text" returns human-readable text with place names, addresses, and coordinates. Both return as text content but json_string contains parseable JSON data while formatted_text is for display.
limitnumberNoMaximum number of results to return (1-10)
languagestringNoIETF language tag for the response (e.g., "en", "es", "fr", "de", "ja")
worldviewstringNoReturns features from a specific regional perspective

Pricing

  • Cost: $0.01/call
  • Balance check: Use xpay_balance to check remaining credits
  • Get your API key at xpay.tools — $5 free credits included

Related Skills

  • Mapbox (all tools) — 9 tools
  • Version Tool — $0.01/call
  • Category Search Tool — $0.01/call
  • Directions Tool — $0.01/call
  • Isochrone Tool — $0.01/call
  • Matrix Tool — $0.01/call

Links

  • Tool page: https://xpay.tools/mapbox/forward-geocode-tool/
  • Provider: https://xpay.tools/mapbox/
  • All tools: https://xpay.tools/explore
How to Execute
// 1. Get full schema
xpay_details("mapbox/forward_geocode_tool")
// 2. Execute
xpay_run("mapbox/forward_geocode_tool", { ...inputs })
Input Parameters
ParameterTypeRequiredDescription

q

string
Yes

Search text to geocode. Max 256 characters, 20 words, no semicolons.

country

arrayNo

Array of ISO 3166 alpha 2 country codes to limit results

types

arrayNo

Array of feature types to filter results

autocomplete

booleanNo

Return partial/suggested results for partial queries

proximity

stringNo

Location to bias results towards. Either [longitude, latitude] coordinates or "ip" for IP-based location. Can help get more relevant results when searching in a specific area.

permanent

booleanNo

Whether results can be stored permanently

bbox

objectNo

Bounding box to limit results within specified bounds

format

stringNo

Output format: "json_string" returns raw GeoJSON data as a JSON string that can be parsed; "formatted_text" returns human-readable text with place names, addresses, and coordinates. Both return as text content but json_string contains parseable JSON data while formatted_text is for display.

limit

numberNo

Maximum number of results to return (1-10)

language

stringNo

IETF language tag for the response (e.g., "en", "es", "fr", "de", "ja")

worldview

stringNo

Returns features from a specific regional perspective

Related Tools from Mapbox
Version Tool — $0.01Category Search Tool — $0.01Directions Tool — $0.01Isochrone Tool — $0.01Matrix Tool — $0.01Poi Search Tool — $0.01Reverse Geocode Tool — $0.01Static Map Image Tool — $0.01
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/mapbox/forward-geocode-tool/SKILL.md
CLI
npx @xpaysh/cli install mapbox/forward-geocode-tool
Manual
curl -o SKILL.md https://xpay.tools/skills/mapbox/forward-geocode-tool/SKILL.md
Pricing

Cost

$0.01/call

Model

Flat rate

Provider

Mapbox

xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

or ask your AI app
Popular Tools
FirecrawlTavilyExaHunterPerplexityRecraftIdeogramFlux
Collections
AI Image & MediaContent & ResearchDev ToolsFinanceLead GenWeb ScrapingCompetitive Intel
Developers
DocumentationAPI ReferenceQuickstartSDKsSkillsskill.mdllms.txt
Resources
The Agentic EconomyAgentic CommerceAgent Frameworksx402 ProtocolBlog
Company
About xpayxpay.shGitHubDiscordTwitter / X

© 2026 Agentically Inc. All rights reserved.
Privacy PolicyTerms of Service