Mapbox Styles

v0.8.0Developer Toolsstable

List styles for a Mapbox account. Use limit parameter to avoid large responses (recommended: limit=5-10). Use start parameter for pagination.

mcp
Share:
54
Stars
0
Downloads
0
Weekly
0/5

What is Mapbox Styles?

Mapbox Styles is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to list styles for a mapbox account. use limit parameter to avoid large responses (recommended: limit=5-10). use start parameter for pagination.

List styles for a Mapbox account. Use limit parameter to avoid large responses (recommended: limit=5-10). Use start parameter for pagination.

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • list_styles_tool
  • create_style_tool
  • retrieve_style_tool
  • update_style_tool
  • delete_style_tool

Use Cases

List and manage Mapbox styles for your account with pagination support.
mapbox

Maintainer

LicenseMIT
Languagetypescript
Versionv0.8.0
UpdatedMay 9, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y @mapbox/mcp-devkit-server

Manual Installation

npx -y @mapbox/mcp-devkit-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Mapbox Styles

The Mapbox Developer MCP Server gives AI assistants direct access to the Mapbox Styles API and related developer tools, enabling programmatic creation, retrieval, updating, and deletion of Mapbox map styles through natural language. It also provides GeoJSON validation, coordinate conversion between WGS84 and Web Mercator, bounding box calculation, WCAG color contrast checking, token management, and access to user feedback about map data. Mapbox developers use it to accelerate style authoring, debug map configurations, and perform data processing tasks directly from their AI coding tools.

Prerequisites

  • A Mapbox account with an access token at account.mapbox.com
  • A Mapbox token with appropriate scopes: styles:list, styles:read, styles:write, fonts:read for basic style operations
  • Node.js 18 or higher
  • An MCP-compatible client such as Claude Desktop or Cursor
1

Install the Mapbox MCP server via npx

The server is published as @mapbox/mcp-devkit-server on npm. Run it directly with npx — no global installation required.

npx -y @mapbox/mcp-devkit-server
2

Create a scoped Mapbox access token

Log in to account.mapbox.com and create a new access token with the required scopes for the operations you need. At minimum, include styles:list, styles:read, and fonts:read.

3

Configure your MCP client

Add the server to your claude_desktop_config.json with the MAPBOX_ACCESS_TOKEN environment variable set to your scoped token.

4

Optional: enable verbose error messages

Set VERBOSE_ERRORS=true in the environment to get detailed error output when debugging Mapbox API calls.

5

Verify with a style listing

Ask your AI assistant to list your Mapbox styles. Use a limit parameter (5-10) to avoid large responses on accounts with many styles.

Mapbox Styles Examples

Client configuration

Add this to claude_desktop_config.json to connect Claude Desktop to the Mapbox MCP server.

{
  "mcpServers": {
    "mapbox": {
      "command": "npx",
      "args": ["-y", "@mapbox/mcp-devkit-server"],
      "env": {
        "MAPBOX_ACCESS_TOKEN": "pk.your_mapbox_token_here"
      }
    }
  }
}

Prompts to try

Use these prompts to work with Mapbox styles and utilities through your AI assistant.

- "List my Mapbox styles (limit to 5)"
- "Create a dark-themed Mapbox style with satellite imagery"
- "Validate this GeoJSON and flag any coordinate errors: [paste GeoJSON]"
- "Convert [-122.4194, 37.7749] from WGS84 to Web Mercator coordinates"
- "Check if black text on a #e8e8e8 background meets WCAG AA contrast requirements"
- "List all my Mapbox API tokens sorted by creation date"

Troubleshooting Mapbox Styles

API returns 401 Unauthorized

Verify that MAPBOX_ACCESS_TOKEN is set correctly and that the token has the required scopes. For style operations you need styles:list and styles:read at minimum. Create a new scoped token at account.mapbox.com if needed.

Style listing returns a very large response

Use the limit parameter (recommended: 5-10) when listing styles to avoid large API responses. Use the start parameter for pagination to iterate through styles in batches.

VERBOSE_ERRORS is not showing detailed error output

Ensure VERBOSE_ERRORS=true is set in the env block of your MCP client config, not as a shell variable. Restart your MCP client after changing the configuration.

Frequently Asked Questions about Mapbox Styles

What is Mapbox Styles?

Mapbox Styles is a Model Context Protocol (MCP) server that list styles for a mapbox account. use limit parameter to avoid large responses (recommended: limit=5-10). use start parameter for pagination. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Mapbox Styles?

Install via npm with the command: npx -y @mapbox/mcp-devkit-server. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with Mapbox Styles?

Mapbox Styles works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Mapbox Styles free to use?

Yes, Mapbox Styles is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mcp-devkit": { "command": "npx", "args": ["-y", "@mapbox/mcp-devkit-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Mapbox Styles?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides