TT

theinformationlab/tableau_mcp_starter_kit

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

30 stars 17 forks 质量 63 趋势 11MIT

Tableau MCP 的实现,使用 LangChain 提供 AI 功能,Tableau Server 或 Cloud

概览

这是一个强大的集成,通过MCP和LangChain将AI功能带入Tableau Server或Tableau Cloud,实现与您信任的Tableau数据的自然语言交互。 该仓库是基于 LangChain 的 Tableau-mcp 实现,使用 MCP 工具,基于 tableau_langchain_starter_kit。 - Tableau数据的自然语言查询 - 可通过网页界面或仪表盘扩展获得- 支持 Tableau Server 和 Tableau Cloud 在开始之前,请确保你具备以下条件: - 或更晚,或通过Tableau开发者计划提供免费的Tableau Cloud试用版——下载Python——下载Git——针对你选择的AI模型(OpenAI等)。 使用该代码时,Tableau 的数据将发送到外部 AI 模型(默认为 OpenAI)。在学习和测试方面,强烈建议使用 Tableau 自带的 Superstore 数据集。

概述(AI 翻译)

这是一个强大的集成,通过MCP和LangChain将AI功能带入Tableau Server或Tableau Cloud,实现与您信任的Tableau数据的自然语言交互。

该仓库是基于 LangChain 的 Tableau-mcp 实现,使用 MCP 工具,基于 tableau_langchain_starter_kit。

🚀 特色

  • 对Tableau数据进行自然语言查询
  • 通过网页界面或仪表盘扩展提供
  • 支持 Tableau Server 和 Tableau Cloud

📋 先修条件

在开始之前,请确保你具备以下条件:

  • Tableau Server 版本 2025.1 或更高版本 Tableau Cloud,可通过 Tableau 开发者计划免费试用 Tableau Cloud
  • Python 3.12+ - 下载 Python
  • Git - 下载 Git。
  • 你选择的AI模型(OpenAI等)的API凭证

⚠️ 警告

使用该代码时,Tableau 的数据将发送到外部 AI 模型(默认为 OpenAI)。在学习和测试方面,强烈建议使用 Tableau 自带的 Superstore 数据集。

如果你需要处理敏感或专有信息,可以考虑将工具配置为使用本地AI模型,而不是外部服务。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Tableau MCP Starter Kit

A powerful integration that brings AI functionality to Tableau Server or Tableau Cloud using MCP and LangChain, enabling natural language interactions with the data you trust in Tableau.

This repo is an implementation of tableau-mcp using the MCP tools with LangChain, building on the tableau_langchain_starter_kit.

🚀 Features

  • Natural language querying of Tableau data
  • Available via Web interface or Dashboard extension
  • Support for both Tableau Server and Tableau Cloud

📋 Prerequisites

Before you begin, ensure you have the following:

⚠️ Warning

When using this code, data from Tableau will be sent to an external AI model (by default, OpenAI). For learning and testing, it is strongly recommended to use the Superstore dataset included with Tableau.

If you need to process sensitive or proprietary information, consider configuring the tool to use a local AI model instead of an external service. This approach ensures your data remains within your organisation’s infrastructure and reduces the risk of data exposure.

📺 Quickstart Tableau MCP Guides

If you haven’t tried Tableau MCP yet I recommend testing it out using desktop applications like Claude Desktop and VSCode. You can find links to my quickstart tutorials below.

📺 Step Up Guide

🛠️ Installation

1. Install Tableau MCP

git clone https://github.com/tableau/tableau-mcp.git
cd tableau-mcp

From the Install Guide

Install Node.js (tested with 22.15.0 LTS)

npm install
npm run build

2. Clone the Starter Kit Repository

git clone https://github.com/TheInformationLab/tableau_mcp_starter_kit.git
cd tableau_mcp_starter_kit

3. Create Virtual Environment

Creating a virtual environment helps isolate project dependencies:

python -m venv .venv

4. Activate Virtual Environment

Windows:

.venv\Scripts\activate

macOS/Linux:

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →