# Mapbox (MCP Server)

> Geocoding, directions, isochrones and map rendering via Mapbox APIs

- Type: MCP server
- Publisher: Mapbox (official)
- Categories: Travel, Development, Data & Analytics
- Website: https://github.com/mapbox/mcp-server
- Source: https://github.com/mapbox/mcp-server
- Transport: streamable-http
- Server URL: https://mcp.mapbox.com/mcp
- Sign-in: oauth
- Environment variables: MAPBOX_ACCESS_TOKEN
- GitHub stars: 357
- Listed: 2025-06-06

## About

Mapbox's official MCP server gives agents geospatial capabilities including geocoding, POI search, directions, matrix and isochrone analysis, static maps and interactive map rendering. A hosted endpoint supports OAuth or a Mapbox access token, and the npm package can run locally.

## Install

1. **Connect it in ChatGPT** Turn on Developer mode in ChatGPT (Settings → Security and login), open Plugins, select + and paste https://mcp.mapbox.com/mcp as the MCP server URL, then sign in with OAuth. Add it to a chat from the composer's tools menu.

2. **Or add it to Codex or the API**

   Codex CLI:

   ```bash
   codex mcp add mapbox --url https://mcp.mapbox.com/mcp
   codex mcp login mapbox
   ```

   config.toml:

   ```toml
   [mcp_servers.mapbox]
   url = "https://mcp.mapbox.com/mcp"
   ```

   Responses API:

   ```python
   import os
   from openai import OpenAI
   
   client = OpenAI()
   
   response = client.responses.create(
       model="gpt-6-astra",
       tools=[{
           "type": "mcp",
           "server_label": "mapbox",
           "server_url": "https://mcp.mapbox.com/mcp",
           "authorization": os.environ["MAPBOX_ACCESS_TOKEN"],
           "require_approval": "never",
       }],
       input="Find coffee shops within a 10-minute walk of the Eiffel Tower",
   )
   print(response.output_text)
   ```

## Tools

- `search_and_geocode_tool`
- `reverse_geocode_tool`
- `category_search_tool`
- `category_list_tool`
- `directions_tool`
- `isochrone_tool`
- `ground_location_tool`
- `static_map_image_tool`
- `render_map_tool`
- `distance_tool`

## Example prompts

- "Find coffee shops within a 10-minute walk of the Eiffel Tower"
- "Get driving directions from SFO to Palo Alto with traffic"
- "Show areas reachable within 30 minutes by bike from my office"
- "Render a map of these five store locations"

## Also available as

- app: [Mapbox](https://chatgptplugins.directory/apps/mapbox.md)

## Related

- [Chrome DevTools MCP](https://chatgptplugins.directory/mcp/chrome-devtools.md): Let coding agents control and debug a live Chrome browser
- [Playwright MCP](https://chatgptplugins.directory/mcp/playwright.md): Browser automation for agents via Playwright accessibility snapshots
- [GitHub](https://chatgptplugins.directory/mcp/github.md): Manage repos, issues, pull requests and Actions from your AI agent
- [Context7](https://chatgptplugins.directory/mcp/context7.md): Pull up-to-date, version-specific library docs into your coding agent
- [Supabase](https://chatgptplugins.directory/mcp/supabase.md): Manage Supabase databases, migrations, edge functions and logs
- [Stripe](https://chatgptplugins.directory/mcp/stripe.md): Query and act on your Stripe account and search Stripe docs from any agent

---
Source: https://chatgptplugins.directory/mcp/mapbox · Index: https://chatgptplugins.directory/llms.txt · Independent and community-run. Not affiliated with or endorsed by OpenAI. ChatGPT is a trademark of OpenAI.
