Mapbox logo

Mapbox

Mapbox tools for geocoding, routing, travel-time analysis, GPS map matching, tile queries, and static map URLs.

Install Mapbox

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mapbox": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-mapbox"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

Mapbox MCP server connects AI clients to Mapbox through the Pipeworx gateway for location and mapping operations. It covers global forward and reverse geocoding, route planning, distance matrices, reachable-area polygons, GPS trace matching, vector-tile queries, and static map image URLs. Use it when an agent needs geographic calculations or Mapbox-backed location data without client-side map rendering. It is available as a hosted MCP endpoint or an npm stdio bridge.

Use cases

  • Geocode addresses and place names
  • Calculate routes and travel-time matrices
  • Build delivery zones and commute sheds
  • Clean GPS traces by matching them to roads
  • Generate static map URLs for documents and dashboards

Key features

  • Forward and reverse global geocoding
  • Driving, walking, and cycling directions
  • N×M distance and duration matrices
  • Time- or distance-based isochrones
  • GPS map matching and vector-tile queries
  • Static Map image URL generation

Tools8

What Mapbox lets your agent do. Expand a tool for its parameters.

Verified live~1.4k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/16 checks healthy over the last 83d

What it can do

From the 8 tools this server returned when we ran it.

Makes network requests · 1Read-only tools · 8
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age34 days
Maintainers1

Observed 2026-10-28 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · @pipeworx/mcp-mapbox (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads966Package downloads in the last 30 days.
Last commit20d agoMost recent push to the default branch.
Tools exposed8Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Mapbox works

What Mapbox MCP server does

Mapbox exposes location and mapping operations through MCP, using the Mapbox API at https://api.mapbox.com through the Pipeworx gateway. The server is suited to agents that need to turn place descriptions into coordinates, interpret coordinates as addresses, compare travel times, calculate routes, analyze reachable areas, process GPS traces, inspect vector-tile features, or produce URLs for static map images.

The integration is unofficial and independent of Mapbox. Its location capabilities are global, covering addresses, intersections, points of interest, cities, administrative areas, roads, and other geographic features supported by the Mapbox services.

How it works

A hosted connection uses the scoped endpoint:

https://gateway.pipeworx.io/mapbox/mcp

The same gateway can also be accessed at https://gateway.pipeworx.io/mcp, which lists the broader catalog directly. The pack endpoint includes the Mapbox tools and shared Pipeworx meta-tools. ask_pipeworx can route a plain-language question to an appropriate tool across the catalog.

For local MCP clients, @pipeworx/mcp-mapbox runs with npx as a stdio bridge. It forwards requests to the hosted gateway, so it requires network access and has no offline mode. The bridge lists the Mapbox pack tools by default; setting PIPEWORX_META_TOOLS=1 also exposes the gateway-wide meta-tools.

Setup and configuration

Add the hosted endpoint to an MCP client:

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

Alternatively, use the npm bridge:

config.json
{
  "mcpServers": {
    "mapbox": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-mapbox"]
    }
  }
}

The npm bridge can receive a PIPEWORX_API_KEY environment variable for an authenticated Pipeworx account. Unauthenticated use is capped at 50 calls per day, while a free account raises the allowance to 200 calls per day. A Mapbox access token can also be supplied through the gateway request using the _apiKey parameter. Calls require network connectivity.

Tools and capabilities

  • geocode_forward converts a place or address into longitude and latitude, with filters for country, feature type, proximity, bounding box, language, autocomplete, result count, and fuzzy matching.
  • geocode_reverse finds the nearest address or geographic area for longitude and latitude.
  • directions calculates driving, traffic-aware driving, walking, or cycling routes, including distance, duration, geometry, alternatives, and optional navigation instructions.
  • directions_matrix returns travel distances and durations between multiple coordinate sources and destinations.
  • isochrone creates reachable-area polygons based on travel time or distance.
  • map_matching fits GPS coordinates to the likely road path and can return route geometry, steps, annotations, and related details.
  • tilequery searches features in a Mapbox vector tileset near a coordinate.
  • static_image_url builds a fetchable PNG URL using a style, center, zoom, dimensions, and optional bearing, pitch, or retina settings. The image itself is not fetched by the server.

Coordinates use [longitude, latitude] order. Routing profiles are driving, driving-traffic, walking, and cycling.

Limitations and notes

The static image operation returns a URL rather than image bytes. tilequery requires a specific tileset_id and is intended for specialized vector-tile inspection; reverse geocoding or directions may better fit common location questions. The scoped gateway endpoint also exposes shared Pipeworx tools, so its reported tool count can exceed the Mapbox-specific list. Proxy users may need NODE_USE_ENV_PROXY=1 because Node's built-in fetch does not automatically read HTTPS_PROXY.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Mapbox

Mapbox is an MCP server that connects AI clients to the Mapbox API through the Pipeworx gateway. Its main tools geocode addresses, reverse-geocode coordinates, calculate routes and matrices, create isochrones, match GPS traces to roads, query vector tiles, and generate static map image URLs.

Install it by adding the hosted MCP URL or running the npm stdio bridge with npx. Use `https://gateway.pipeworx.io/mapbox/mcp` for a remote connection, or configure `npx -y @pipeworx/mcp-mapbox` as the client command.

Yes, Mapbox works with Cursor through the hosted MCP endpoint or the local npm bridge. Add the server to Cursor's MCP configuration using the gateway URL, or configure the `npx` command for stdio access.

Use `[longitude, latitude]` coordinate pairs. Routing and matrix tools accept arrays of these pairs, while geocoding and other operations use longitude and latitude values as separate arguments where applicable.

No, it requires network access. The npm package forwards requests to the Pipeworx gateway, and the gateway connects to Mapbox services rather than processing requests locally.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMapbox AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mapbox?style=directory)](https://allmcps.com/mcp/mapbox)
HTML Embed
<a href="https://allmcps.com/mcp/mapbox"><img src="https://allmcps.com/api/badge/mapbox?style=directory" alt="Mapbox on AllMCPs" /></a>