mcp-docs-server
AI access to Mapbox docs, API references, style specs, and guides. No token required.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"mcp-docs-server": {
"command": "npx",
"args": [
"@mapbox/mcp-docs-server"
]
}
}
}Paquetes ejecutables
0.3.1stdioPuntos de conexión remotos
https://mcp-docs.mapbox.com/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (3)
🟢get_document_tool(url)
Fetch the full content of a specific Mapbox documentation page by URL. Use this after get_latest_mapbox_docs_tool to follow a link from the index and retrieve the complete page content. For fetching multiple pages at once, use batch_get_documents_tool instead.
Esquema de entrada
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "URL of a Mapbox documentation page to fetch. Must be a mapbox.com URL (e.g. https://docs.mapbox.com/api/search/geocoding/)."
}
},
"required": [
"url"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢batch_get_documents_tool(urls)
Fetch the full content of multiple Mapbox documentation pages in a single call (max 20). More efficient than calling get_document_tool multiple times. Returns an array of results — failed pages include an error message rather than failing the whole batch.
Esquema de entrada
{
"type": "object",
"properties": {
"urls": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"description": "Array of Mapbox documentation page URLs to fetch (max 20). All must be mapbox.com URLs."
}
},
"required": [
"urls"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢search_mapbox_docs_tool(query, limit)
Search Mapbox documentation by keyword or natural language query. Searches across API reference, GL JS, Help Center, Style Spec, Studio, Search JS, iOS/Android Maps and Navigation SDKs, and Tilesets. Returns ranked results with titles, URLs, and descriptions. Use get_document_tool to fetch the full content of a result page.
Esquema de entrada
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"description": "Search query for Mapbox documentation (e.g. \"add a marker\", \"camera animation\", \"geocoding API\")."
},
"limit": {
"default": 5,
"description": "Maximum number of results to return (1–20, default 5).",
"type": "integer",
"minimum": 1,
"maximum": 20
}
},
"required": [
"query"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Comunidad
Evidencia