AidenYangX_mapbox-mcp-server

AidenYangX_mapbox-mcp-server

1

Mapbox MCP Server provides easy integration with the Mapbox API for navigation and geocoding tasks, offering features such as route directions and spatial search tools. It requires Node.js and a valid Mapbox API key to set up, and supports error handling for robust service implementation.

Mapbox MCP Server

MCP Server for the Mapbox API.

Features

Navigation Tools

  • Provides directions between coordinates and places.
  • Calculates travel time and distance matrices.

Search Tools

  • Converts addresses into coordinates.
  • Searches for place details.

Setup

Prerequisites

  • Node.js 16 or higher
  • TypeScript 4.5 or higher
  • Mapbox API key

Rate Limits

  • Directions API: 300 requests/min
  • Matrix API: 60 requests/min (driving/walking/cycling)
  • Geocoding API: 600 requests/min

Deployment

Structure includes handlers, schemas, and tool definitions.

Error Handling

  • Comprehensive error handling for input validation and API requests.

License

Licensed under the MIT License.