Sandbox
@tableau/tableau-mcp

MCP server for Tableau data and workbooks

Tableau MCP connects an MCP-compatible client to Tableau Server or Tableau Cloud. It gives agents tools, resources, and prompts for querying data, exploring content, and showing views.

337 stars137 forksTypeScriptUpdated 6d ago
Who it's for

Builders who want their agent to work with Tableau content through an MCP client.

What it delivers

You can ask an agent to query Tableau data, inspect workbooks, and surface views without leaving your chat tool.

What it does

Hosted MCP service

A managed server at `https://mcp.tableau.com` with OAuth 2.1 sign-in for Tableau Cloud users.

Self-hosted MCP server

Run locally with `npx -y @tableau/mcp-server@latest` and connect it to a Tableau Server or Cloud site.

Tableau tools and resources

The server exposes developer primitives for querying data, exploring content, and retrieving workbook or view information.

Client integration guides

Docs cover setup for common MCP clients and deployment options like Docker and Heroku.

How to get it

  1. 1Run
    For the Superstore Datasource, what are the top 5 states with the most sales in 2025?
  2. 2Run
    Find me the most viewed workbook within the last year.
  3. 3Run
    The most viewed workbook within the last year is:
    
    Global Connections
    - Owner: John Doe
    - Project: Marketing
    - Views in last year: 523
    - Last Modified: September 2, 2025
    - Workbook ID: 111fb672-9401-4913-a167-17b3d89a3e4f
  4. 4Run
    Show me the "Economy" view in the "Finances" project.

README

Tableau MCP

Tableau Supported

Build and Test

npm

Overview

Tableau MCP is a suite of developer primitives, including tools, resources and prompts, that will make it easier for developers to build AI applications that integrate with Tableau.

Official Documentation

https://tableau.github.io/tableau-mcp/

Getting Started

Hosted Tableau MCP (Recommended for Tableau Cloud)

Tableau MCP is available as a managed service at https://mcp.tableau.com. It uses OAuth 2.1 so every user signs in with their own Tableau Cloud identity, and all existing per-user permissions are enforced automatically.

Point any MCP-compatible client at https://mcp.tableau.com and complete the OAuth sign-in flow when prompted.

See Popular Client Integrations for step-by-step setup instructions for Slack, Claude, ChatGPT, and other common AI clients.

Tableau Server customers and Cloud customers who require self-hosted infrastructure should see the Enterprise Deployment and Self-Hosted Getting Started guides.

Self-Hosted / Local (npx)

The quickest way to run Tableau MCP locally. Requires Node.js 22.7.5 or later — no cloning or building needed. Configure your AI tool (MCP client) with:

{
  "mcpServers": {
    "tableau": {
      "command": "npx",
      "args": ["-y", "@tableau/mcp-server@latest"],
      "env": {
        "SERVER": "https://my-tableau-server.com",
        "SITE_NAME": "my_site",
        "PAT_NAME": "my_pat",
        "PAT_VALUE": "pat_value"
      }
    }
  }
}

For Docker, building from source, and other self-hosted options, see the Getting Started guide.

Deploy to Heroku

Deploy to Heroku

Example Prompts to Client

Prompt #1: Querying Data

For the Superstore Datasource, what are the top 5 states with the most sales in 2025?

Response

Based on the Superstore Datasource, here are the top 5 states with the most sales in 2025:
  1. California - $146,388.34
  2. New York - $93,922.99
  3. Washington - $65,539.90
  4. Texas - $43,421.76
  5. Pennsylvania - $42,688.31
California leads by a significant margin with over $146,000 in sales, followed by New York with nearly $94,000. These two states alone account for a substantial portion of the total sales across the top 5 states.

Prompt #2: Content Exploration

Find me the most viewed workbook within the last year.

Response

The most viewed workbook within the last year is:

Global Connections
- Owner: John Doe
- Project: Marketing
- Views in last year: 523
- Last Modified: September 2, 2025
- Workbook ID: 111fb672-9401-4913-a167-17b3d89a3e4f

Prompt #3: Getting a View

Show me the "Economy" view in the "Finances" project.

Response

Economy View Image

Files in the repo

Repository payload47 top-level entries
  • .claude
  • .cursor
  • .github
  • .vscode
  • .work
  • docs
  • plans
  • scripts
  • src
  • tests
  • types
  • .dockerignore
  • .gitignore
  • .mcpbignore
  • .npmignore
  • .prettierrc
  • AGENTS.md
  • app.json
  • CLAUDE.md
  • CODE_OF_CONDUCT.md
  • CODEOWNERS
  • config.docker.json
  • config.http.json
  • config.stdio.json
  • configShared.ts
  • CONTRIBUTING.md
  • Dockerfile
  • env.example.list
  • eslint.config.mjs
  • features.json
  • icon.png
  • LICENSE.txt
  • package-lock.json
  • package.json
  • playwright.config.ts
  • Procfile
  • README.combined.md
  • README.desktop.md
  • README.md
  • sea-config.json
  • SECURITY.md
  • tsconfig.json
  • tsconfig.providers.json
  • vitest.config.e2e.ts
  • vitest.config.eval.ts
  • vitest.config.oauth.embedded.ts
  • vitest.config.ts

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More connectors

Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface

86k

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

43k

Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama…) with Codex CLI, App, SDK, and Claude Code

14k
okf-memory/
okf-agent-memory

Git-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300µs in-memory BM25 search, embedded MCP server, and progressive disclosure. Slashes token bloat by 80% with zero external databases or dependencies. Built in pure Go.

547
2akouwu/
reverify

Stop your AI from making things up — it proposes, deterministic tools decide, every claim checked against ground truth with evidence. Grounded facts and context survive resets. Reverse engineering is the proving ground. MCP server + CLI.

1.1k
t8y2/dbxConnectors

20 MB lightweight cross-platform database client for 90+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 90+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP Server。

19k