Provides AI assistants with instant access to Mapbox documentation, API references, style specifications, and SDK guides.
다른 이름 mapbox/mcp-docs-server, @mapbox/mcp-docs-server
- 스타
- 1
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- 0.4.0
- 마지막 커밋
- 2026년 11월 11일
- 라이선스
- MIT
Mapbox Docs MCP란?
Mapbox Docs은(는) MCP server입니다. Provides AI assistants with instant access to Mapbox documentation, API references, style specifications, and SDK guides.
프로젝트 README에서 생성된 요약
Mapbox Docs MCP server 정보
Providing AI assistants with immediate access to Mapbox documentation and technical references is the primary function of this server. Developers using Claude Desktop, Claude Code, Cursor, or VS Code can integrate this tool to retrieve API references, SDK guides, and style specifications without needing a Mapbox access token. It works through several methods including a hosted endpoint, running via npx, using Docker containers, or building from local source code.
The server provides specific tools like search_mapbox_docs_tool to find relevant pages and get_document_tool to fetch full content from a URL. For larger tasks, batch_get_documents_tool allows retrieving up to 20 pages at once. It also exposes various resources such as mapbox-api-reference, mapbox-sdk-docs, and mapbox-style-layers, which allow an AI to read detailed information about REST endpoints, client libraries, and layer properties on demand.
활용 사례
- 1Search for technical documentationFind specific information regarding camera animation or geocoding API examples within the Mapbox ecosystem.
- 2Retrieve full documentation pagesFetch the complete content of a Mapbox documentation page using its specific URL.
- 3Perform bulk documentation retrievalEfficiently gather up to 20 different Mapbox documentation pages in a single request.
- 4Access SDK and API referencesRead detailed information about REST API endpoints, parameters, and rate limits.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
Mapbox Docs MCP 설치 방법
형식 확인: 2026년 11월 10일Cursor에 추가Goose에 추가Claude Code에 Mapbox Docs MCP 설치
$ claude mcp add mcp-docs-server -- npx -y @mapbox/mcp-docs-serverCursor에 Mapbox Docs MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"mcp-docs-server": {
"command": "npx",
"args": [
"-y",
"@mapbox/mcp-docs-server"
]
}
}
}VS Code에 Mapbox Docs MCP 설치
.vscode/mcp.json
{
"servers": {
"mcp-docs-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mapbox/mcp-docs-server"
]
}
}
}VS Code CLI에 Mapbox Docs MCP 설치
$ code --add-mcp '{"name":"mcp-docs-server","type":"stdio","command":"npx","args":["-y","@mapbox/mcp-docs-server"]}'Claude Desktop에 Mapbox Docs MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"mcp-docs-server": {
"command": "npx",
"args": [
"-y",
"@mapbox/mcp-docs-server"
]
}
}
}Codex에 Mapbox Docs MCP 설치
$ codex mcp add mcp-docs-server -- npx -y @mapbox/mcp-docs-serverCodex config.toml에 Mapbox Docs MCP 설치
~/.codex/config.toml
[mcp_servers.mcp-docs-server] command = "npx" args = ["-y", "@mapbox/mcp-docs-server"]
Gemini CLI에 Mapbox Docs MCP 설치
$ gemini mcp add -s user mcp-docs-server npx -- -y @mapbox/mcp-docs-serverGemini settings.json에 Mapbox Docs MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"mcp-docs-server": {
"command": "npx",
"args": [
"-y",
"@mapbox/mcp-docs-server"
]
}
}
}자동 검사
2026년 11월 14일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식
- 소스 저장소 연결 및 접근 가능mapbox/mcp-docs-server is public and reachablegithub.com/mapbox/mcp-docs-server ↗통과
- 패키지가 이 저장소를 소스로 명시@mapbox/mcp-docs-server names mapbox/mcp-docs-server as sourcenpmjs.com/package/@mapbox/mcp-docs-server ↗통과
- 빌드 출처(Sigstore 증명)No build attestation published for this release검사되지 않음
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-11-11github.com/mapbox/mcp-docs-server ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음No popular package one edit away from @mapbox/mcp-docs-server통과
- 패키지 및 해당 종속성에 중요한 보안 권고 없음the package checked; no critical advisoryosv.dev ↗통과
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 엔드포인트가 MCP 핸드셰이크에 응답initialize answered with protocol 2025-06-18 in 325 ms통과
README
GitHub에서 보기Mapbox MCP Documentation Server
A Model Context Protocol (MCP) server that gives AI assistants instant access to Mapbox documentation and reference materials — no Mapbox access token required.
Quick Start
Hosted (no install required)
Connect directly to the hosted endpoint — nothing to install or maintain:
Claude Code / Claude Desktop / Cursor / VS Code
{
"mcpServers": {
"mapbox-docs": {
"url": "https://mcp-docs.mapbox.com/mcp"
}
}
}
npx (runs locally, no install)
Claude Code — run claude mcp add:
claude mcp add mapbox-docs -- npx -y @mapbox/mcp-docs-server
Claude Desktop — add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"mapbox-docs": {
"command": "npx",
"args": ["-y", "@mapbox/mcp-docs-server"]
}
}
}
Cursor / VS Code — add the same mcpServers block to your editor's MCP settings file.
Docker
Build the image:
docker build -t mapbox/mcp-docs-server .
Or pull from the registry:
docker pull mapbox/mcp-docs-server
Claude Desktop / Cursor / VS Code — configure your MCP client to run the container:
{
"mcpServers": {
"mapbox-docs": {
"command": "docker",
"args": ["run", "--rm", "-i", "mapbox/mcp-docs-server"]
}
}
}
Local (from source)
git clone https://github.com/mapbox/mcp-docs-server.git
cd mcp-docs-server
npm install
npm run build
Claude Desktop / Cursor / VS Code:
{
"mcpServers": {
"mapbox-docs": {
"command": "node",
"args": ["/absolute/path/to/mcp-docs-server/dist/esm/index.js"]
}
}
}
Tools
get_document_tool — Fetches the full content of a specific Mapbox documentation page by URL. Use this to follow a link from a resource and retrieve the complete page content.
Example prompts:
- "What Mapbox APIs are available?"
- "How do I add a custom layer to a Mapbox style?"
- "What's the latest Mapbox GL JS version?"
batch_get_documents_tool — Fetches multiple Mapbox documentation pages in a single call (max 20). More efficient than calling get_document_tool multiple times. Failed pages include an error message rather than failing the whole batch.
search_mapbox_docs_tool — Searches Mapbox documentation across API reference, GL JS, Help Center, Style Spec, Studio, Search JS, iOS/Android Maps and Navigation SDKs, and Tilesets, returning ranked page URLs and descriptions. Use this to find relevant documentation before fetching full pages with get_document_tool or batch_get_documents_tool.
Example prompts:
- "Find docs about camera animation"
- "Search for geocoding API examples"
- "What documentation exists for custom layers?"
Resources
MCP resources expose reference data that AI assistants can read on demand:
| Resource URI | Contents |
|---|---|
resource://mapbox-api-reference |
REST API reference docs (endpoints, parameters, rate limits) |
resource://mapbox-sdk-docs |
SDK and client library docs (iOS, Android, Flutter, web) |
resource://mapbox-guides |
Tutorials, how-tos, and guides |
resource://mapbox-examples |
Code examples, API playgrounds, and interactive demos |
resource://mapbox-reference |
Tilesets, data products, accounts, and pricing reference |
resource://mapbox-style-layers |
Style layer reference (paint/layout properties for all layer types) |
resource://mapbox-streets-v8-fields |
Mapbox Streets v8 tileset field reference |
resource://mapbox-token-scopes |
All available Mapbox token scopes with descriptions |
resource://mapbox-layer-type-mapping |
Mapping of Mapbox layer types to their properties |
Development
Prerequisites
- Node.js >= 22
- npm
Setup
git clone https://github.com/mapbox/mcp-docs-server.git
cd mcp-docs-server
npm install
Commands
npm run build # Compile TypeScript (ESM + CJS)
npm test # Run test suite (vitest)
npm run lint # ESLint
npm run format # Prettier check
npm run format:fix # Prettier auto-fix
npm run inspect:build # Launch MCP Inspector against built server
npm run inspect:dev # Launch MCP Inspector against source (tsx)
Architecture
The server is a TypeScript MCP server using @modelcontextprotocol/sdk with a dual ESM/CJS build via tshy.
- Tools extend
BaseTool<InputSchema, OutputSchema>insrc/tools/ - Resources extend
BaseResourceinsrc/resources/ - No Mapbox access token required for documentation tools
- HTTP requests use a shared
httpPipelinewith 1-hour caching
Creating a New Tool
- Create a directory
src/tools/my-tool/ - Add
MyTool.input.schema.ts(Zod schema),MyTool.output.schema.ts, andMyTool.ts(extendsBaseTool) - Register in
src/tools/toolRegistry.ts - Add tests in
test/tools/my-tool/
Contributing
Please read CONTRIBUTING.md and VISION.md before submitting a pull request. Contributors using AI coding assistants should also review:
- CLAUDE.md — for Claude Code
- AGENTS.md — for other AI coding assistants (Cursor, Copilot, Aider, etc.)
License
MIT — see LICENSE
Mapbox Docs MCP 질문
Mapbox Docs MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add mcp-docs-server -- npx -y @mapbox/mcp-docs-server를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
Mapbox Docs MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
How can I search for specific Mapbox documentation?
You can use the search_mapbox_docs_tool to search across API references, GL JS, Help Center, Style Spec, and more.
Can I fetch multiple documentation pages at once?
Yes, the batch_get_documents_tool allows you to fetch up to 20 Mapbox documentation pages in a single call.