Connect Mapbox to Your AI Agent

Provide locations and a travel mode to ask AI for route distances and estimated durations.

5 tools API key

Try a Mapbox Task

Copy a prompt into your agent with the oo Skill installed. Add your page links and source notes before running it.

oo Skill Mapbox

Plan a route between stops

Resolve supplied addresses and calculate routes in the chosen travel order.

/oo Mapbox: Geocode addresses [addresses] in [country], confirm the matching locations, then calculate a [driving, walking, or cycling] route in this stop order. Summarize distances, estimated durations, and directions.

Start Working with Mapbox

  1. Install OOMOL

    Set up oo CLI and the oo Skill in your agent.

    Install OOMOL →
  2. Connect Mapbox

    Connect a Mapbox access token.

    Connect Mapbox →
  3. Give Your Agent a Task

    Use /oo with the pages to read, the changes to make, and where to save the result.

    Connection Guide →

Choose Your Agent

  • A Mapbox access token with access to the requested services.

Mapbox Tools

The connection provides forward and reverse geocoding, batch location queries, directions, and travel time or distance matrices.

Geocoding and routing

Resolve place names or coordinates, calculate directions, and compare travel matrices.

5 tools

Forward Geocode

Convert free-form text into geographic features with Mapbox Geocoding v6.

mapbox.forward_geocode

Reverse Geocode

Convert a coordinate pair into place features with Mapbox Geocoding v6.

mapbox.reverse_geocode

Batch Geocode

Submit multiple forward or reverse geocoding queries in one Mapbox batch request.

mapbox.batch_geocode

Get Directions

Compute a route between multiple coordinates with the Mapbox Directions API.

mapbox.get_directions

Get Matrix

Compute a travel time or distance matrix with the Mapbox Matrix API.

mapbox.get_matrix

Frequently Asked Questions

What order do coordinates use?

Use longitude followed by latitude for coordinate pairs.

Can I compare many origin and destination pairs?

Yes. The matrix operation calculates travel durations or distances for selected source and destination coordinates.

Can I narrow address matches?

Yes. Specify a country, bounding area, proximity, language, or feature types.

Connect Mapbox

About Mapbox ↗