Skip to content
Queria Docs
Esc
↑↓navigate↵open⌘Jpreview
On this page

Connect from Tableau Desktop

Install the DuckDB Tableau connector and connect to datasets from Tableau Desktop

Install the DuckDB Tableau connector published by MotherDuck and the DuckDB JDBC driver in Tableau Desktop, and you can ATTACH a dataset in the initial SQL.

Install the connector and driver

Follow the duckdb-tableau-connector README for the steps to install the DuckDB JDBC driver and the .taco file. The steps and file locations change from time to time, so this page does not copy them.

Restart Tableau Desktop after installing.

Connect from Tableau

From “Connect” → “More…”, choose “DuckDB by MotherDuck”, paste the following into the “Initial SQL” tab, and click “Sign In”.

INSTALL ducklake;
LOAD ducklake;
ATTACH 'ducklake:https://data.queria.io/e_stat/metadata.db' AS e_stat (READ_ONLY);

If the left pane shows the e_stat.ssds schema and tables such as a_pref_population, you are connected. Place a_pref_population on the workspace, put area_name on rows and value on columns, and you can show population by prefecture as a map or a bar chart.

Use it from AI agents

With Tableau MCP, published by Tableau, AI agents such as Claude can answer questions in plain language about data sources on Tableau Cloud and Tableau Server.

Check two things first.

  • Tableau MCP reads data sources on Tableau Cloud and Tableau Server. It can’t read data in Tableau Desktop
  • Publish the Queria data you connected on this page from Tableau Desktop to Tableau Cloud or Tableau Server as a data source first. Tableau MCP can’t publish

There are two ways to connect. See the Tableau MCP documentation for details.

  • A server run by Tableau: add https://mcp.tableau.com to your MCP client and sign in with your Tableau Cloud account. Nothing to install
  • A server you run: start npx -y @tableau/mcp-server@latest with a Personal Access Token. Use this for Tableau Server

Add the Queria MCP server as well, and in one conversation the AI can look at both Queria’s open data and your published data sources.

{
  "mcpServers": {
    "queria": {
      "url": "https://mcp.queria.io"
    },
    "tableau": {
      "command": "npx",
      "args": ["-y", "@tableau/mcp-server@latest"],
      "env": {
        "SERVER": "https://prod-apnortheast-a.online.tableau.com",
        "SITE_NAME": "your-site",
        "PAT_NAME": "your-pat-name",
        "PAT_VALUE": "your-pat-value"
      }
    }
  }
}

Was this page helpful?