跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Mapbox,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
通过任意 AI 代理操作 Mapbox APIs(地理编码、路线、等时圈、矩阵、tilequery)。8 个工具,使用 access-token 查询参数身份验证。
试试这样问
Mapbox 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Mapbox、粘贴凭证、生成 MCP API key — 完成。无 Docker、无
git clone、无本地服务器。
Mapbox
通过任意 AI 代理操作 Mapbox APIs(地理编码、路线、等时圈、矩阵、tilequery)。8 个工具,使用 access-token 查询参数身份验证。
设置
Setup:
- Sign in to https://account.mapbox.com → Access tokens → Create a token.
- Pick scopes: usually
styles:read+fonts:read+geocoding+directions+matrix+isochrone+tilequery. - Copy the token (starts with
pk.). SetMAPBOX_ACCESS_TOKEN.
Authentication: query-string ?access_token=....
Coordinate convention (Mapbox-specific): longitude FIRST, then latitude. The order is lng,lat, NOT lat,lng like Google Maps. Trip up on this and your results land in the wrong country.
…(continued in the in-app connector instructions)
前提条件: MAPBOX_ACCESS_TOKEN
本地安装连接器
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
打开 http://localhost:3000/connectors/store,选择 Mapbox 并填入前提条件中列出的环境变量。
可用工具
| Tool | What it does |
|---|---|
mapbox_geocode_forward | Forward geocoding (address text → coordinates) |
mapbox_geocode_reverse | Reverse geocoding (coordinates → address) |
mapbox_directions | Compute driving / walking / cycling directions between waypoints |
mapbox_isochrone | Get the area reachable within N minutes from a starting point (an 'isochrone' — like 'how far can I drive in 15 min?') |
mapbox_matrix | Compute travel-time and distance MATRIX between many origins and destinations (e |
mapbox_static_image | Generate a static PNG/JPG map of a location with optional pin overlays |
mapbox_tilequery | Query features in a vector tileset at a specific point — e |
mapbox_list_styles | List custom map styles owned by your account |
下一步
这份指南对你有帮助吗?