tableau-mcp-navi
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.
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 neededAuto Updates: Users always get the latest version
Related MCP server: Semantic BI MCP
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 all workbooks on the server |
| Get workbook details including views |
| Search workbooks by name |
View Tools
Tool | Description |
| List views (dashboards/sheets) |
| Get view details |
| Get underlying data from a view |
| Get PNG preview of a view |
| Download view image to disk |
| Download image from Tableau URL |
Data Source Tools
Tool | Description |
| List all data sources |
| Get data source details |
| Trigger extract refresh |
Project Tools
Tool | Description |
| List all projects |
| Get project details |
User Tools
Tool | Description |
| List users on the server |
| Get user details |
Metadata API Tools (RCA & Lineage)
Tool | Description |
| Get extract refresh times |
| Get extract info for all datasources in a dashboard |
| Find datasources with stale extracts |
| Get upstream tables for a datasource |
| Get ALL tables powering a dashboard |
| Extract custom SQL from dashboard URL |
Other Tools
Tool | Description |
| Test Tableau connectivity |
| List available sites |
Configuration
Environment Variables
Variable | Required | Description |
| ✅ | Your Tableau Server URL |
| ✅* | Personal Access Token name |
| ✅* | Personal Access Token secret |
| ✅* | Username (alternative to PAT) |
| ✅* | Password (alternative to PAT) |
| ❌ | Site ID (empty for default) |
| ❌ | Set to "false" for self-signed certs |
| ❌ | Override API version |
| ❌ | Set to "false" to disable analytics |
*Either PAT or Username/Password required
Getting a Personal Access Token
Log in to Tableau Server
Click your profile icon → My Account Settings
Scroll to Personal Access Tokens
Click Create new token
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_naviLicense
MIT License - see LICENSE file.
Author
Manish Balot
Links
Available Tools
24 toolsdownload_view_imageA
Download a view's image and save it to disk.
Args: view_id: The ID of the view to download output_dir: Directory to save the image (default: current directory) filename: Optional custom filename without extension (default: view name)
Returns: Success message with file path or error message
Inputs: view_id (required), output_dir, filename. Returns: result
download_view_image_from_urlA
Download a dashboard image directly from a Tableau URL.
Supports URL formats:
Args: url: Full Tableau URL to the view/dashboard output_dir: Directory to save the image (default: current directory) filename: Optional custom filename without extension
Returns: Success message with file path or error message
Inputs: url (required), output_dir, filename. Returns: result
find_stale_extractsA
Find all datasources with extracts that haven't been refreshed recently. Useful for monitoring data freshness across your Tableau environment.
Args: hours_threshold: Number of hours - extracts older than this are considered stale (default: 24)
Returns: List of datasources with stale or never-refreshed extracts
Inputs: hours_threshold. Returns: result
get_dashboard_extract_infoB
Get extract refresh information for all datasources used by a dashboard/workbook. Shows when each underlying datasource was last refreshed.
Args: workbook_name: Name of the workbook/dashboard (e.g., "Daily Sales Metrics")
Returns: Workbook info with all datasource extract refresh times
Inputs: workbook_name (required). Returns: result
get_dashboard_sql_from_urlA
Get ALL custom SQL queries for a Tableau dashboard from its URL. This is the MAIN tool for reverse engineering - give it a URL, get the SQL.
Use this to answer: "What SQL/tables power this Tableau dashboard?"
Args: url: Full Tableau dashboard URL (e.g., https://tableau.server.com/authoring/Workbook/View)
Returns: Complete breakdown: Dashboard info, sheets, datasources, and custom SQL for each
Inputs: url (required). Returns: result
get_dashboard_tablesA
Get ALL upstream tables used by a dashboard/workbook. Traces through all datasources to find every table powering the dashboard.
This is the MAIN RCA tool - answer "What's behind this Tableau dashboard?"
Args: workbook_name: Name of the workbook/dashboard (e.g., "RCBPSlackcards", "50Cr Slack Report")
Returns: Complete list of all tables powering the dashboard
Inputs: workbook_name (required). Returns: result
get_datasourceB
Get detailed information about a specific data source.
Args: datasource_id: The ID of the data source
Returns: Data source details
Inputs: datasource_id (required). Returns: result
get_datasource_extract_infoA
Get extract refresh information for a datasource using the Metadata API. Shows when the extract was last refreshed, updated, and which workbooks use it.
Args: datasource_name: Name of the datasource (e.g., "GI Business Data Model")
Returns: Extract information including last refresh time
Inputs: datasource_name (required). Returns: result
get_datasource_tablesA
Get the actual upstream tables (e.g., corp_analytics tables) used by a datasource. This is the KEY tool for RCA - shows exactly which tables power a Tableau datasource.
Use this to answer: "What tables does this datasource query?"
Args: datasource_name: Name of the datasource (e.g., "NAVI Pay DM", "GI Business Data Model")
Returns: List of upstream tables with schema and database info
Inputs: datasource_name (required). Returns: result
get_projectB
Get detailed information about a specific project.
Args: project_id: The ID of the project
Returns: Project details
Inputs: project_id (required). Returns: result
get_userB
Get detailed information about a specific user.
Args: user_id: The ID of the user
Returns: User details
Inputs: user_id (required). Returns: result
get_viewB
Get detailed information about a specific view.
Args: view_id: The ID of the view
Returns: View details
Inputs: view_id (required). Returns: result
get_view_dataA
Get the underlying data from a view.
Args: view_id: The ID of the view max_rows: Maximum rows to return (default 100)
Returns: View data in markdown table format
Inputs: view_id (required), max_rows. Returns: result
get_view_imageB
Get a PNG image preview of a view.
Args: view_id: The ID of the view
Returns: Base64 encoded image data or error message
Inputs: view_id (required). Returns: result
get_workbookA
Get detailed information about a specific workbook.
Args: workbook_id: The ID of the workbook
Returns: Workbook details including views
Inputs: workbook_id (required). Returns: result
list_datasourcesA
List all data sources on the Tableau Server.
Args: project_id: Optional project ID to filter by limit: Maximum number of data sources to return (default 100)
Returns: Markdown formatted list of data sources
Inputs: project_id, limit. Returns: result
list_projectsA
List all projects on the Tableau Server.
Args: parent_id: Optional parent project ID to filter by
Returns: Markdown formatted list of projects
Inputs: parent_id. Returns: result
list_sitesA
List all sites on the Tableau Server. Note: Requires server administrator permissions.
Returns: List of sites
Inputs: no named parameters. Returns: result
list_usersB
List users on the Tableau Server.
Args: limit: Maximum number of users to return (default 100)
Returns: Markdown formatted list of users
Inputs: limit. Returns: result
list_viewsB
List views (dashboards/sheets) on the server.
Args: workbook_id: Optional workbook ID to filter views by limit: Maximum number of views to return (default 100)
Returns: Markdown formatted list of views
Inputs: workbook_id, limit. Returns: result
list_workbooksA
List all workbooks on the Tableau Server.
Args: project_id: Optional project ID to filter by limit: Maximum number of workbooks to return (default 100)
Returns: Markdown formatted list of workbooks
Inputs: project_id, limit. Returns: result
refresh_datasourceB
Trigger a refresh of a data source extract.
Args: datasource_id: The ID of the data source to refresh
Returns: Refresh job status
Inputs: datasource_id (required). Returns: result
search_workbooksA
Search for workbooks by name.
Args: query: Search term (searches in workbook names) limit: Maximum results to return (default 20)
Returns: Matching workbooks
Inputs: query (required), limit. Returns: result
test_connectionA
Test the connection to Tableau Server. Use this to verify connectivity and authentication.
Returns: Connection status and user information
Inputs: no named parameters. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 24 tools
Each tool targets a distinct resource and action. Even similar tools like download_view_image and download_view_image_from_url have clear differences (ID vs URL input). Descriptions clearly distinguish purposes.
All tools follow a consistent verb_noun pattern with lowercase and underscores. Examples: list_datasources, get_view_data, refresh_datasource. No mixing of conventions.
24 tools is slightly high but reasonable for a comprehensive Tableau server MCP. Each tool serves a clear purpose; some grouping of related operations exists but not excessive.
Covers listing, getting details, downloading images, extracting SQL/tables, checking extracts, and search. Missing create/update/delete operations, but those may be out of scope for a monitoring-focused toolset. Minor gaps but agents can work around.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA Model Context Protocol (MCP) server that enables AI assistants to interact with Excel Power Pivot data models. Create and manage DAX measures, relationships, and more through natural language.4MIT
- FlicenseNot gradedqualityCmaintenanceModel Context Protocol (MCP) server that gives AI assistants a safe, correct data-analyst capability over business metrics - without raw SQL improvisation.-
- FlicenseNot gradedqualityDmaintenanceAn MCP server for integrating Tableau with GenAI applications, enabling data visualization and analytics tasks.-
- AlicenseNot gradedqualityDmaintenanceA local MCP server that allows LLMs to inspect and safely edit Tableau Desktop workbooks (.twb) via XML, including creating native calculated fields using Tableau formula syntax.MIT