Ask any Tableau lineage question, in any MCP client, through the Tableau Metadata API.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Ask any Tableau lineage question, in any MCP client, through the Tableau Metadata API.
tableau-graphql-mcp turns your Tableau site's Metadata API into a set of MCP tools, so an AI assistant (Claude, Cursor, Cline, and others) can answer lineage questions in plain language:
SALES, which workbooks break?"Profit, and on which dashboards?"DIM_CUSTOMER table?"It ships seven curated tools: a universal GraphQL passthrough, live schema introspection, an embedded library of correct query templates, a robust where_used resolver, a multi-hop impact_analysis, a substring content search, and a connection probe. Together they let the model answer any lineage question, not just a fixed menu.
graphql_query runs any read-only GraphQL; introspect_schema and a built-in cheat-sheet plus 28 worked examples keep the model's queries correct.impact_analysis follows the whole dependency chain (a calc built on a calc built on a column is included) and returns the full blast radius plus the de-duplicated owners to notify, not just direct references./api/metadata/graphql, with a /relationship-service-war/graphql fallback) are auto-detected.where_used resolves workbooks via core lineage (referencedByFields -> sheets -> workbook), so it works even when the Data Management add-on's downstreamWorkbooks is empty.graphql_query flags partial_results when a query hits the node limit, and search_content reports scanned/total coverage, so a truncated answer is never mistaken for a complete one.urllib for HTTP).You need uv (curl -LsSf https://astral.sh/uv/install.sh | sh) and a Tableau Personal Access Token.
Claude Code, one line:
That's all. uvx fetches the package from PyPI and runs it in an isolated environment; nothing to clone or install (and no git required). Then ask Claude a lineage question.
All configuration is via environment variables (set them in your client's env block, never on the command line).
| Env var | Required | Default | Description |
|---|---|---|---|
TABLEAU_SERVER | yes | n/a | https://tableau.company.com (Server) or https://<pod>.online.tableau.com (Cloud). |
TABLEAU_SITE_CONTENT_URL | no | "" | Site slug (the part after /#/site/). Empty = Default site (Server only); Cloud always has one. |
TABLEAU_PAT_NAME | yesΒΉ | n/a | Personal Access Token name. |
TABLEAU_PAT_SECRET | yesΒΉ | n/a | PAT secret: the whole string, do not split on :. |
TABLEAU_TIMEOUT | no | 60 | Per-request timeout (seconds). |
TABLEAU_API_VERSION | no | auto | REST API version; else read from /api/serverinfo. |
TABLEAU_METADATA_PATH | no | auto | Override the GraphQL path; else auto-detected. |
TABLEAU_AUTH_TOKEN | no | n/a | Advanced: a pre-obtained X-Tableau-Auth token (SSO tenants where PATs are disabled). |
TABLEAU_COOKIE | no | n/a | Advanced: a browser session cookie (SSO fallback). |
ΒΉ Provide a PAT (TABLEAU_PAT_NAME + TABLEAU_PAT_SECRET) or an advanced TABLEAU_AUTH_TOKEN / TABLEAU_COOKIE.
Edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):
Fully quit and reopen Claude Desktop, then check the tools menu.
Every client uses the same mcpServers schema shown above. Add the same block to:
~/.cursor/mcp.json (global) or .cursor/mcp.json (project).cline_mcp_settings.json.~/.codeium/windsurf/mcp_config.json.On Windows, if uvx isn't found by the GUI app, use its absolute path (e.g. %USERPROFILE%\.local\bin\uvx.exe).
| Tool | What it does | Key args |
|---|---|---|
graphql_query | Run any read-only Metadata API GraphQL query. The general tool for any lineage question. | query, variables |
introspect_schema | Live schema introspection: list entry points, or a type's exact fields. | type_name |
lineage_examples | A schema cheat-sheet plus 28 curated question-to-GraphQL templates (8 categories). | category |
where_used | Which workbooks/datasources use given column / field / table names (robust one-hop core-lineage resolution). | names |
impact_analysis | Full transitive multi-hop blast radius of a column/field/table: every dependent field, plus affected sheets, dashboards, workbooks, and owners to notify. | name |
search_content | Find content whose name contains a term (case-insensitive substring), across workbooks, datasources, tables (and optionally fields/columns), with coverage numbers. | term, types |
server_info | Connected server, site, versions, endpoint, auth, and whether Catalog lineage is available. | none |
All tools are read-only. The Metadata API has no mutations.
Once connected, try:
The server speaks MCP over stdio to the client and HTTPS to Tableau: it signs in with your PAT to get an X-Tableau-Auth token (auto-refreshed on expiry), auto-detects the REST API version and the GraphQL endpoint, then forwards queries to the Metadata API. Nothing is stored; every answer is live.
graphql_query rejects mutation/subscription operations, and the Metadata API is query-only regardless.uvx tableau-graphql-mcp==0.1.0.See SECURITY.md.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/tableau-graphql-mcp)<a href="https://allmcps.com/mcp/tableau-graphql-mcp"><img src="https://allmcps.com/api/badge/tableau-graphql-mcp?style=directory" alt="Tableau Graphql MCP on AllMCPs" /></a>