Connect Tableau to Claude Code
Search and browse Tableau workbooks, views and data sources, read a view's data, and query a published data source. Add Toolspoke to Claude Code once and it can use 12 Tableau actions. Your Tableau credential stays in Toolspoke, and you choose which actions Claude Code may call.
Set it up in Claude Code
Three steps, the first one once for every toolkit you will ever add.
Add Toolspoke to Claude Code
Run it in your project, then /mcp to sign in
claude mcp add --transport http toolspoke https://toolspoke.com/mcpThe sign-in opens in your browser, and Toolspoke asks you to approve it.
Install Tableau and connect it
Add Tableau to a project in your Toolspoke workspace.
Personal access token. You provide it once, when you install the connector. Toolspoke encrypts it at rest and decrypts it only for the length of a single call, and the gateway attaches it to the outbound request itself, so it is never part of the arguments an agent sends.
- Server URL
- The address before /#/ when you open Tableau in a browser, your Tableau Cloud pod, e.g. https://prod-useast-a.online.tableau.com, or your Tableau Server's address.
- Personal access token name
- Tableau → your avatar → My Account Settings → Personal Access Tokens → Create Token. Enter the token's name exactly as created; it is case-sensitive.
- Personal access token secret
- The secret shown once when the token is created. The token acts with your own site role and permissions. Create one just for this connector. Tableau ends a token's earlier session when it signs in again, so sharing a token with another tool signs one of them out.
Choose what Claude Code may do
All 12 actions only read, and any of them can be switched off for a project.
What you can ask Claude Code for
A few of the Tableau actions that only read, so they are safe to try first.
- List the site's projects, the folders content is published into
- List workbooks on the site with their project, owner and update time
- Read one workbook with its views
- List views (sheets and dashboards) on the site, with the workbook each belongs to
What Claude Code can do in Tableau
12 actions read.
Reads
Search content
Search the site's content, workbooks, views, data sources, projects, flows, tables, by terms, optionally narrowed by type, owner or modified time and ordered by usage. Start here when you do not already have an id.
List projects
List the site's projects, the folders content is published into.
List workbooks
List workbooks on the site with their project, owner and update time. It is also the install's connection test, because it signs in and reads real content.
Get workbook
Read one workbook with its views.
List views
List views (sheets and dashboards) on the site, with the workbook each belongs to.
Get view
Read one view's metadata.
Get view data
Read the data behind one view as CSV, optionally with view filters applied. Not written to the audit log, because it is the site's data.
List datasources
List published data sources on the site. The datasource LUID is what get_datasource_metadata and query_datasource take.
Get datasource metadata
Read a published data source's fields, names, types, roles and descriptions. Call this before query_datasource; field captions must match exactly.
Query datasource
Query a published data source through VizQL Data Service. Name the fields by fieldCaption, with a function such as SUM for measures, and add filters if needed. Not written to the audit log, because it returns the site's data.
List jobs
List background jobs such as extract refreshes and flow runs, with their status. Needs a site administrator's token.
List users
List the site's users with their site role. Needs a site administrator's token.
Tableau in Claude Code: questions
Does Claude Code see my Tableau credential?
No. The credential is stored encrypted in Toolspoke, and the gateway adds it to each call. Claude Code only ever talks to Toolspoke, and the dashboard shows the last four characters of the credential and nothing more.
Will 12 actions crowd Claude Code's context?
No. Toolspoke shows Claude Code five bridge tools, plus a guide where a toolkit has one, and Claude Code searches for the Tableau action it needs when it needs it. Adding more toolkits does not add more tools to its list.
Can I add it once for every project?
Yes. Add --scope user to the command and Claude Code keeps Toolspoke in every project on this machine. Without it, the server is added to the project you ran the command in.
What does it cost?
Tool calls are free on every plan. Tableau runs in a sandbox, so a call bills the sandbox time it uses.
Tableau in your other apps
More analytics toolkits for Claude Code
Try Tableau in Claude Code
Free to start, and tool calls cost nothing on any plan.