Atlas / MCP servers / mapbox / Mapbox

MapboxCAUTION

mcp/mapbox/mapbox-3

Mapbox Model Context Protocol (MCP) server

Verdict
CAUTION
Grade
C
Trust score
78 /100
Exposed tools
18 18r · 0w · 0d
Transport
stdio · streamable-http
License
MIT
Stars
358
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://www.npmjs.com/package/@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

![Mapbox MCP Server Demo](./assets/map

Read from source at commit 2be750d3a5e0OBSERVED · 2026-10-02
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (npm)
claude mcp add mcp-server --env MAPBOX_ACCESS_TOKEN=${MAPBOX_ACCESS_TOKEN} -- npx -y @mapbox/[email protected]
03

Exposed tools (18)

18 read · 0 write · 0 destructive.

ToolRiskDescription
arg1readFirst
arg2readSecond
arg3readThird
buffer_metersreadSearch corridor width on each side of route in meters (default: 1000)
categoryreadType of place to search for (e.g.,
directions_toolreadDirections tool
fromreadStarting location (address, place name, or coordinates)
locationreadThe location to search near (address, place name, or coordinates)
matrix_toolreadMatrix tool
modereadTravel mode: driving, driving-traffic, walking, or cycling (default: driving)
optional_argreadAn optional argument
radiusreadSearch radius in meters (default: 1000)
required_argreadA required argument
search_forreadType of place to search for (e.g.,
static_map_image_toolreadStatic map tool
time_minutesreadTravel time in minutes (default: 15)
toreadDestination location (address, place name, or coordinates)
version_toolreadVersion tool
04

Trust audit

CAUTIONgrade C · trust 78/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (5 observation(s))
Network
declared (5 observation(s))
Shell
declared (5 observation(s))
Dependencies
not all pinned
Secrets in source
found

Findings (25)

MEDIUMObfuscation / stealth · obf.base64_blob · CWE-506, CWE-94
src/index.ts:104
src: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIxLjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQg
MEDIUMObfuscation / stealth · obf.base64_blob · CWE-506, CWE-94
src/index.ts:110
src: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIxLjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQg
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
test/resources/ui-apps/MapAppUIResource.test.ts:16
token: 'pk.eyJ1IjoidGVzdHVzZXIifQ.fake-public-token',
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
test/utils/redactingSpanExporter.test.ts:15
const SECRET = 'sk.eyJ1IjoidGVzdHVzZXIifQ.signaturevalue';
LOWInventory / provenance · inv.hidden_file · CWE-1104
.cz.json
.cz.json
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/resources/category-list/CategoryListResource.ts:5
import type { HttpRequest } from '../../utils/types.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/resources/compute/ComputeResource.ts:11
import { resolveComputeRef } from '../../utils/computeRef.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/resources/inline-payload/InlinePayloadResource.ts:11
import { resolveInlinePayloadRef } from '../../utils/inlinePayloadRef.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/resources/temporary/TemporaryDataResource.ts:11
import { temporaryResourceManager } from '../../utils/temporaryResourceManager.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/resources/temporary/TemporaryDataResource.ts:12
import { getUserNameFromToken } from '../../utils/jwtUtils.js';
LOWNetwork egress · net.metadata_ip · CWE-200, CWE-319
test/tools/static-map-image-tool/StaticMapImageTool.test.ts:171
'https://169.254.169.254/latest/meta-data/', // cloud metadata
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
LOWNetwork egress · net.metadata_ip · CWE-200, CWE-319
test/tools/static-map-image-tool/StaticMapImageTool.test.ts:200
url: 'https://169.254.169.254/latest/meta-data/'
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
LOWNetwork egress · net.metadata_ip · CWE-200, CWE-319
test/tools/static-map-image-tool/StaticMapImageTool.test.ts:211
url: 'https://example.com\\@169.254.169.254/marker.png'
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
LOWNetwork egress · net.metadata_ip · CWE-200, CWE-319
test/tools/static-map-image-tool/StaticMapImageTool.test.ts:216
'https://example.com/@169.254.169.254/marker.png'
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
LOWNetwork egress · net.metadata_ip · CWE-200, CWE-319
test/tools/static-map-image-tool/StaticMapImageTool.test.ts:406
const rawUrl = 'https://example.com\\@169.254.169.254/marker.png';
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
test/tools/static-map-image-tool/StaticMapImageTool.test.ts:168
'https://127.0.0.1/marker.png',
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
test/tools/static-map-image-tool/StaticMapImageTool.test.ts:169
'https://10.0.0.5/marker.png',
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
test/tools/static-map-image-tool/StaticMapImageTool.test.ts:170
'https://192.168.1.1/marker.png',
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
test/tools/static-map-image-tool/StaticMapImageTool.test.ts:171
'https://169.254.169.254/latest/meta-data/', // cloud metadata
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
test/tools/static-map-image-tool/StaticMapImageTool.test.ts:200
url: 'https://169.254.169.254/latest/meta-data/'
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
docs/using-mcp-with-smolagents/requirements.txt
smolagents
Why it matters. 1 requirement(s) not pinned with ==
Fix. pin exact versions
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/ext-apps, @modelcontextprotocol/sdk, @opentelemetry/api, @opentelemetry/auto-instrumentations-node, @opentelemetry/exporter-trace-otlp-http, @opentelemetry/instrumentation, @open
Why it matters. 34 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWPrompt injection · prompt.credential_read · CWE-94, CWE-1427
docs/hosted-mcp-guide.md:139
For programmatic access, use your Mapbox access token directly in API calls (see Section 4).
Why it matters. asks the agent to read credentials
LOWPrompt injection · prompt.credential_read · CWE-94, CWE-1427
docs/tracing.md:351
- **Access tokens**: Mapbox APIs take the access token as a URL query parameter, and HTTP
Why it matters. asks the agent to read credentials
LOWPrompt injection · prompt.credential_read · CWE-94, CWE-1427
docs/using-mcp-with-smolagents/README.md:21
- A Mapbox access token (set as an environment variable)
Why it matters. asks the agent to read credentials

Gates applied: no_behavioural_pass.

Audited 2026-10-02 · audit v0.4.1 · source sha 2be750d3a5e0full audit observations/trust-audit/mcp-server/mapbox__mapbox-3.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-022be750d3a5e0CAUTIONC78first audit
06

Questions

What is the Mapbox MCP server?

Mapbox Model Context Protocol (MCP) server

What tools does Mapbox expose?

18 in total: 18 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Mapbox safe to connect to an agent?

With care. The audit graded it C (78/100) and found 25 things worth knowing before you trust this server, listed below with the exact line each was found on.

What credentials does Mapbox need?

It reads MAPBOX_ACCESS_TOKEN and MAPBOX_PUBLIC_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Mapbox run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as test-package at 2.0.0.

How current is this page?

The grade is for one exact copy of the source (2be750d3a5e0), read on 2026-10-02. The repository is watched and re-audited when it changes.

Advertisement