---
title: Mapbox | Keycard
description: Maps, styles, documentation, and geospatial developer tools
---

Use the Mapbox MCP server for official documentation lookup, Mapbox Styles API workflows (create, list, update, preview, compare, and optimize styles), access token management, GeoJSON and style validation, tileset queries, coordinate and bounding-box helpers, WCAG contrast checks, and Mapbox Feedback API access.

Adding Mapbox provisions three things in your zone: an upstream resource pointing at `https://mcp-devkit.mapbox.com/mcp` (kept inside Keycard), a Keycard MCP Gateway URL - the downstream resource - that you install in Cursor, Claude Code, or any MCP client, and a provider for token exchange with Mapbox’s OAuth issuer.

When your AI client makes a tool call, it sends a Keycard-issued access token to the gateway URL. Keycard’s STS exchanges that token for an upstream Mapbox token, the gateway calls the upstream MCP, and the response is proxied back. Your zone’s [identity provider](/admin/identity-providers/index.md), [access policies](/admin/access-policies/index.md), and audit log apply to every call - the upstream credential never leaves Keycard. Each call is recorded in the audit log with the user identity, the resource accessed, and the policy decision.

## Tools

TOOLS

Tools the upstream server exposes through the Keycard MCP Gateway.

Mapbox exposes 25 tools through the gateway:

- get\_latest\_mapbox\_docs\_tool

  Fetch current official Mapbox documentation and developer resources (prefer over web search)

- get\_reference\_tool

  Reference data: Streets v8 fields, token scopes, layer type mappings, and style specification

- validate\_style\_tool

  Validate Mapbox style JSON against the Style Specification (errors, warnings, suggestions)

- validate\_geojson\_tool

  Validate GeoJSON structure, coordinates, and geometry types

- validate\_expression\_tool

  Validate Mapbox style expression syntax, operators, and arguments

- coordinate\_conversion\_tool

  Convert coordinates between WGS84 and Web Mercator (EPSG:3857)

- country\_bounding\_box\_tool

  Bounding box for a country by ISO 3166-1 code as \[minX, minY, maxX, maxY]

- bounding\_box\_tool

  Bounding box of GeoJSON content as \[minX, minY, maxX, maxY]

- tilequery\_tool

  Query vector and raster data from Mapbox tilesets at coordinates

- list\_tokens\_tool

  List Mapbox access tokens with filtering and pagination (secret values omitted)

- create\_token\_tool

  Create a public access token with scopes and optional URL restrictions

- list\_styles\_tool

  List styles for the account (use a small limit to avoid huge responses)

- create\_style\_tool

  Create a new Mapbox style

- retrieve\_style\_tool

  Retrieve a Mapbox style by ID

- update\_style\_tool

  Update an existing Mapbox style

- delete\_style\_tool

  Delete a Mapbox style by ID

- preview\_style\_tool

  Generate a preview URL for a style using an existing public token

- style\_comparison\_tool

  Generate a URL to compare two Mapbox styles side by side

- compare\_styles\_tool

  Compare two styles and report differences in layers, sources, and properties

- optimize\_style\_tool

  Optimize styles by removing unused sources, duplicate layers, and simplifying expressions

- style\_builder\_tool

  Generate or update Mapbox style JSON from natural language (basemap layers, Standard vs Classic)

- check\_color\_contrast\_tool

  Check foreground/background color contrast for WCAG 2.1 compliance

- geojson\_preview\_tool

  Return a geojson.io/next URL to visualize GeoJSON (URL only)

- list\_feedback\_tool

  List Feedback API items with filters and pagination (requires user-feedback:read)

- get\_feedback\_tool

  Get one Feedback API item by ID (requires user-feedback:read)

Show all 25 tools  Show fewer

## Install

INSTALL

Add Mapbox to your zone and install the gateway URL into Cursor, Claude Code, or any MCP client.

1. **Open the catalog**

   In your zone’s [Keycard Console](https://console.keycard.ai), go to **Applications** → **Add Application** → **Explore MCP Servers**.

2. **Find and install Mapbox**

   Search for `Mapbox` in the catalog and click **Install**.

3. **Connect your development tool**

   Once installed, Mapbox appears on the **Applications** page with a **Keycard MCP Gateway URL**. Use the **Install** dropdown to add it to Cursor, Claude Code, or any MCP-compatible client.

## Related

RELATED

- [Catalog overview](/admin/catalog/index.md) - browse other MCP and API servers
- [Access policies](/admin/access-policies/index.md) - control who can use Mapbox
- [Identity providers](/admin/identity-providers/index.md) - control who can sign in

[PreviousLinear](/admin/catalog/mcp-servers/linear/index.md)[NextMixpanel](/admin/catalog/mcp-servers/mixpanel/index.md)
