CARTO MCP Server
Lets your AI agent query data warehouses, run workflows and render maps from your CARTO workspace.
by CARTOUpdated β
How to install
This MCP is remote: it runs in the cloud.
Nothing to install. Copy the address and paste it into your AI app:
Server address
https://<region>.api.carto.com/mcp/<account_id>
- βΊClaude (site or app): Settings β Connectors β Add custom connector.
- βΊChatGPT: Settings β Apps β Create app (developer mode), and paste the address.
- βΊClaude Code, Cursor, VS Code and Windsurf: pick your app below.
Paste in the terminal:
claude mcp add --transport http carto https://<region>.api.carto.com/mcp/<account_id>
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Show me the tables in my connected warehouse and what columns they have.
Build a map from this table and color the layer by population.
What it is
This server puts the CARTO location-data platform inside your AI assistant. The agent can explore connected data warehouses, build and edit maps, author and run workflows, run spatial SQL and manage workspace items. The AI model runs in your assistant, and CARTO only receives the tool calls.
What it can do
- Explore data: list connections, browse and search warehouse tables
- Create and edit Builder maps from a table or SQL query
- Build, validate, run and schedule workflows
- Run spatial SQL, geocode addresses and compute routes
- Import and export geospatial files
- Manage connections, credentials and projects, and admin tasks for admins
When to use
- βΊWhen you want to explore a data warehouse table and make a map from it
- βΊWhen you need to build and run a spatial analysis workflow by describing it
- βΊWhen you want to geocode a list of addresses or compute routes
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
azure-maps-search-dotnetLets the agent use maps and location data to find addresses, calculate routes, and get weather information. Useful for apps needing location-based services.geoapify-automationHelps your agent use Geoapify for geolocation data. It can search for places and geographic information. Useful for maps and spatial analysis.bigquery-basicsHelps your agent manage BigQuery datasets, tables and jobs, run SQL queries and load data in Google's serverless data warehouse.Frequently asked questions
Is it made by CARTO?
Yes. The registry verified that the server is published by the owner of carto.com.
How do I sign in?
With OAuth, where each person signs in as themselves, or with an API Access Token for a read-and-discovery subset. Claude and Claude Code connect with just the URL.
What can the agent do with an API token?
Only a read-and-discovery subset: browse data, run SQL, and check workflow runs. It cannot author maps or workflows.
Where do I find the server URL?
In your CARTO Workspace, under Developers or Settings. Copy it rather than building it by hand.
Do maps show inline?
Only in clients that support MCP Apps, such as Claude.ai, ChatGPT and Claude Desktop. Others return a text confirmation.
Is what the agent does recorded?
Yes. It is recorded in your organization's Activity Data and counts toward your usage quota.
If it does not work
- βΊA bare 405 Not Allowed usually means a wrong URL path. Copy the URL from your CARTO Workspace.
- βΊOn self-hosted deployments the path is your domain plus /api/mcp/ and the account id.
- βΊIf your organization uses single sign-on, use the separate SSO login URL shown in the Workspace.
5 new skills a week. 1 minute to read.