For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
MapTiler Model Context Protocol (MCP) server
The MapTiler MCP server gives your AI assistant direct access to MapTiler documentation, API specifications, tile schemas, map styles, and code examples. MCP (Model Context Protocol) is the standard way AI tools connect to outside sources of information.
Without it, AI assistants answer from their training data, which is often outdated: they invent parameter names, use deprecated map styles, or swap longitude and latitude. With the MCP server connected, your assistant can look things up in the current docs before it writes code.
Server address
https://docs.maptiler.com/mcp
The server is public, so you don’t need an API key or login to connect. You only need a MapTiler API key for the maps you build.
Connect your assistant
Every AI tool sets up MCP servers a little differently, and the settings change often. The quickest way is to let your assistant handle it:
- Coding agents (Claude Code, Cursor, Codex, GitHub Copilot in VS Code, and similar): Ask your agent to “add the MCP server at
https://docs.maptiler.com/mcp”. It knows its own configuration and can set it up for you. - Chat apps (Claude, ChatGPT, and similar): Add the address as a custom connector or MCP server in the app’s settings, and leave any authentication fields empty.
To set it up by hand, add the address as a remote (HTTP) MCP server, following your tool’s own instructions: Claude Code, Claude custom connectors, Cursor, Codex, or VS Code.
Some tools ask you to approve a new server, or to restart, before its tools become available.
Check the connection
Ask your assistant: “Which MapTiler tools do you have?” If it lists tools such as search_docs, get_schema, or styles_catalog, you’re connected.
If your assistant can’t connect, your company’s policies may block custom connectors or external domains. Ask your administrator to whitelist docs.maptiler.com.
What your assistant can look up
Your assistant decides on its own when to use the server, usually when your question is about MapTiler. To make sure it does, mention MapTiler in your question or ask it to check the MapTiler docs.
- Map styles: current MapTiler map styles, their variants (such as dark or light), and the matching MapTiler SDK constants
- Documentation: search and read any page on this site
- Tile schemas: layers, fields, geometry types, and zoom ranges for Planet v4, Outdoor, Buildings, and other tilesets
- API specifications: endpoints, parameters, and responses for the MapTiler API and MapTiler Server
- Code examples: working examples for MapTiler SDK JS, the mobile SDKs, GeoSplats SDK, React, Vue, Svelte, Angular, Leaflet, MapLibre GL JS, OpenLayers, and deck.gl
- Developer guidelines: common pitfalls, such as coordinate order (
[lng, lat]), map container height, and cleaning up the map when a component unmounts
Example prompts
- “What MapTiler map styles work well for hiking maps, and what are their MapTiler SDK constants?”
- “Show me how to add custom interactive markers to a map with MapTiler SDK JS.”
- “Which parameters does the MapTiler Geocoding API accept for reverse geocoding? Write a TypeScript function that calls it.”
- “What fields, geometry types, and zoom ranges does the road layer in MapTiler Planet v4 have?”
- “How do I add a MapTiler SDK JS map to a React component without memory leaks or double mounting in strict mode?”