Skip to main content

A Model Context Protocol (MCP) server for Tableau Server - enables AI assistants to interact with Tableau workbooks, views, datasources, and metadata

Project description

Tableau MCP Server (tableau-mcp-navi)

A Model Context Protocol (MCP) server for Tableau Server. Enables AI assistants (like Claude, Cursor) to interact with Tableau workbooks, views, datasources, and metadata.

PyPI version License: MIT

Features

  • 22 Tools for comprehensive Tableau Server interaction
  • Two Authentication Methods: Personal Access Token (PAT) or Username/Password
  • Metadata API: Extract refresh info, data lineage, upstream tables
  • Zero Install: Run directly with uvx - no local installation needed
  • Auto Updates: Users always get the latest version

Quick Start

1. Install uv (if not installed)

# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

2. Configure Cursor

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "tableau": {
      "command": "uvx",
      "args": ["tableau-mcp-navi"],
      "env": {
        "TABLEAU_SERVER_URL": "https://your-tableau-server.com",
        "TABLEAU_TOKEN_NAME": "your_token_name",
        "TABLEAU_TOKEN_SECRET": "your_token_secret",
        "TABLEAU_VERIFY_SSL": "false"
      }
    }
  }
}

3. Restart Cursor

The MCP server will be available immediately!

Available Tools (22 total)

Workbook Tools

Tool Description
list_workbooks List all workbooks on the server
get_workbook Get workbook details including views
search_workbooks Search workbooks by name

View Tools

Tool Description
list_views List views (dashboards/sheets)
get_view Get view details
get_view_data Get underlying data from a view
get_view_image Get PNG preview of a view
download_view_image Download view image to disk
download_view_image_from_url Download image from Tableau URL

Data Source Tools

Tool Description
list_datasources List all data sources
get_datasource Get data source details
refresh_datasource Trigger extract refresh

Project Tools

Tool Description
list_projects List all projects
get_project Get project details

User Tools

Tool Description
list_users List users on the server
get_user Get user details

Metadata API Tools (RCA & Lineage)

Tool Description
get_datasource_extract_info Get extract refresh times
get_dashboard_extract_info Get extract info for all datasources in a dashboard
find_stale_extracts Find datasources with stale extracts
get_datasource_tables Get upstream tables for a datasource
get_dashboard_tables Get ALL tables powering a dashboard
get_dashboard_sql_from_url Extract custom SQL from dashboard URL

Other Tools

Tool Description
test_connection Test Tableau connectivity
list_sites List available sites

Configuration

Environment Variables

Variable Required Description
TABLEAU_SERVER_URL Your Tableau Server URL
TABLEAU_TOKEN_NAME ✅* Personal Access Token name
TABLEAU_TOKEN_SECRET ✅* Personal Access Token secret
TABLEAU_USERNAME ✅* Username (alternative to PAT)
TABLEAU_PASSWORD ✅* Password (alternative to PAT)
TABLEAU_SITE_ID Site ID (empty for default)
TABLEAU_VERIFY_SSL Set to "false" for self-signed certs
TABLEAU_API_VERSION Override API version
TABLEAU_MCP_ANALYTICS Set to "false" to disable analytics

*Either PAT or Username/Password required

Getting a Personal Access Token

  1. Log in to Tableau Server
  2. Click your profile icon → My Account Settings
  3. Scroll to Personal Access Tokens
  4. Click Create new token
  5. Copy both the Token Name and Token Secret

Usage Examples

After configuring Cursor:

"List all workbooks in Tableau"
"Get details for workbook abc123"
"Search for workbooks about sales"
"Get data from view xyz789"
"What tables power the Sales Dashboard?"
"Find all stale extracts older than 48 hours"
"Get the SQL from this Tableau URL: https://..."

Updates

When the package is updated on PyPI, users automatically get the new version on their next run - no action required!

Development

# Clone
git clone https://github.com/manish-coder-1007/tableau-mcp-navi.git
cd tableau-mcp-navi

# Install dependencies
uv sync

# Run locally
uv run python -m tableau_mcp_navi

License

MIT License - see LICENSE file.

Author

Manish Balot

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tableau_mcp_navi-0.1.0.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tableau_mcp_navi-0.1.0-py3-none-any.whl (28.9 kB view details)

Uploaded Python 3

File details

Details for the file tableau_mcp_navi-0.1.0.tar.gz.

File metadata

  • Download URL: tableau_mcp_navi-0.1.0.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tableau_mcp_navi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dd4747c50988b07d5260567d05b7cc2664f474f9bbc999045ee6ae5774dfdd32
MD5 33903ccfca721debbce17b22f37454d9
BLAKE2b-256 712024503f46010aa3f746d547829864fd78f1bded2003623d55e86295c43210

See more details on using hashes here.

Provenance

The following attestation bundles were made for tableau_mcp_navi-0.1.0.tar.gz:

Publisher: publish.yml on manish-coder-1007/tableau-mcp-navi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tableau_mcp_navi-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tableau_mcp_navi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d633044979ffa1ff597fad97be257afb2b6fe199e46cd70448eccd3d12cca88b
MD5 cc4a6e9459fe3929add5d714c6687ee3
BLAKE2b-256 93ed58167b40a2eb61b70a74a8d3ff6e1d80410564ecd9a6f4d81d480231b2ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for tableau_mcp_navi-0.1.0-py3-none-any.whl:

Publisher: publish.yml on manish-coder-1007/tableau-mcp-navi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page