原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Mapbox MCP

作者:mapbox版本 0.18.0i★ 368i电脑或云端
注册名称io.github.mapbox/mcp-server

安装方法

What it does

Geospatial intelligence with Mapbox APIs like geocoding, POI search, directions, isochrones, etc.

  • Connects 电脑或云端
  • Account or key Cloud: Sign in to the service when you connect (OAuth) · Local: Needs MAPBOX_ACCESS_TOKEN
  • Category 旅行、地图与天气

安装

选择你使用的 AI 应用,然后复制设置。

通过 5/5 项检查 · 你的提问会经过开发者的服务器(mcp.mapbox.com) · ✓ 命令已检查 2026年11月13日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

在 Claude 应用里直接安装,无需自己设置

Mapbox 已在 Claude 精选的列表中,按下面的步骤操作。

Claude 内置一份经过审核的工具列表,无需复制任何设置即可安装。 · 在 Claude 的列表中 · 检查于 2026年11月13日

  1. 打开网页版 Claude (claude.ai) 或 Claude Desktop 应用

  2. 点击左侧栏的“Customize”

    Customize

  3. 选择“Connectors”标签,然后点击 Connectors 旁边的“+”按钮

    CustomizeConnectors+

  4. 在搜索框输入“Mapbox”或在列表中查找,然后点击它

  5. 点击“Connect”(有些显示为“Install”)

  6. 如有提示,登录该服务的账户

  7. 在对话中启用:点击对话框左下角的“+” → “Connectors” → 打开 Mapbox 的开关

  8. 试一试

    用 Mapbox MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Mapbox MCP,或回答中出现 Mapbox MCP 的工具名称,就表示连接成功

菜单名称为英文,与 Claude 界面一致

菜单名称已于 2026年11月13日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

其他方式:自己用地址添加(custom connector)

可连接 Claude · 约 2 分钟

不需要密钥,不用安装程序 · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个 · Team/Enterprise 方案由所有者(Owner)添加

  1. 打开 Claude 的 Connectors 页面

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  2. 点击“Add” → “Custom” → “Web”,填写这 2 项

    把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue

    Name · 名称Mapbox MCP
    Remote MCP server URL · 地址https://mcp.mapbox.com/mcp

    在 Claude 检测到的登录设置页点击 Continue · Authentication 按作者说明选择(Sign in now、Sign in when needed 或 No sign in),然后点击 Add

  3. 在聊天中开启

    +ConnectorsMapbox MCP

  4. 试一试

    用 Mapbox MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Mapbox MCP,或回答中出现 Mapbox MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

能否连接 ChatGPT 取决于方案

完整 MCP:网页版 ChatGPT Business、Enterprise 或 Edu · Pro:以读取/获取权限连接,修改数据的工具可能用不了 · Plus:官方文档尚未确认,如果在插件页看到添加自定义 MCP 的选项可以试试 · 仅限网页

  1. 在网页版 ChatGPT 打开添加 MCP 的页面

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. 填写名称和地址

    输入名称,在 Connection 下粘贴地址,勾选风险提示,然后点击 Create as a plugin

    Name · 名称Mapbox MCP
    Connection · 地址https://mcp.mapbox.com/mcp
  3. 在聊天中选择 Mapbox MCP

    开启新聊天,输入前先从插件列表中选择 Mapbox MCP

  4. 试一试

    用 Mapbox MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 ChatGPT 说正在使用 Mapbox MCP,或回答中出现 Mapbox MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 OpenAI 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Claude Code · 约 2 分钟

不需要密钥,不用安装程序

  1. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  2. 粘贴这条命令并按 Enter

    claude mcp add --transport http --scope user mapbox https://mcp.mapbox.com/mcp
  3. 在 Claude Code 中输入 /mcp

    应能看到 Mapbox MCP 在列表中并显示已连接

  4. 试一试

    用 Mapbox MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Mapbox MCP,或回答中出现 Mapbox MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor · 约 2 分钟

不需要密钥,不用安装程序

  1. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  2. 在 Cursor 中以 Agent 模式打开 AI 聊天

  3. 试一试

    用 Mapbox MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Mapbox MCP,或回答中出现 Mapbox MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code · 约 2 分钟

不需要密钥,不用安装程序

  1. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  2. 在 VS Code 中以 Agent 模式打开 AI 聊天

  3. 试一试

    用 Mapbox MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Mapbox MCP,或回答中出现 Mapbox MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

通过网页连接的应用使用的地址

地址https://mcp.mapbox.com/mcp

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Mapbox MCP 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

通过网页连接

Claude Code

claude mcp add --transport http --scope user mapbox https://mcp.mapbox.com/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "mapbox": {
      "url": "https://mcp.mapbox.com/mcp"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "mapbox": {
      "type": "http",
      "url": "https://mcp.mapbox.com/mcp"
    }
  }
}

安装在电脑上

Claude Code

claude mcp add --scope user mapbox --env MAPBOX_ACCESS_TOKEN=your-value -- npx -y @mapbox/mcp-server

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "mapbox": {
      "command": "npx",
      "args": [
        "-y",
        "@mapbox/mcp-server"
      ],
      "env": {
        "MAPBOX_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "mapbox": {
      "command": "npx",
      "args": [
        "-y",
        "@mapbox/mcp-server"
      ],
      "env": {
        "MAPBOX_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "mapbox": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mapbox/mcp-server"
      ],
      "env": {
        "MAPBOX_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

需要你填写的值

  • MAPBOX_ACCESS_TOKEN 机密 必填 env
    Your Mapbox access token

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
4,496/周
连接方式
电脑或云端
传输方式
stdio, streamable-http
最新版本i
0.18.0
发布到注册中心i
2026年11月12日
代码最后更新i
2026年11月12日
作者
mapbox
软件包
npm: @mapbox/mcp-server
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

通过互联网连接,适用于

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

服务器要求先登录,才会列出它的工具。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月13日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 mapbox 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于昨天

  • ✓ 通过

    有许可证

    使用 MIT

  • ✓ 通过

    端点有响应

    在 202 毫秒内响应(HTTP 401)

  • ✓ 通过

    使用 OAuth 登录

    声明支持 OAuth 登录,你的 AI 应用可以带你去登录

  • … 尚未检查

    工具描述中没有隐藏指令

    尚未检查;我们会在检查端点时读取工具列表

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

使用 Google 登录后发帖

用户评价

还没有评价

用 Google 登录后写评价

与“旅行、地图与天气”中的其他服务器比较i

  • 星标数多于此分类中其他 1873 个服务器的 99%
  • 发布到注册中心的时间比此分类中其他 1873 个服务器的 95% 更新
  • 基础检查结果等于或优于此分类中其他 1873 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Mapbox MCP 安全吗?

它在 5 项适用的基础检查中通过了 5 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:MAPBOX_ACCESS_TOKEN

它在我的电脑上运行还是在云端?

两种方式都可以:安装在你的电脑上,或者连接云端版本。

它还在维护吗?

GitHub 仓库最后更新于昨天,最新版本(0.18.0)于昨天进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于接受远程 MCP 的应用,例如网页版 ChatGPT(Business 及以上为完整 MCP;Pro 为只读)。

有什么可以替代它?

同一分类中有:LetsFG — Flights & Hotels, Google Maps MCP Server, Mu

同类别的其他选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

LetsFG — Flights & Hotels

Search and book flights and hotels: hundreds of airlines, plus bookable hotel rates.

作者:LetsFG广泛使用↓ 204/周★ 22672个月前更新

电脑或云端

Google Maps MCP Server

18 Google Maps tools for AI agents — geocode, search, directions, weather, and more.

作者:cablate正在增长↓ 1257/周★ 4962个月前更新

在你的电脑上运行

Mu

News, web search, mail, markets, weather, places, files, calendar, contacts. 67 tools, one endpoint.

作者:micro正在增长★ 4393个月前更新

在云端运行✓ micro.mu

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Mapbox MCP Server

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

Unlock Geospatial Intelligence for Your AI Applications

The Mapbox MCP Server transforms any AI agent or application into a geospatially-aware system by providing seamless access to Mapbox's comprehensive location intelligence platform. With this server, your AI can understand and reason about places, navigate the physical world, and access rich geospatial data including:

  • Global geocoding to convert addresses and place names to coordinates and vice versa
  • Points of interest (POI) search across millions of businesses, landmarks, and places worldwide
  • Multi-modal routing for driving, walking, and cycling with real-time traffic
  • Travel time matrices to analyze accessibility and optimize logistics
  • Route optimization to find the optimal visiting order for multiple stops (traveling salesman problem)
  • Map matching to snap GPS traces to the road network for clean route visualization
  • Isochrone generation to visualize areas reachable within specific time or distance constraints
  • Live, interactive map rendering (render_map_tool) to display routes, search results, and your own custom GeoJSON on a real Mapbox GL JS map directly inside the chat
  • Static map images to create visual representations of locations, routes, and geographic data
  • Offline geospatial calculations for distance, area, bearing, buffers, and spatial analysis without requiring API calls

Whether you're building an AI travel assistant, logistics optimizer, location-based recommender, or any application that needs to understand "where", the Mapbox MCP Server provides the spatial intelligence to make it possible. You can also enable it on popular clients like Claude Desktop and VS Code. See below for details

Usage

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

Hosted MCP Endpoint

For quick access, you can use our hosted MCP endpoint:

Endpoint: https://mcp.mapbox.com/mcp

For detailed setup instructions for different clients and API usage, see the Hosted MCP Server Guide.

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:

  • Claude Desktop Setup - Instructions for configuring Claude Desktop to work with this MCP server
  • Goose Setup - Setting up Goose AI agent framework
  • VS Code Setup - Setting up a development environment in Visual Studio Code
  • Cursor AI IDE Setup - Setting up a development environment in Cursor AI IDE
  • Smolagents Integration - Example showing how to connect Smolagents AI agents to Mapbox's tools
  • [Importing Tools Directly](./docs/importing-tools.md) - Use Mapbox tools in your own applications without running the MCP server
  • [`render_map_tool` Guide](./docs/render-map-tool.md) - The map visualization primitive: full payload schema and how to render your own data standalone, without any other Mapbox tool
  • [Elicitations](./docs/elicitations.md) - How search_and_geocode_tool and directions_tool ask the user to disambiguate results or pick a route, and how they fall back gracefully when the client doesn't support it

Example Prompts

Try these prompts with Claude Desktop or other MCP clients after setup:

Location Grounding

For coordinate-first queries — _"what's near me"_, _"what neighborhood is this"_, _"what's reachable in N minutes"_ — use ground_location_tool. It composes reverse geocoding, category search, and isochrone in a single call, adaptively choosing the right strategy based on the query, and returns typed records (names, addresses, coordinates, distances, reachability polygons) with citations.

Each of the four prompts below exercises a different strategy in one tool call:

  • Neighborhood — _"What neighborhood is 47.6097, -122.3408, and what's around me?"_
  • POI — _"Coffee shops within a 10-minute walk of 40.7580, -73.9855"_
  • Region — _"What can I reach in a 15-minute walk from 37.7749, -122.4194?"_
  • Routing — _"Closest routable point to drop someone off at 34.0522, -118.2437"_
Location Discovery
  • "Find coffee shops within walking distance of the Empire State Building"
  • "I want to go from Seattle to Portland, is there a Starbucks along the way?"
  • "Show me gas stations along the route from Boston to New York"
  • "What restaurants are near Times Square?"
Navigation & Travel
  • "Get driving directions from LAX to Hollywood with current traffic"
  • "How long would it take to walk from Central Park to Times Square?"
  • "Calculate travel time from my hotel (Four Seasons) to JFK Airport by taxi during rush hour"
Visualization & Maps
  • "Using the Mapbox map render tool, show me directions from the Golden Gate Bridge to Union Square in San Francisco" — renders a live, interactive route on a real Mapbox map
  • "Create a map image showing the route from Golden Gate Bridge to Fisherman's Wharf with markers at both locations"
  • "Show me a satellite view of Manhattan with key landmarks marked"
  • "Generate a map highlighting all Starbucks locations within a mile of downtown Seattle"
  • "Show a fill polygon over these coordinates: [...], with a marker labeled 'Warehouse' at [...]" — renders your own GeoJSON directly via render_map_tool, no other Mapbox tool needed
Analysis & Planning
  • "Show me areas reachable within 30 minutes of downtown Portland by car"
  • "Calculate a travel time matrix between these 3 hotel locations (Marriott, Sheraton and Hilton) and the convention center in Denver"
  • "Find the optimal route visiting these 3 tourist attractions (Golden Gate, Musical Stairs and Fisherman's Wharf) in San Francisco"
  • "Optimize a delivery route for these 8 addresses: [list of addresses]"
GPS & Route Matching
  • "Clean up this GPS trace and show the actual route on roads: [list of coordinates with timestamps]"
  • "Snap this recorded bicycle ride to the cycling network: [GPS coordinates]"
  • "Match this driving route to the road network and show traffic congestion levels"
Offline Geospatial Calculations
  • "What's the distance in miles between these two coordinates?"
  • "Calculate the area of this polygon in square kilometers"
  • "Is the point at 37.7749°N, 122.4194°W inside this service area polygon?"
  • "What's the bearing from San Francisco to New York?"
  • "Find the midpoint between London and Paris"
  • "Create a 5-mile buffer zone around this location"
  • "Calculate the centroid of this neighborhood boundary"
  • "What's the bounding box for these route coordinates?"
  • "Simplify this complex polygon to reduce the number of points"
Tips for Better Results
  • Be specific about locations (use full addresses or landmark names)
  • Specify your preferred travel method (driving, walking, cycling)
  • Include time constraints when relevant ("during rush hour", "at 3 PM")
  • Ask for specific output formats when needed ("as a map image", "in JSON format")

Detailed examples: See examples/search-along-route.md for comprehensive examples of the search-along-route prompt with different use cases and MCP Inspector testing instructions.

Resources

The MCP server exposes static reference data as MCP resources. Resources provide read-only access to data that clients can reference directly without making tool calls.

Available Resources
Mapbox Categories Resource

URI Pattern: mapbox://categories or mapbox://categories/{language}

Access the complete list of available category IDs for use with the category search tool. Categories can be used to filter search results by type (e.g., "restaurant", "hotel", "gas_station").

Examples:

  • mapbox://categories - Default (English) category list
  • mapbox://categories/ja - Japanese category names
  • mapbox://categories/es - Spanish category names

Accessing Resources:

  • Clients with native MCP resource support: Use the resources/read MCP protocol method
  • Clients without resource support: Use the resource_reader_tool with the resource URI

Rich Map Previews (render_map_tool)

Every geospatial tool in this server (directions, isochrone, search, and more) can display its result as a live, interactive Mapbox GL JS map via `render_map_tool` — the server's single visualization primitive. It renders through the MCP Apps protocol (@modelcontextprotocol/ext-apps) as a self-contained HTML panel directly inside the chat, with a Fullscreen toggle, in supported clients:

  • Claude Desktop ✅
  • VS Code with GitHub Copilot ✅
  • Claude Code ✅
  • [Goose](https://github.com/block/goose) ✅

You don't need any of this server's other tools to use it. render_map_tool also accepts hand-composed GeoJSON directly — your own polygons, markers, and routes — with no dependency on directions_tool, isochrone_tool, or any other Mapbox API call. See [the full `render_map_tool` guide](./docs/render-map-tool.md) for the payload schema and a complete standalone example.

If you need a guaranteed static image in clients without MCP Apps support, use static_map_image_tool instead — it returns a base64-encoded PNG/JPEG that every client can display.

CLIENT_NEEDS_RESOURCE_FALLBACK

Resource Fallback Tools (Opt-In for Non-Compliant Clients)

Resources are a core MCP feature supported by most clients (Claude Desktop, VS Code, MCP Inspector, etc.). However, some clients (like smolagents) don't support resources at all. For these clients, the server can provide "resource fallback tools" that deliver the same content as resources but via tool calls.

Fallback Tools:

  • resource_reader_tool - Generic fallback for reading any resource by URI
  • category_list_tool - Provides access to category list (mapbox://categories)

By default, these tools are NOT included (assumes your client supports resources). If your client doesn't support resources, enable the fallback tools:

export CLIENT_NEEDS_RESOURCE_FALLBACK=true

When to set this:

  • ✅ Set to true if using smolagents or other clients without resource support
  • ❌ Leave unset (default) if using Claude Desktop, VS Code, MCP Inspector, or any resource-capable client
  • ❌ Leave unset if unsure (most clients support resources)

Tools

Utility Tools
Resource Reader Tool

Provides access to MCP resources for clients that don't support the native MCP resource API. Use this tool to read resources like the category list.

Parameters:

  • uri: The resource URI to read (e.g., mapbox://categories, mapbox://categories/ja)

Example Usage:

  • Read default categories: {"uri": "mapbox://categories"}
  • Read Japanese categories: {"uri": "mapbox://categories/ja"}

Note: If your MCP client supports native resources, prefer using the resource API directly for better performance.

Offline Geospatial Tools

These tools perform geospatial calculations completely offline without requiring Mapbox API calls. They use Turf.js for accurate geographic computations and work anywhere, even without internet connectivity.

Distance Tool

Calculate the distance between two geographic coordinates using the Haversi

只显示了开头部分;其余内容请在仓库中阅读