MCP Server logo

MCP Server

by mapbox

Connects AI agents to Mapbox for geocoding, place search, routing, maps, and geospatial analysis.

Install MCP Server

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": {
    "mcp-server-139": {
      "command": "npx",
      "args": [
        "-y",
        "@mapbox/mcp-server"
      ]
    }
  }
}

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

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

mapbox/mcp-server connects MCP clients to Mapbox APIs for geocoding, POI discovery, directions, travel-time analysis, route optimization, map matching, isochrones, and map rendering. It also provides offline calculations for distances, areas, bearings, buffers, and other spatial operations. Use it for travel assistants, logistics workflows, location-aware recommendations, or agents that need to interpret and display geographic data. A Mapbox access token is required, and the hosted endpoint is available at https://mcp.mapbox.com/mcp.

Use cases

  • Find nearby businesses and landmarks
  • Generate routes between addresses
  • Analyze reachable areas with isochrones
  • Optimize multi-stop delivery routes
  • Render routes and GeoJSON on maps

Key features

  • Global geocoding and reverse geocoding
  • POI search with category resources
  • Driving, walking, and cycling directions
  • Travel-time matrices and route optimization
  • Interactive and static map rendering
  • Offline geospatial calculations

Tools1

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

Self-reported~21 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 Today

Recent health check succeeded.

15/15 checks healthy over the last 57d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

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

Adoption & maintenance

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

GitHub stars367Stargazers on the source repository.
npm downloads14kPackage downloads in the last 30 days.
Last commit2d agoMost recent push to the default branch.
Tools exposed1Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Server works

What mapbox/mcp-server does

mapbox/mcp-server gives MCP-compatible AI applications access to Mapbox location services. Its capabilities cover both place discovery and spatial analysis: an agent can turn addresses or place names into coordinates, reverse-geocode coordinates, search for categories such as restaurants or hotels, request directions, and inspect areas reachable within a time or distance limit.

The server also supports multi-stop route optimization, travel-time matrices, and map matching for GPS traces. Results can be presented as static map images or as interactive maps through render_map_tool. That rendering tool can display routes, search results, and custom GeoJSON, including data supplied without invoking another Mapbox tool.

How it works

Clients communicate with the server through MCP. Remote deployments can use the hosted streamable endpoint at https://mcp.mapbox.com/mcp; the project also supplies integration guidance for local client setups and Node.js usage. Mapbox API operations require a Mapbox access token.

The server exposes read-only reference data as MCP resources. The category resource uses mapbox://categories for the default list and mapbox://categories/{language} for localized category names, such as mapbox://categories/ja or mapbox://categories/es. Clients that support MCP resources can read these URIs directly. Other clients can use resource_reader_tool with the resource URI.

Some workflows can ask the user to resolve ambiguity. For example, search_and_geocode_tool and directions_tool can request clarification when multiple places or routes match, with fallback behavior for clients that do not support MCP elicitation.

Setup and configuration

Create or use a Mapbox access token from a Mapbox account, then configure the MCP client to connect to the server. The hosted option avoids running the service locally and uses the endpoint:

text
https://mcp.mapbox.com/mcp

Client-specific setup material covers Claude Desktop, VS Code, and Cursor. Additional integration examples cover Goose and Smolagents, while a separate guide describes importing the Mapbox tools directly into an application without running the MCP server.

Tools and capabilities

  • Geocode addresses and place names, or reverse-geocode coordinates.
  • Search globally for points of interest and filter results by Mapbox category IDs.
  • Generate driving, walking, and cycling directions, including traffic-aware travel information.
  • Build travel-time matrices between multiple origins and destinations.
  • Optimize the order of visits across multiple stops.
  • Match GPS traces to the road network for cleaner route representations.
  • Produce isochrones showing areas reachable within time or distance limits.
  • Render interactive Mapbox maps, static map images, routes, markers, and custom GeoJSON.
  • Perform offline distance, area, bearing, buffer, centroid, bounding-box, midpoint, point-in-polygon, and polygon-simplification calculations.

Limitations and notes

A Mapbox access token is needed for the server's Mapbox API functionality. API-backed features and offline calculations are distinct: the latter can handle supported spatial operations without an API call, while geocoding, search, routing, and related Mapbox services depend on Mapbox access. Interactive rendering and resource access also depend on the MCP client's supported features. Category resources are read-only reference data rather than mutable application storage.

Reviews

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

Frequently Asked Questions about MCP Server

mapbox/mcp-server is an MCP server that connects AI clients to Mapbox APIs and geospatial calculations. Its main tools cover geocoding, POI search, directions, isochrones, travel-time matrices, route optimization, map matching, interactive map rendering, static maps, and offline operations such as distance, area, bearing, and buffer calculations.

Connect an MCP client to the hosted endpoint at https://mcp.mapbox.com/mcp or follow the project’s client-specific setup guidance for a local Node.js configuration. Create a Mapbox account and provide a Mapbox access token before using Mapbox API features.

Yes, mapbox/mcp-server includes setup instructions for Claude Desktop. Configure the client to use the server and provide a Mapbox access token, or connect through the hosted MCP endpoint.

Yes, the project includes integration guides for both Cursor and Visual Studio Code. Each client must be configured to connect to the MCP server, and Mapbox API operations require an access token.

Yes, `render_map_tool` can display routes, search results, and custom GeoJSON on an interactive Mapbox GL JS map. It can also be used independently to render supplied GeoJSON, while separate capabilities create static map images.

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 PreviewMCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-server-139?style=directory)](https://allmcps.com/mcp/mcp-server-139)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-server-139"><img src="https://allmcps.com/api/badge/mcp-server-139?style=directory" alt="MCP Server on AllMCPs" /></a>