How to Use with AI
How to Use with AI
Point your AI coding assistant at Maptoolkit’s llms.txt and it can add a working vector basemap to your project without you looking anything up. This works with any AI coding assistant — Claude, ChatGPT, Cursor, GitHub Copilot. (The Enterprise License comes with an MCP Server.)
Why this works
llms.txt is a single plain-text reference built for AI assistants to read in one pass. It contains the style URL, the full endpoint list, the attribution requirements, ready-to-use code for every major mapping library, migration snippets from Mapbox and Google Maps, and the license and rate-limit rules — so the assistant does not have to guess or rely on outdated training data.
Example prompt
Copy this into your AI assistant of choice:
Create an HTML page with a free Maptoolkit.org vector basemap using MapLibre GL JS.
Read https://www.maptoolkit.org/llms.txt first to find the correct style URL and the
attribution requirements, then implement it. If you cannot fetch llms.txt, do not guess
its contents — tell me instead.Attribution (the Maptoolkit logo and copyright line) is required on every map under the Community License. A good AI assistant will add it automatically once it reads
llms.txt — check the result against Step 2 of the Quick Start.Next steps
- Quick Start - add a map by hand and see what the assistant should produce
- SDKs and Libraries - MapLibre, Leaflet, OpenLayers, and mobile