Tableau MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Tableau MCP Serverlist workbooks from the Sales project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Tableau MCP Server
A Model Context Protocol (MCP) server for Tableau Server and Tableau Cloud, built on the
official mcp Python SDK (FastMCP). It authenticates via a Personal Access Token (PAT) and
exposes read/write tools backed by the Tableau REST API.
Features
PAT-based sign-in with automatic sign-out on shutdown (via FastMCP
lifespan)Async
httpxclient with typed exceptions (TableauError,AuthenticationError,APIError,NotFoundError)Tools for sites, projects, workbooks, views, data sources
View data (CSV) and image (PNG) retrieval
Extract refresh and workbook download helpers
Installation
git clone https://github.com/asklokesh/tableau-mcp-server.git
cd tableau-mcp-server
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"Configuration
All settings are read from environment variables with the TABLEAU_ prefix (a .env
file next to the working directory is also supported).
Variable | Default | Description |
| (required) | Base URL, e.g. |
|
| Tableau REST API version |
|
| Site content URL; empty string targets the default site |
| (required) | Personal Access Token name |
| (required) | Personal Access Token secret |
|
| HTTP request timeout (seconds) |
Running
tableau-mcp
# or
python -m tableau_mcp.serverClaude Desktop configuration
{
"mcpServers": {
"tableau": {
"command": "tableau-mcp",
"env": {
"TABLEAU_SERVER_URL": "https://10ax.online.tableau.com",
"TABLEAU_SITE_CONTENT_URL": "mysite",
"TABLEAU_PAT_NAME": "my-pat",
"TABLEAU_PAT_SECRET": "xxxxxxxxxxxx"
}
}
}
}Tools
Tool | Description |
| List all sites reachable with the current PAT |
| List projects on a site |
| List workbooks, optionally filtered by project name |
| List views on a site or for a specific workbook |
| List published data sources |
| Return view data as CSV (optional |
| Return view rendering as a base64-encoded PNG |
| Trigger an extract refresh for a data source |
| Trigger an extract refresh for a workbook |
| Download a workbook as base64-encoded |
Development
pip install -e ".[dev]"
pytest -x --tb=short
ruff check src testsLicense
MIT License - see LICENSE file for details.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/LokiMCPUniverse/tableau-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server