Connector guide2-minute read8 MCP toolsEnglish · Deutsch · Italiano

Cómo conectar Mapbox a Gemini — via MCP

Drive Mapbox APIs (geocoding, directions, isochrones, matrix, tilequery) from any AI agent. 8 tools, access-token query auth.

HCBy HelpCode teamUpdated 2 min read Open source on GitHub

No credit card · 7-day trial · Self-host alternative available

Mapbox

MCP connector

Mapbox

Drive Mapbox APIs (geocoding, directions, isochrones, matrix, tilequery) from any AI agent. 8 tools, access-token query auth.

Tools

8

Region

INTL

Category

maps

Authentication

Query Param Auth

Required env vars

MAPBOX_ACCESS_TOKEN
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Source-available BSL-1.1
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

No install? Use cloud.anythingmcp.com directly.

Sign in, install the Mapbox in one click, paste the credentials, mint an MCP API key — done. No Docker, no git clone, no local server to run.

Open Cloud

TL;DR

Drive Mapbox APIs (geocoding, directions, isochrones, matrix, tilequery) from any AI agent. 8 tools, access-token query auth.

💡 ¿Sin instalación? Usa cloud.anythingmcp.com directamente. Inicia sesión, pulsa Connectors → Mapbox, pega tus credenciales, genera una MCP API key — listo. Sin Docker, sin git clone, sin servidor local.

Mapbox + Gemini

Drive Mapbox APIs (geocoding, directions, isochrones, matrix, tilequery) from any AI agent. 8 tools, access-token query auth.

Requisitos previos

Las instrucciones de configuración completas están incluidas en el conector (visibles en el store al seleccionarlo). Las variables de entorno requeridas:

MAPBOX_ACCESS_TOKEN

Paso 1 — Obtener credenciales

mapbox.com/api/).

Setup:

  1. Sign in to https://account.mapbox.comAccess tokens → Create a token.
  2. Pick scopes: usually styles:read + fonts:read + geocoding + directions + matrix + isochrone + tilequery.
  3. Copy the token (starts with pk.). Set MAPBOX_ACCESS_TOKEN.

Authentication: query-string ?access_token=....

Coordinate convention (Mapbox-specific): longitude FIRST, then latitude. The order is lng,lat, NOT lat,lng like Google Maps. Trip up on this and your results land in the wrong country.

…(continued in the in-app connector instructions)

Paso 2 — Instalar el adapter

git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d

Paso 3 — Añadir el conector en Gemini

Gemini CLI lee servidores MCP desde ~/.gemini/settings.json (o %APPDATA%\gemini\settings.json en Windows). Añade:

{
  "mcpServers": {
    "anythingmcp": {
      "httpUrl": "https://cloud.anythingmcp.com/mcp",
      "headers": { "Authorization": "Bearer YOUR_MCP_API_KEY" }
    }
  }
}
  1. Obtén tu MCP API key desde AnythingMCP → Perfil → MCP API Keys → Nueva Key.
  2. Guarda el archivo y reinicia gemini.
  3. Ejecuta /mcp en la Gemini CLI — Mapbox debería aparecer como disponible.
  4. Vertex AI Studio: pasa https://cloud.anythingmcp.com/mcp al array tools de tu petición con el mismo header Bearer.

Herramientas disponibles

ToolWhat it does
mapbox_geocode_forwardForward geocoding (address text → coordinates)
mapbox_geocode_reverseReverse geocoding (coordinates → address)
mapbox_directionsCompute driving / walking / cycling directions between waypoints
mapbox_isochroneGet the area reachable within N minutes from a starting point (an 'isochrone' — like 'how far can I drive in 15 min?')
mapbox_matrixCompute travel-time and distance MATRIX between many origins and destinations (e
mapbox_static_imageGenerate a static PNG/JPG map of a location with optional pin overlays
mapbox_tilequeryQuery features in a vector tileset at a specific point — e
mapbox_list_stylesList custom map styles owned by your account

FAQ

¿Gemini 1.5 Pro o 2.x soportan MCP? Sí — Gemini CLI ≥ 0.4 y la API de tools de Vertex AI aceptan conectores MCP httpUrl con header Bearer.

Siguientes pasos

¿Te ha sido útil esta guía?

Ready to ship

Your Mapbox agent is one click away.

Install the connector, paste the key, prompt Gemini. Free for 7 days, no credit card.

Guías relacionadas