Tableau MCP Server š
A powerful Model Context Protocol (MCP) server that connects Claude Desktop to Tableau Server, enabling natural language interactions with your Tableau data and comprehensive administrative capabilities.
⨠Features
š Data Access & Analysis
List & Browse: Explore all workbooks, views, and data sources
Data Extraction: Get CSV data from any Tableau view
Visual Export: Download dashboard images in PNG format
Complete Datasets: Download entire data sources with all raw data
Smart Search: Find content across your Tableau server
š”ļø Administrative Tools (New!)
User Management: List all users with roles and login history
Permission Auditing: See exactly who has access to workbooks
Group Management: View all groups and member counts
Project Oversight: Audit project permissions and settings
Site Administration: Get comprehensive site statistics
Usage Analytics: Detailed workbook usage and access audits
šÆ Use Cases
For Data Analysts
"Show me the sales data from Q4 dashboard"
"Export the customer metrics as CSV"
"Find all reports containing revenue data"
For Tableau Administrators
"Who has access to the Finance workbook?"
"List all users who haven't logged in recently"
"Show me all groups and their member counts"
"Audit the permissions for our HR dashboards"
š Quick Start
Prerequisites
Python 3.8+
Claude Desktop installed
Access to Tableau Server or Tableau Cloud
Administrative privileges (for admin tools)
1. Clone and Setup
2. MCP SDK Installation (If Having Issues)
If you encounter MCP SDK installation issues, try these solutions:
3. Verify Installation
4. Configuration
Create a .env file with your Tableau credentials:
5. Claude Desktop Setup
Add to your Claude Desktop configuration:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
6. Start the Server
š ļø Available Tools
Data Access Tools
Tool | Description |
| List all available Tableau workbooks |
| List views in a specific workbook |
| Extract CSV data from any view |
| Get dashboard/view as PNG image |
| Search across all Tableau content |
| List all available data sources |
| Download complete raw datasets |
Administrative Tools
Tool | Description |
| See who has access to workbooks |
| View all users with roles and details |
| View all groups with member counts |
| Get detailed user permissions |
| Audit project permissions |
| Get site statistics and quotas |
| Comprehensive workbook audits |
| See user group memberships |
š MCP Resources
The server exposes Tableau content as MCP resources:
tableau://workbooks/{workbook_id}- Workbook metadatatableau://views/{view_id}/data- View data in CSV format
š§ Advanced Usage
Debug Mode
Authentication Testing
Manual Setup
šļø Architecture
š Project Structure
š Security
Local Operation: Server runs locally with your permissions
Secure Credentials: Uses environment variables for authentication
Token Authentication: Supports Tableau Personal Access Tokens
No Data Leakage: No data sent to external services
šØ Troubleshooting
MCP SDK Issues
"ModuleNotFoundError: No module named 'mcp'"
"MCP SDK version conflict"
Common Issues
"Authentication failed"
Verify credentials in
.envfileCheck Tableau Server URL format
Ensure account has proper permissions
"No tools available in Claude"
Restart Claude Desktop after configuration
Check that
start_clean.shis executableVerify Python dependencies are installed
"Permission denied errors"
Ensure your account has administrative privileges
Check Tableau Server user permissions
Verify site access rights
Getting Help
Test Connection:
python tableau_mcp_server.py --testDebug Mode:
python tableau_mcp_server.py --debugCheck Logs: Look for error messages in terminal output
Verify MCP:
python -c "import mcp; print('MCP SDK OK')"
š Example Conversations
Data Analysis
Administration
š¤ Contributing
Fork the repository
Create a feature branch
Add your improvements
Test thoroughly
Submit a pull request
š License
This project is licensed under the MIT License - see the LICENSE file for details.
š Acknowledgments
Built with the Model Context Protocol
Designed for Claude Desktop
Ready to supercharge your Tableau workflows with Claude? Get started now! š