# Tableau (MCP Server)

> Let agents explore Tableau data sources, workbooks and views

- Type: MCP server
- Publisher: Tableau (official)
- Categories: Data & Analytics
- Website: https://tableau.github.io/tableau-mcp/
- Source: https://github.com/tableau/tableau-mcp
- Transport: stdio
- Launch command: npx -y @tableau/mcp-server@latest
- Sign-in: api-key
- Environment variables: SERVER, SITE_NAME, PAT_NAME, PAT_VALUE
- GitHub stars: 351
- Listed: 2025-05-02

## About

Tableau's official MCP server helps AI agents discover and query Tableau published data sources and work with workbooks and views. Tableau Cloud customers can use a hosted version, while the self-hosted server runs via npx and authenticates to Tableau Server or Cloud with a personal access token.

## Install

1. **Add the server to Codex**

   Codex CLI:

   ```bash
   codex mcp add tableau --env SERVER=YOUR_SERVER --env SITE_NAME=YOUR_SITE_NAME --env PAT_NAME=YOUR_PAT_NAME --env PAT_VALUE=YOUR_PAT_VALUE -- npx -y @tableau/mcp-server@latest
   ```

   config.toml:

   ```toml
   [mcp_servers.tableau]
   command = "npx"
   args = ["-y", "@tableau/mcp-server@latest"]
   
   [mcp_servers.tableau.env]
   SERVER = "YOUR_SERVER"
   SITE_NAME = "YOUR_SITE_NAME"
   PAT_NAME = "YOUR_PAT_NAME"
   PAT_VALUE = "YOUR_PAT_VALUE"
   ```

   Agents SDK:

   ```python
   from agents import Agent, Runner
   from agents.mcp import MCPServerStdio
   
   async with MCPServerStdio(
       name="Tableau",
       params={"command": "npx", "args": ["-y", "@tableau/mcp-server@latest"]},
   ) as server:
       agent = Agent(name="Assistant", mcp_servers=[server])
       result = await Runner.run(agent, "Which data sources on our Tableau site mention revenue?")
       print(result.final_output)
   ```

## Example prompts

- "Which data sources on our Tableau site mention revenue?"
- "Query the Superstore data source for sales by region this year"
- "Show me the views in the Executive KPIs workbook"
- "What fields are available in the Customer Churn data source?"

## Also available as

- plugin: [Tableau](https://chatgptplugins.directory/plugins/tableau.md)
- app: [Tableau (MCP only; EOL soon)](https://chatgptplugins.directory/apps/tableau-mcp-only-eol-soon.md)

## Related

- [Supabase](https://chatgptplugins.directory/mcp/supabase.md): Manage Supabase databases, migrations, edge functions and logs
- [Graphiti MCP](https://chatgptplugins.directory/mcp/graphiti.md): Temporal knowledge graph memory for agents, by Zep
- [MCP Toolbox for Databases](https://chatgptplugins.directory/mcp/mcp-toolbox-databases.md): Google's open-source MCP server for 20+ databases
- [PostHog](https://chatgptplugins.directory/mcp/posthog.md): Query product analytics, feature flags, experiments and errors in PostHog
- [Apify](https://chatgptplugins.directory/mcp/apify.md): Run thousands of Apify Actors for scraping and automation from your agent
- [Firecrawl](https://chatgptplugins.directory/mcp/firecrawl.md): Scrape, search, crawl and interact with live web pages for LLMs

---
Source: https://chatgptplugins.directory/mcp/tableau · Index: https://chatgptplugins.directory/llms.txt · Independent and community-run. Not affiliated with or endorsed by OpenAI. ChatGPT is a trademark of OpenAI.
