drio
Open app

Mapbox MCP Server

Source

MCP Server for the Mapbox API.

Catalog onlyCatalog onlySTDIO

Overview

Mapbox MCP Server is a server designed to interface with the Mapbox API, providing various navigation and search tools for developers.

To use the Mapbox MCP Server, set up the server with Node.js, configure it with your Mapbox API key, and utilize the provided API endpoints for navigation and geocoding functionalities.

  • Navigation tools for getting directions and calculating travel times. - Geocoding capabilities to convert addresses into coordinates. - Comprehensive error handling for API requests. - Rate limit management for efficient API usage.
  1. Integrating navigation features into web or mobile applications.
  2. Building location-based services that require address search and routing.
  3. Analyzing travel times and distances for logistics and planning.

Add to your AI client

Use these steps to connect Mapbox MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

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

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

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

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

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

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mapbox-mcp-server-aidenyangx": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mapbox-mcp-server-aidenyangx"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

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

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

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

FAQ

What are the prerequisites for using the server?

You need Node.js 16 or higher, TypeScript 4.5 or higher, and a valid Mapbox API key.

How do I obtain a Mapbox API key?

You can get a Mapbox API key by following the instructions on the Mapbox account access tokens page.

What are the rate limits for the APIs?

The Directions API allows 300 requests per minute, while the Geocoding API allows 600 requests per minute.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":758,"uuid":"a13863e4-fdcd-4156-943b-93e51b0a8f9c","name":"mapbox-mcp-server","title":"Mapbox MCP Server","description":"MCP Server for the Mapbox API.","avatar_url":"https://avatars.githubusercontent.com/u/16361947?v=4","created_at":"$D2024-12-30T03:29:42.427Z","updated_at":"$D2025-02-23T07:16:02.814Z","status":"created","author_name":"AidenYangX","author_avatar_url":"https://avatars.githubusercontent.com/u/16361947?v=4","tags":"mapbox,mcp-server,api","category":"location-services","is_featured":false,"sort":1,"url":"https://github.com/AidenYangX/mapbox-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":"https://github.com/AidenYangX/mapbox-mcp-server/raw/main/assets/MapboxMCPServerClass.png","type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]