Mapbox
平台与服务by Waldzell-Agentics
支持精准 geocoding 查找地点和地址,可按品类或品牌搜索,并用 directions、isochrones 和 distance matrices 规划路线、比较时间及生成静态地图。
什么是 Mapbox?
支持精准 geocoding 查找地点和地址,可按品类或品牌搜索,并用 directions、isochrones 和 distance matrices 规划路线、比较时间及生成静态地图。
核心功能 (9 个工具)
version_toolGet the current version information of the MCP server
category_search_toolReturn all places that match a category (industry, amenity, or NAICS‑style code). Use when the user asks for a type of place, plural or generic terms like 'museums', 'coffee shops', 'electric‑vehicle chargers', or when the query includes is‑a phrases such as 'any', 'all', 'nearby'. Do not use when a unique name or brand is provided. Supports both JSON and text output formats.
directions_toolFetches directions from Mapbox API based on provided coordinates and direction method.
forward_geocode_toolForward geocode addresses, cities, towns, neighborhoods, districts, postcodes, regions, and countries using Mapbox Geocoding API v6. Converts location name into geographic coordinates. Setting a proximity point helps to bias results towards a specific area for more relevant results. Do not use this tool for geocoding points of interest like businesses, landmarks, historic sites, museums, etc. Supports both JSON and text output formats.
isochrone_toolComputes areas that are reachable within a specified amount of time from a location, and returns the reachable regions as contours of Polygons or LineStrings in GeoJSON format that you can display on a map. Common use cases: - Show a user how far they can travel in X minutes from their current location - Determine whether a destination is within a certain travel time threshold - Compare travel ranges for different modes of transportation'
matrix_toolCalculates travel times and distances between multiple points using Mapbox Matrix API.
poi_search_toolFind one specific place or brand location by its proper name or unique brand. Use only when the user's query includes a distinct title (e.g., "The Met", "Starbucks Reserve Roastery") or a brand they want all nearby branches of (e.g., "Macy's stores near me"). Do not use for generic place types such as 'museums', 'coffee shops', 'tacos', etc. Setting a proximity point is strongly encouraged for more relevant results. Always try to use a limit of at least 3 in case the user's intended result is not the first result. Supports both JSON and text output formats.
reverse_geocode_toolFind addresses, cities, towns, neighborhoods, postcodes, districts, regions, and countries around a specified geographic coordinate pair. Converts geographic coordinates (longitude, latitude) into human-readable addresses or place names. Use limit=1 for best results. This tool cannot reverse geocode businesses, landmarks, historic sites, and other points of interest that are not of the types mentioned. Supports both JSON and text output formats.
static_map_image_toolGenerates a static map image from Mapbox Static Images API. Supports center coordinates, zoom level (0-22), image size (up to 1280x1280), various Mapbox styles, and overlays (markers, paths, GeoJSON). Returns PNG for vector styles, JPEG for raster-only styles.
README
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
- Isochrone generation to visualize areas reachable within specific time or distance constraints
- Static map images to create visual representations of locations, routes, and geographic data
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.
To get a Mapbox access token:
- Sign up for a free Mapbox account at mapbox.com/signup
- Navigate to your Account page
- 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
- 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
Example Prompts
Try these prompts with Claude Desktop or other MCP clients after setup:
Location Discovery
- "Find coffee shops within walking distance of the Empire State Building"
- "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
- "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"
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"
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")
Tools
Mapbox API tools
Matrix tool
Calculates travel times and distances between multiple points using Mapbox Matrix API. Features include:
- Efficient one-to-many, many-to-one or many-to-many routing calculations
- Support for different travel profiles (driving-traffic, driving, walking, cycling)
- Departure time specification for traffic-aware calculations
- Route summarization with distance and duration metrics
- Control approach (curb/unrestricted) and range of allowed departure bearings
Static image tool
Generates static map images using the Mapbox static image API. Features include:
- Custom map styles (streets, outdoors, satellite, etc.)
- Adjustable image dimensions and zoom levels
- Support for multiple markers with custom colors and labels
- Overlay options including polylines and polygons
- Auto-fitting to specified coordinates
POI search tool
Finds specific points of interest or brand locations by name using the Mapbox Search Box forward search API. Features include:
- Search for specific points of interest by proper name or unique brand (e.g., "Amalie Arena", "Starbucks")
- Find all nearby branches of a brand (e.g., "Macy's stores near me")
- Geographic proximity biasing for more relevant results
- Support for multiple languages and countries
Category search tool
Performs a category search using the Mapbox Search Box category search API. Features include:
- Search for points of interest by category (restaurants, hotels, gas stations, etc.)
- Filtering by geographic proximity
- Customizable result limits
- Rich metadata for each result
- Support for multiple languages
Forward geocoding tool
Performs forward geocoding using the Mapbox geocoding V6 API. Features include:
- Convert addresses or place names to geographic coordinates
- Fuzzy matching for partial or misspelled inputs
- Results filtering by country, region, or bounding box
- Customizable result limits
- Multiple language support
Reverse geocoding tool
Performs reverse geocoding using the Mapbox geocoding V6 API. Features include:
- Convert geographic coordinates to human-readable addresses
- Customizable levels of detail (street, neighborhood, city, etc.)
- Results filtering by type (address, poi, neighborhood, etc.)
- Support for multiple languages
- Rich location context information
Directions tool
Fetches routing directions using the Mapbox Directions API. Features include:
- Support for different routing profiles: driving (with live traffic or typical), walking, and cycling
- Route from multiple waypoints (2-25 coordinate pairs)
- Alternative routes option
- Route annotations (distance, duration, speed, congestion)
- Scheduling options:
- Future departure time (
depart_at) for driving and driving-traffic profiles - Desired arrival time (
arrive_by) for driving profile only
- Future departure time (
- Profile-specific optimizations:
- Driving: vehicle dimension constraints (height, width, weight)
- Exclusion options for routing:
- Common exclusions: ferry routes, cash-only tolls
- Driving-specific exclusions: tolls, motorways, unpaved roads, tunnels, country borders, state borders
- Custom point exclusions (up to 50 geographic points to avoid)
- GeoJSON geometry output format
Isochrone tool
Computes areas that are reachable within a specified amount of times from a location using Mapbox Isochrone API. Features include:
- Support for different travel profiles (driving, walking, cycling)
- Customizable travel times or distances
- Multiple contour generation (e.g., 15, 30, 45 minute ranges)
- Optional departure or arrival time specification
- Color customization for visualization
Development
Inspecting server
Using Node.js
# Build
npm run build
# Inspect
npx @modelcontextprotocol/inspector node dist/index.js
Using Docker
# Build the Docker image
docker build -t mapbox-mcp-server .
# Run and inspect the server
npx @modelcontextprotocol/inspector docker run -i --rm --env MAPBOX_ACCESS_TOKEN="YOUR_TOKEN" mapbox-mcp-server
Create new tool
npx plop create-tool
# provide tool name without suffix (e.g. Search)
Environment Variables
VERBOSE_ERRORS
Set VERBOSE_ERRORS=true to get detailed error messages from the MCP server. This is useful for debugging issues when integrating with MCP clients.
By default, the server returns generic error messages. With verbose errors enabled, you'll receive the actual error details, which can help diagnose API connection issues, invalid parameters, or other problems.
Data Usage & Privacy
What data is sent to Mapbox APIs
When you use the MCP server tools, the following data is sent directly from your environment to Mapbox APIs:
- Geocoding tools: Address/location text, coordinates, country/region filters
- Search tools: Search queries, location coordinates for proximity, category filters
- Directions tool: Start/end coordinates, waypoints, routing preferences, vehicle constraints
- Matrix tool: Multiple coordinate pairs, travel profile, departure times
- Static map tool: Coordinates, zoom level, styling preferences, marker information
- Isochrone tool: Origin coordinates, time/distance parameters, travel profile
Your privacy
- Local execution: All API calls are made directly from your environment to Mapbox APIs
- Token security: Your Mapbox API token remains on your local machine and is never transmitted to or stored by this MCP server
- No data storage: This MCP server does not store, log, or collect any of your data or API requests
- Direct communication: There is no intermediary server between you and Mapbox APIs
Third-party data usage
- Mapbox's privacy policy governs data sent to their APIs: https://www.mapbox.com/legal/privacy/
- API usage: Standard Mapbox API terms apply to all requests made through these tools
- Data retention: Refer to Mapbox's documentation for their data retention policies
Support & Contact
For MCP Server Issues
- Email: mcp-feedback@mapbox.com
- GitHub Issues: Report bugs and feature requests
For Mapbox API Questions
- Mapbox Support: https://support.mapbox.com/
- Documentation: https://docs.mapbox.com/
- API Status: https://status.mapbox.com/
Maintenance Commitment
This MCP server is officially maintained by Mapbox, Inc. We provide:
- Regular updates for new Mapbox API features
- Bug fixes and security updates
- Compatibility with latest MCP protocol versions
- Community support through GitHub issues
常见问题
Mapbox 是什么?
支持精准 geocoding 查找地点和地址,可按品类或品牌搜索,并用 directions、isochrones 和 distance matrices 规划路线、比较时间及生成静态地图。
Mapbox 提供哪些工具?
提供 9 个工具,包括 version_tool、category_search_tool、directions_tool 等。
相关 Skills
MCP构建
by anthropics
聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。
✎ 想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。
Slack动图
by anthropics
面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。
✎ 帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。
接口设计评审
by alirezarezvani
审查 REST API 设计是否符合行业规范,自动检查命名、HTTP 方法、状态码与文档覆盖,识别破坏性变更并给出设计评分,适合评审接口方案和版本迭代前把关。
✎ 做API和架构方案时,它能帮你提前揪出接口设计问题并对齐最佳实践,评审视角系统,团队协作更省心。
相关 MCP Server
Slack 消息
编辑精选by Anthropic
Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。
✎ 这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。
by netdata
io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。
✎ 这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。
by d4vinci
Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。
✎ 这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。