MCP.so
登录

Mapbox MCP Server

@MCP-Mirror

关于 Mapbox MCP Server

Mirror of

基本信息

分类

其他

传输方式

stdio

发布者

MCP-Mirror

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mapbox-mcp-server": {
      "command": "node",
      "args": [
        "/absolute/path/to/mapbox-mcp-server/build/index.js"
      ],
      "env": {
        "MAPBOX_ACCESS_TOKEN": "your-api-key"
      }
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Mapbox MCP Server?

The Mapbox MCP Server is a Model Context Protocol server that integrates with the Mapbox API, providing navigation and search tools for AI assistants like Claude Desktop. It is designed for developers who need to access Mapbox services—such as directions, matrices, and geocoding—through MCP-compatible clients.

How to use Mapbox MCP Server?

Install Node.js 16+, TypeScript 4.5+, and obtain a Mapbox API key. Export the key as environment variable MAPBOX_ACCESS_TOKEN. Add the server configuration to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json) with the command pointing to the built server file. Invoke the provided MCP tools for navigation and search.

Key features of Mapbox MCP Server

  • Directions between coordinates with multiple travel profiles
  • Directions between place names using geocoding
  • Travel time and distance matrices between coordinates
  • Matrices between places with geocoding
  • Geocoding search with filters and language support

Use cases of Mapbox MCP Server

  • Get driving or walking directions between two or more locations
  • Plan multi-stop routes using only place names
  • Calculate travel time/distance for multiple origin-destination pairs
  • Convert addresses or place names into geographic coordinates
  • Integrate Mapbox navigation and search into AI workflows

FAQ from Mapbox MCP Server

What are the runtime requirements?

Node.js 16 or higher, TypeScript 4.5 or higher, and a valid Mapbox API key are required.

How do I get a Mapbox API key?

Follow the instructions at the Mapbox Account Access Tokens page (https://console.mapbox.com/account/access-tokens/) to generate an API key.

What are the rate limits for the APIs?

Directions API: 300 requests per minute. Matrix API: 60 requests per minute for driving/walking/cycling, 30 for driving-traffic. Geocoding API: 600 requests per minute.

What tools does the server provide?

Five tools: mapbox_directions, mapbox_directions_by_places, mapbox_matrix, mapbox_matrix_by_places, and mapbox_geocoding. Each accepts optional parameters for profile, language, and more.

How is the server deployed?

The server uses a modular structure with handler base classes, a registry, and a main entry point. Source code is organized under src/ with types, schemas, tool definitions, and handlers. Deployment involves building the TypeScript project and running the compiled index.js.

评论

其他 分类下的更多 MCP 服务器