tableau-graphql-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@tableau-graphql-mcpWhich workbooks break if I remove the SALES column?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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:
"If I drop the column
SALES, which workbooks break?""What tables does the Sales Overview workbook depend on?"
"Which calculated fields reference
Profit, and on which dashboards?""Who should I notify before changing the
DIM_CUSTOMERtable?"
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.
Why it's different
Any question, done right.
graphql_queryruns any read-only GraphQL;introspect_schemaand a built-in cheat-sheet plus 28 worked examples keep the model's queries correct.True impact analysis (multi-hop).
impact_analysisfollows 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.Works everywhere. Tableau Server and Cloud. The REST API version and the GraphQL endpoint (
/api/metadata/graphql, with a/relationship-service-war/graphqlfallback) are auto-detected.Robust lineage without Catalog.
where_usedresolves workbooks via core lineage (referencedByFields -> sheets -> workbook), so it works even when the Data Management add-on'sdownstreamWorkbooksis empty.No silent truncation.
graphql_queryflagspartial_resultswhen a query hits the node limit, andsearch_contentreportsscanned/totalcoverage, so a truncated answer is never mistaken for a complete one.Tiny and safe. Read-only, stdio-only (no inbound port), secrets from env only, and no dependencies beyond the MCP SDK (stdlib
urllibfor HTTP).
Quickstart
You need uv (curl -LsSf https://astral.sh/uv/install.sh | sh) and a Tableau Personal Access Token.
Claude Code, one line:
claude mcp add tableau-graphql \
-e TABLEAU_SERVER=https://10ax.online.tableau.com \
-e TABLEAU_SITE_CONTENT_URL=YourSite \
-e TABLEAU_PAT_NAME=my-token \
-e TABLEAU_PAT_SECRET=the-full-secret \
-- uvx tableau-graphql-mcpThat'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.
Related MCP server: Tableau MCP
Configuration
All configuration is via environment variables (set them in your client's env block, never on the command line).
Env var | Required | Default | Description |
| yes | n/a |
|
| no |
| Site slug (the part after |
| yes¹ | n/a | Personal Access Token name. |
| yes¹ | n/a | PAT secret: the whole string, do not split on |
| no |
| Per-request timeout (seconds). |
| no | auto | REST API version; else read from |
| no | auto | Override the GraphQL path; else auto-detected. |
| no | n/a | Advanced: a pre-obtained |
| 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\):
{
"mcpServers": {
"tableau-graphql": {
"command": "uvx",
"args": ["tableau-graphql-mcp"],
"env": {
"TABLEAU_SERVER": "https://10ax.online.tableau.com",
"TABLEAU_SITE_CONTENT_URL": "YourSite",
"TABLEAU_PAT_NAME": "my-token",
"TABLEAU_PAT_SECRET": "the-full-secret"
}
}
}
}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:
~/.cursor/mcp.json(global) or.cursor/mcp.json(project).Cline: the MCP Servers panel, then Configure, into
cline_mcp_settings.json.Windsurf:
~/.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).
Tools
Tool | What it does | Key args |
| Run any read-only Metadata API GraphQL query. The general tool for any lineage question. |
|
| Live schema introspection: list entry points, or a type's exact fields. |
|
| A schema cheat-sheet plus 28 curated question-to-GraphQL templates (8 categories). |
|
| Which workbooks/datasources use given column / field / table names (robust one-hop core-lineage resolution). |
|
| Full transitive multi-hop blast radius of a column/field/table: every dependent field, plus affected sheets, dashboards, workbooks, and owners to notify. |
|
| Find content whose name contains a term (case-insensitive substring), across workbooks, datasources, tables (and optionally fields/columns), with coverage numbers. |
|
| Connected server, site, versions, endpoint, auth, and whether Catalog lineage is available. | none |
All tools are read-only. The Metadata API has no mutations.
Example prompts
Once connected, try:
"Use server_info to confirm what you're connected to."
"Search for anything with 'revenue' in the name."
"Which workbooks use the columns SALES, PROFIT and DISCOUNT? Group by owner."
"Show me the field-to-source-column map for the 'Sales Overview' workbook."
"List every calculated field in that workbook with its formula."
"Which published datasources feed workbooks in the Analytics project, and which are uncertified?"
"Run impact_analysis on the 'Profit Ratio' field: every dependent sheet, dashboard, workbook, and owner to notify."
"What is the blast radius of dropping the DIM_CUSTOMER table: workbooks, sheets, and owners to notify?"
Architecture
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.
Security
Read-only, enforced. Only GraphQL queries: no writes, no shell.
graphql_queryrejectsmutation/subscriptionoperations, and the Metadata API is query-only regardless.Local and stdio-only. No inbound network port is opened.
Secrets from env only. Never passed as tool arguments, never logged, never returned in output.
Least privilege. The PAT inherits your Tableau permissions; the API only returns content you can see.
Pin a version in production:
uvx tableau-graphql-mcp==0.1.0.
See SECURITY.md.
Troubleshooting
Symptom | Fix |
Server doesn't appear | Fully quit and relaunch the client; check the config path and JSON validity. |
| Install |
Sign-in fails (401) | Check the PAT name/secret and |
"Could not reach the Metadata API" | On Tableau Server, an admin must enable it: |
Empty | Expected without the Data Management add-on; use the |
Inspect the server directly with the MCP Inspector:
npx @modelcontextprotocol/inspector uvx tableau-graphql-mcpDevelopment
git clone https://github.com/tdries/tableau-graphQL-mcp && cd tableau-graphQL-mcp
uv sync --all-extras
uv run tableau-graphql-mcp # run from source
uv run pytest --cov=tableau_graphql_mcp # tests + coverage (offline; no Tableau needed)
uv run ruff check . # lint
uv run ruff format --check . # formatThe same three gates (lint, format, tests with a 85% coverage floor) run in CI across Linux/macOS/Windows and Python 3.10 to 3.13. Coverage is reported to Codecov and the code is scanned by CodeQL on every push.
The same gates run in CI (Linux/macOS/Windows, Python 3.10 to 3.13): ruff check,
ruff format --check, mypy --strict, and pytest with a coverage floor. The package
ships a PEP 561 py.typed marker, so importing it gives your type checker full types.
Contributions welcome: see CONTRIBUTING.md and the Code of Conduct.
Roadmap
Shipped: published on PyPI and listed on the official MCP registry. Next:
Optional Data Management path: richer
downstreamWorkbookswhen Catalog is presentMore curated query templates in
lineage_examplesOptional response caching for repeated introspection within a session
Ideas and votes welcome in Discussions.
License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables natural language interaction with Apache Iceberg Lakehouse tables through MCP, supporting read-only operations like listing namespaces, tables, schemas, and partitions.Last updated5Apache 2.0
- Alicense-qualityDmaintenanceEnables AI applications to interact with Tableau for querying data, exploring content, and retrieving views through natural language.Last updated9,763Apache 2.0
- Alicense-qualityBmaintenanceEnables AI agents to query live schema, lineage, and query-context across data warehouses, dbt projects, orchestration systems, and BI tools via MCP tools.Last updatedApache 2.0
- Flicense-qualityBmaintenanceEnables natural-language Q&A, human-approved actions, and dashboard generation over a data ontology via MCP.Last updated
Related MCP Connectors
Knowledge coverage map and health score. Ingest docs into a governed knowledge graph via MCP.
Official Microsoft MCP Server to query Microsoft Entra data using natural language
Query metrics, targets, entities, and team data in your Steep workspace via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tdries/tableau-graphQL-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server