Connecting to Tableau MCP: A Deep Dive into Agentic AI Analysis

What is Model Context Protocol?

Model Context Protocol (MCP) is an open standard that acts as a universal bridge between AI systems and external tools, apps, and data sources. Instead of requiring custom connectors for every service, MCP provides a standardized way for AI applications to access and query data from various platforms — including business intelligence tools like Tableau.

Think of it as giving AI applications the ability to seamlessly communicate with your data infrastructure using natural language, eliminating the need for complex API calls or custom coding.

Connecting to Tableau MCP: A Deep Dive into Lakers Data Analysis

The world of business intelligence is evolving rapidly, and the introduction of Model Context Protocol (MCP) is reshaping how we interact with data platforms. When I discovered Tableau’s new MCP server, I knew I had to give it a try. I decided to document my own journey connecting to Tableau MCP and analyzing Lakers basketball data.

Setting Up Tableau MCP

Getting started with Tableau’s MCP server was surprisingly straightforward. Here’s how I approached the setup:

1. Installation and Configuration

First, I cloned the tableau MCP Github and set up the local environment:

git clone https://github.com/tableau/tableau-mcp
cd tableau-mcp
npm install
npm run build

2. Tableau Cloud Authentication

Before diving into the data, I needed to configure authentication with Tableau Cloud. This involved:

  • Creating a Personal Access Token (PAT) in my Tableau Cloud user settings
  • Noting down the server URL and site details
  • Preparing these credentials for the Claude configuration

3. Claude Desktop Configuration

The configuration process was refreshingly simple. In Claude’s developer settings, I edited the claude_desktop_config.json file to include my Tableau MCP server details:

{
"mcpServers": {
"tableau": {
"command": "node",
"args": ["path/to/tableau-mcp/dist/index.js"],
"env": {
"TABLEAU_SERVER_URL": "your-server-url",
"TABLEAU_PAT_NAME": "your-pat-name",
"TABLEAU_PAT_SECRET": "your-pat-secret",
"TABLEAU_SITE_ID": "your-site-id"
}
}
}
}

After restarting Claude, the Tableau MCP server appeared in the tools menu, ready for action.

Exploring the Lakers Dataset

With the MCP connection established, I turned my attention to analyzing Lakers basketball data. The dataset contained comprehensive team and player statistics, providing rich material for analysis.

Initial Data Discovery

My first step was understanding what data was available. Using Claude’s natural language interface with the Tableau MCP server, I asked it to:

  1. List fields from lakers_2025_season
  2. Examine the Lakers dataset structure: Using the list-fields function to understand columns, data types, and field relationships

3. Profile the data: Getting a sense of the dataset size and key metrics

The MCP server seamlessly handled these requests, with Claude asking for permission before executing each Tableau query — a nice security touch.