MCP Server

Connect an AI assistant to Draxlr with the Model Context Protocol.

The Draxlr MCP Server lets AI assistants that support the Model Context Protocol (such as Claude and Cursor) work directly with your Draxlr databases and dashboards. Once connected, the assistant can list your databases, run SQL, save queries, build dashboards, and export queries and dashboards on your behalf using a set of tools (commands).

The server is available at:

https://api.draxlr.com/mcp

Authentication

Draxlr's MCP server uses OAuth. When you add Draxlr as a connector, your client opens a sign-in flow: you log into Draxlr, authorize access, and the client receives a token. There's nothing to copy or paste.

Connect your MCP client

Add Draxlr as a custom connector and sign in:

  1. In your AI assistant, open connector settings and choose Add custom connector.
  2. Paste the server URL: https://api.draxlr.com/mcp
  3. Click Connect and sign in with your Draxlr account to authorize access.

Step-by-step for each client: see Set up in your client for Claude, ChatGPT, Perplexity, VS Code, and Cursor.

Available commands

Shareable links:

Tools that reference a query or dashboard return a url to open it in Draxlr — so you can ask your assistant for the link to any query or dashboard.

Typical workflow

  1. List Databases to find the databaseId you want to work with.
  2. Run Query to execute SQL and preview the results.
  3. Save Query to store it under the database's saved queries.
  4. List Dashboards to find a dashboard, then Add Query to Dashboard to pin the query as a widget.

Read-only queries:

Only read (SELECT) queries are allowed. Write statements are rejected, so the assistant can explore your data safely.