Sponsored by Deepsite.site

Mapbox MCP Server

Created By
mapbox6 months ago
Mapbox Model Context Protocol (MCP) server
Content

Mapbox MCP Server

Node.js server implementing Model Context Protocol (MCP) for Mapbox APIs.

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

To get a Mapbox access token:

  1. Sign up for a free Mapbox account at mapbox.com/signup
  2. Navigate to your Account page
  3. Create a new token or use the default public token

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

Integration Guides

For detailed setup instructions for different integrations, refer to the following guides:

Tools

Mapbox API tools

Matrix tool

Calculates travel times and distances between multiple points using Mapbox Matrix API. Features include:

  • Efficient one-to-many, many-to-one or many-to-many routing calculations
  • Support for different travel profiles (driving-traffic, driving, walking, cycling)
  • Departure time specification for traffic-aware calculations
  • Route summarization with distance and duration metrics
  • Control approach (curb/unrestricted) and range of allowed departure bearings

Static image tool

Generates static map images using the Mapbox static image API. Features include:

  • Custom map styles (streets, outdoors, satellite, etc.)
  • Adjustable image dimensions and zoom levels
  • Support for multiple markers with custom colors and labels
  • Overlay options including polylines and polygons
  • Auto-fitting to specified coordinates

POI search tool

Finds specific points of interest or brand locations by name using the Mapbox Search Box forward search API. Features include:

  • Search for specific points of interest by proper name or unique brand (e.g., "Amalie Arena", "Starbucks")
  • Find all nearby branches of a brand (e.g., "Macy's stores near me")
  • Geographic proximity biasing for more relevant results
  • Support for multiple languages and countries

Category search tool

Performs a category search using the Mapbox Search Box category search API. Features include:

  • Search for points of interest by category (restaurants, hotels, gas stations, etc.)
  • Filtering by geographic proximity
  • Customizable result limits
  • Rich metadata for each result
  • Support for multiple languages

Forward geocoding tool

Performs forward geocoding using the Mapbox geocoding V6 API. Features include:

  • Convert addresses or place names to geographic coordinates
  • Fuzzy matching for partial or misspelled inputs
  • Results filtering by country, region, or bounding box
  • Customizable result limits
  • Multiple language support

Reverse geocoding tool

Performs reverse geocoding using the Mapbox geocoding V6 API. Features include:

  • Convert geographic coordinates to human-readable addresses
  • Customizable levels of detail (street, neighborhood, city, etc.)
  • Results filtering by type (address, poi, neighborhood, etc.)
  • Support for multiple languages
  • Rich location context information

Directions tool

Fetches routing directions using the Mapbox Directions API. Features include:

  • Support for different routing profiles: driving (with live traffic or typical), walking, and cycling
  • Route from multiple waypoints (2-25 coordinate pairs)
  • Alternative routes option
  • Route annotations (distance, duration, speed, congestion)
  • Scheduling options:
    • Future departure time (depart_at) for driving and driving-traffic profiles
    • Desired arrival time (arrive_by) for driving profile only
  • Profile-specific optimizations:
    • Walking: customizable walking speed and bias for/against walkways
    • Driving: vehicle dimension constraints (height, width, weight)
  • Exclusion options for routing:
    • Common exclusions: ferry routes, cash-only tolls
    • Driving-specific exclusions: tolls, motorways, unpaved roads, tunnels, country borders, state borders
    • Custom point exclusions (up to 50 geographic points to avoid)
  • Multiple geometry output formats (GeoJSON, polyline)

Isochrone tool

Computes areas that are reachable within a specified amount of times from a location using Mapbox Isochrone API. Features include:

  • Support for different travel profiles (driving, walking, cycling)
  • Customizable travel times or distances
  • Multiple contour generation (e.g., 15, 30, 45 minute ranges)
  • Optional departure or arrival time specification
  • Color customization for visualization

Development

Inspecting server

Using Node.js

# Build
npm run build

# Inspect
npx @modelcontextprotocol/inspector node dist/index.js

Using Docker

# Build the Docker image
docker build -t mapbox-mcp-server .

# Run and inspect the server
npx @modelcontextprotocol/inspector docker run -i --rm --env MAPBOX_ACCESS_TOKEN="YOUR_TOKEN" mapbox-mcp-server

Create new tool

npx plop create-tool
# provide tool name without suffix (e.g. Search)

License

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
WindsurfThe new purpose-built IDE to harness magic
Serper MCP ServerA Serper MCP Server
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
ChatWiseThe second fastest AI chatbot™
Tavily Mcp
DeepChatYour AI Partner on Desktop
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
CursorThe AI Code Editor
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Playwright McpPlaywright MCP server
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Amap Maps高德地图官方 MCP Server