developer-tools

Mapbox DevKit

by mapbox

Mapbox DevKit: Mapbox developer tools with Mapbox API access, Mapbox SDKs, tokens, docs and map styling utilities to bui

Developer tools for Mapbox APIs, styles, tokens, and documentation

github stars

43

Direct API integration with Mapbox servicesBuilt-in geographic data processing toolsStreamable HTTP transport

best for

  • / Developers building mapping applications with Mapbox
  • / Geographic data processing and visualization projects
  • / Managing Mapbox development workflows

capabilities

  • / Manage Mapbox map styles and configurations
  • / Create and list Mapbox access tokens
  • / Process GeoJSON data and geographic coordinates
  • / Access Mapbox API documentation and references
  • / Convert coordinate systems and calculate bounding boxes
  • / Compare and optimize map styles

what it does

Provides AI assistants with direct access to Mapbox developer APIs for building mapping applications. Includes tools for managing map styles, access tokens, and geographic data processing.

about

Mapbox DevKit is an official MCP server published by mapbox that provides AI assistants with tools and capabilities via the Model Context Protocol. Mapbox DevKit: Mapbox developer tools with Mapbox API access, Mapbox SDKs, tokens, docs and map styling utilities to bui It is categorized under developer tools.

how to install

You can install Mapbox DevKit in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server supports remote connections over HTTP, so no local installation is required.

license

MIT

Mapbox DevKit is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

readme

Mapbox Developer MCP Server

A Model Context Protocol (MCP) server that provides AI assistants with direct access to Mapbox developer APIs. This server enables AI models to interact with Mapbox services, helping developers build Mapbox applications more efficiently.

https://github.com/user-attachments/assets/8b1b8ef2-9fba-4951-bc9a-beaed4f6aff6

Table of Contents

Quick Start

Integration with Developer Tools

Get started by integrating with your preferred AI development environment:

DXT Package Distribution

This MCP server can be packaged as a DXT (Desktop Extension) file for easy distribution and installation. DXT is a standardized format for distributing local MCP servers, similar to browser extensions.

Creating the DXT Package

To create a DXT package:

# Install the DXT CLI tool
npm install -g @anthropic-ai/dxt

# Build the server first
npm run build

# Create the DXT package
npx @anthropic-ai/dxt pack

This will generate mcp-devkit-server.dxt using the configuration in manifest.json.

The DXT package includes:

  • Pre-built server code (dist/esm/index.js)
  • Server metadata and configuration
  • User configuration schema for the Mapbox access token
  • Automatic environment variable setup

Hosted MCP Endpoint

For quick access, you can use our hosted MCP endpoint:

Endpoint: https://mcp-devkit.mapbox.com/mcp

For detailed setup instructions for different clients and API usage, see the Hosted MCP Server Guide. Note: This guide references the standard MCP endpoint - you'll need to update the endpoint URL to use the devkit endpoint above.

Getting Your Mapbox Access Token

A Mapbox access token is required to use this MCP server.

  1. Sign up for a free Mapbox account at mapbox.com/signup
  2. Navigate to your Account page
  3. Create a new token with the required scopes for your use case

For more information about Mapbox access tokens, see the Mapbox documentation on access tokens.

⚠️ IMPORTANT: Token Privileges Required

The MAPBOX_ACCESS_TOKEN environment variable is required. Each tool requires specific token scopes/privileges to function properly. For example:

  • Reading styles requires styles:read scope
  • Creating styles requires styles:write scope
  • Managing tokens requires tokens:read and tokens:write scopes
  • Accessing feedback requires user-feedback:read scope

Tools

Documentation Tools

get_latest_mapbox_docs_tool - Access the latest official Mapbox documentation directly from the source. This tool fetches comprehensive, up-to-date information about all Mapbox APIs, SDKs, and developer resources from docs.mapbox.com/llms.txt.

Example prompts:

  • "What are the latest Mapbox APIs available for developers?"
  • "Show me all current Mapbox services and SDKs"
  • "I need up-to-date Mapbox documentation for my project"
  • "What mapping solutions does Mapbox offer for my tech stack?"
  • "Give me an overview of Mapbox's navigation and routing capabilities"
  • "Compare Mapbox web SDKs versus mobile SDKs"
  • "What's new in the Mapbox ecosystem?"

📖 See more examples and interactive demo →

Reference Tools

get_reference_tool - Access static Mapbox reference documentation and schemas. This tool provides essential reference information that helps AI assistants understand Mapbox concepts and build correct styles and tokens.

Note: This tool exists as a workaround for Claude Desktop's current limitation with MCP resources. Claude Desktop can see resources (via resources/list) but doesn't automatically call resources/read to fetch their content. This tool provides the same reference data through the tool interface, which Claude Desktop does support. Other MCP clients that fully support the resources protocol can access this data directly as MCP Resources (see Resources section below).

Available References:

  • resource://mapbox-style-layers - Mapbox GL JS style specification reference guide covering all layer types (fill, line, symbol, circle, fill-extrusion) and their properties
  • resource://mapbox-streets-v8-fields - Complete field definitions for all Mapbox Streets v8 source layers, including enumerated values for each field (useful for building filters)
  • resource://mapbox-token-scopes - Comprehensive token scope reference explaining what each scope allows and which scopes are needed for different operations
  • resource://mapbox-layer-type-mapping - Mapping of Mapbox Streets v8 source layers to compatible GL JS layer types, with common usage patterns

Example prompts:

  • "What fields are available for the landuse layer?"
  • "Show me the token scopes reference"
  • "What layer type should I use for roads?"
  • "Get the Streets v8 fields reference"
  • "What scopes do I need to display a map?"

Style Management Tools

Complete set of tools for managing Mapbox styles via the Styles API:

Style Builder Tool - Create and modify Mapbox styles programmatically through conversational prompts

📖 See the Style Builder documentation for detailed usage and examples →

ListStylesTool - List all styles for a Mapbox account

  • Input: limit (optional - max number of styles), start (optional - pagination token)
  • Returns: Array of style metadata with optional pagination info

CreateStyleTool - Create a new Mapbox style

  • Input: name, style (Mapbox style specification)
  • Returns: Created style details with ID

RetrieveStyleTool - Retrieve a specific style by ID

  • Input: styleId
  • Returns: Complete style specification

UpdateStyleTool - Update an existing style

  • Input: styleId, name (optional), style (optional)
  • Returns: Updated style details

DeleteStyleTool - Delete a style by ID

  • Input: styleId
  • Returns: Success confirmation

PreviewStyleTool - Generate preview URL for a Mapbox style using an existing public token

  • Input: styleId, title (optional), zoomwheel (optional), zoom (optional), center (optional), bearing (optional), pitch (optional)
  • Returns: URL to open the style preview in browser
  • Note: This tool automatically fetches the first available public token from your account for the preview URL. Requires at least one public token with styles:read scope.

ValidateStyleTool - Validate Mapbox style JSON against the Mapbox Style Specification

  • Input: style (Mapbox style JSON object or JSON string)
  • Returns: Validation results including errors, warnings, info messages, and style summary
  • Performs comprehensive offline validation checking:
    • Required fields (version, sources, layers)
    • Valid layer and source types
    • Source references and layer IDs
    • Common configuration issues
  • Note: This is an offline validation tool that doesn't require API access or token scopes

⚠️ Required Token Scopes:

All style tools require a valid Mapbox access token with specific scopes. Using a token without the correct scope will result in authentication errors.

  • ListStylesTool: Requires styles:list scope
  • CreateStyleTool: Requires styles:write scope
  • RetrieveStyleTool: Requires styles:download scope
  • UpdateStyleTool: Requires styles:write scope
  • DeleteStyleTool: Requires styles:write scope
  • PreviewStyleTool: Requires tokens:read scope (to list tokens) and at least one public token with styles:read scope

FAQ

What is the Mapbox DevKit MCP server?
Mapbox DevKit is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
How do MCP servers relate to agent skills?
Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
How are reviews shown for Mapbox DevKit?
This profile displays 10 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.5 out of 5—verify behavior in your own environment before production use.
MCP server reviews

Ratings

4.510 reviews
  • Shikha Mishra· Oct 10, 2024

    Mapbox DevKit is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.

  • Piyush G· Sep 9, 2024

    We evaluated Mapbox DevKit against two servers with overlapping tools; this profile had the clearer scope statement.

  • Chaitanya Patil· Aug 8, 2024

    Useful MCP listing: Mapbox DevKit is the kind of server we cite when onboarding engineers to host + tool permissions.

  • Sakshi Patil· Jul 7, 2024

    Mapbox DevKit reduced integration guesswork — categories and install configs on the listing matched the upstream repo.

  • Ganesh Mohane· Jun 6, 2024

    I recommend Mapbox DevKit for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.

  • Oshnikdeep· May 5, 2024

    Strong directory entry: Mapbox DevKit surfaces stars and publisher context so we could sanity-check maintenance before adopting.

  • Dhruvi Jain· Apr 4, 2024

    Mapbox DevKit has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.

  • Rahul Santra· Mar 3, 2024

    According to our notes, Mapbox DevKit benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.

  • Pratham Ware· Feb 2, 2024

    We wired Mapbox DevKit into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.

  • Yash Thakker· Jan 1, 2024

    Mapbox DevKit is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.