mapbox/mcp-server
Geospatial intelligence with Mapbox APIs like geocoding, POI search, directions, isochrones, etc.
Connector by mapboxOfficial · GitHub account verified by the MCP Registry
Install
Works with Claude Code, VS Code, Codex, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/mapbox-mcp-server
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Remote endpoint
https://mcp.mapbox.com/mcpRemote (HTTP)
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: maps-location
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
Runs code on install
Its package runs an install script (such as npm postinstall or setup.py code) as soon as you install it, before any tool is called. Read the script first.
- Tools
- 13 read · 3 write · 0 delete · 6 not yet classified
- Secrets
- 1 (API keys, tokens or passwords)
- Install scripts
- Runs code on install
- Runs as
- Node.js package
Tools by what they do 22
Read from the source code; the running server may list different tools.
Read 13 · Look things up without changing anything.
area_toolbbox_toolbearing_toolcentroid_toolconvex_tooldestination_tooldistance_toolintersect_toollength_toolmidpoint_toolnearest_point_toolresource_reader_tool
Show 1 more tools
web_search
Write 3 · Create, change, send or run things.
buffer_toolunion_toolwrite_file
Not yet classified 6 · We could not tell from the name and description.
difference_toolnearest_point_on_line_toolplaces_map_display_v0points_within_polygon_toolrender_map_toolsimplify_tool
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
MAPBOX_ACCESS_TOKEN
Network hosts it talks to 1
mcp.mapbox.com· found in remote endpoint, install command
Files it touches
- Any path the agent passes to its tools
Tools (22)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
area_toolCalculate the area of a polygon or multipolygon. Supports various units including square meters, kilometers, acres, and hectares. Works offline without API calls.
bbox_toolCalculate the bounding box (extent) of any geometry. Returns the minimum and maximum longitude and latitude that encompass the geometry. Works offline without API calls.
bearing_toolCalculate the bearing (compass direction) from one point to another. Returns bearing in degrees where 0° is North, 90° is East, 180° is South, and 270° is West. Works offline without API calls.
buffer_toolCreate a buffer zone (polygon) around a point, line, or polygon at a specified distance. Useful for proximity analysis, service areas, or creating zones of influence. Works offline without API calls.
centroid_toolCalculate the geometric center (centroid) of a polygon or multipolygon. The centroid is the arithmetic mean position of all points in the shape. Works offline without API calls.
convex_toolCompute the convex hull of a set of points — the smallest convex polygon that contains all the points. Useful for bounding area analysis, estimating coverage area, or wrapping a set of locations. Works offline without API calls.
destination_toolCalculate a destination point given a starting point, bearing, and distance using geodesic (great-circle) straight-line offset. Useful for "find a point 5km north of X", constructing search offsets, or computing waypoints. Bearing: 0=north, 90=east, 180/-180=south, -90=west. Note: this calculates a straight-line geographic offset, not road-network distance. Works offline without API calls.
difference_toolSubtract one polygon from another, returning the area in polygon1 that is not covered by polygon2. Useful for computing exclusion zones, finding uncovered service areas, or "what is in zone A but not zone B?". Returns null geometry if polygon2 fully covers polygon1. Works offline without API calls. INPUT SHAPE: `polygon1` and `polygon2` are each an array of rings; each ring is an array of [lng, lat] pairs. When chaining with isochrone_tool, extract `feature.geometry.coordinates` from each isochrone Feature (with `polygons=true`).
distance_toolCalculate the distance between two geographic coordinates. Supports various units including kilometers, miles, meters, feet, and nautical miles. Uses the Haversine formula for accurate great-circle distance calculations. This tool works offline without requiring API calls.
intersect_toolFind the intersection geometry of two polygons — the area they share in common. Useful for coverage overlap analysis, finding shared service areas, or zone overlap. Returns null geometry if the polygons do not overlap. Works offline without API calls. INPUT SHAPE: `polygon1` and `polygon2` are each an array of rings; each ring is an array of [lng, lat] pairs. When chaining with isochrone_tool, extract `feature.geometry.coordinates` from each isochrone Feature (with `polygons=true`).
length_toolMeasure the total length of a line defined by a series of coordinates. Useful for measuring a drawn route, path, or boundary without a routing API call. Supports kilometers, miles, meters, and feet. Works offline without API calls.
midpoint_toolCalculate the geographic midpoint between two coordinates. Returns the point that is halfway between the two input points along the great circle path. Works offline without API calls.
nearest_point_on_line_toolSnap a point to the nearest position on a line or route. Returns the closest point on the line and the distance to it. Useful for "which point on this route is closest to my location?" or map-matching without the API. Works offline without API calls.
nearest_point_toolFind the nearest point in a collection to a given target point. More efficient than calling distance_tool for each candidate and sorting. Useful for finding the closest store, stop, or landmark to a location. Works offline without API calls.
places_map_display_v0Display one or more places as pins on a map in the chat. Takes place names or coordinates.
Show 7 more tools
points_within_polygon_toolTest one or more geographic points against a polygon, returning only those inside. Handles a single point or a batch of points in one call. Useful for delivery zone validation, fleet geofencing, and customer segmentation. Works offline without API calls.
render_map_toolDisplay a live, interactive Mapbox GL JS map. Use this when someone wants to see a location, route, or dataset on a map. Preferred usage: any other Mapbox tool returns a `mapboxRender.ref` URI in its structuredContent — pass that ref via `payload_refs: ["..."]`. You can pass multiple refs to merge several datasets (e.g. a search result + a route) onto one map. Inline `layers`/`markers`/`legend` fields are also supported for hand-composed payloads from raw GeoJSON. For a hand-composed POI marker (e.g. built from category_search_tool/search_and_geocode_tool/place_details_tool output), set `marke…
resource_reader_toolReads an MCP resource by URI. This tool is a fallback for clients that do not support the native MCP resource API. Supports reading category lists and other Mapbox resources. Use "mapbox://categories" for default categories or "mapbox://categories/{language}" for localized versions (e.g., "mapbox://categories/ja" for Japanese).
simplify_toolSimplify a LineString or Polygon by reducing the number of vertices while preserving the general shape. Uses the Douglas-Peucker algorithm. Useful for reducing file sizes and improving rendering performance. Works offline without API calls.
union_toolMerge two or more polygons into a single unified geometry. Useful for combining service areas, delivery zones, isochrones, or coverage regions. Returns a Polygon or MultiPolygon if the inputs do not overlap. Works offline without API calls. INPUT SHAPE: pass `polygons` as an array of polygons. Each polygon is an array of rings; each ring is an array of [lng, lat] pairs. When chaining with isochrone_tool, extract `feature.geometry.coordinates` from each isochrone Feature — that is already a valid Polygon value. Skip features whose `geometry.type === "MultiPolygon"` (pass each inner Polygon sepa…
web_searchSearch the web for current information. Returns result titles, URLs and snippets.
write_fileWrite a file in the user's project, e.g. a page of the site you are building. Creates or overwrites the file.
Compare and alternatives
Featured in
Signals
- Stars
- 363
- Forks
- 45
- Open issues
- 12
- Contributors
- 12
- Weekly downloads
- 1,895
- Last commit
- Oct 23, 2026 (5 days ago)
- Last release
- Oct 15, 2026 (13 days ago)
- Last package publish
- Oct 15, 2026 (13 days ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.mapbox/mcp-server- Version
- 99.0.0-dev
- Auth
- Auth not stated, API key
- Packages
- npm @mapbox/mcp-server
- License
- MIT
- Repository
- github.com/mapbox/mcp-server
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from mapbox
- 0.771score
MCP Devkit Server
mapboxOfficial
Provides AI assistants with direct access to Mapbox developer APIs and documentation.
ConnectorAFreshness: ARemoteLocal★ 61↓ 437/wkClaude Code +5 - 0.701score
MCP Docs Server
mapboxOfficial
AI access to Mapbox docs, API references, style specs, and guides.
ConnectorAFreshness: ARemoteLocalRead-only★ 1↓ 73/wkClaude Code +5 - 0.663score
CLAUDE.md · mapbox/mapbox-gl-js
mapbox
CLAUDE.md from mapbox/mapbox-gl-js: 154 lines covering Project Overview, Workflow, Essential Commands, Architecture Overview and more.
TemplateAFreshness: A★ 12.5KClaude Code
Cite this page
mapbox/mcp-server. Agent Mart. https://agentmart.dev/connectors/mapbox-mcp-server (last updated 2026-10-24)