Tableau Knowledge MCP
Tableau Knowledge MCP connects an AI assistant to a Tableau site’s knowledge graph for semantic search, lineage/impact analysis, context management, graph administration, and semantic-layer portability.
Inspect the site and graphs: connection, versions, auth, Knowledge availability, and graph IDs/stats.
Search nodes by meaning and inspect nodes, edges, semantic statements, lineage, and transitive impact.
List graph sources, check ingestion, and search the whole site for data sources/workbooks to add.
Review graph health, coverage metrics, and prioritized improvement suggestions.
Create, update, delete, and document-import semantic contexts; write operations require exact IDs and the Creator role.
Manage graphs: add/remove sources, create/update graphs, make a graph primary, and query Tableau’s agent for testing.
Export, import, and validate Apache Ossie semantic models, and get Ossie guidance.
Check Tableau Business Preferences files for format, limits, rule quality, and field-name accuracy.
Supports Apache Ossie (formerly Open Semantic Interchange, OSI) semantic models: exports published Tableau data sources to Ossie YAML, imports Ossie descriptions, synonyms, and definitions back into Tableau Knowledge, validates Ossie documents against the schema and semantic rules, and provides an Ossie reference guide for porting and hand-editing models.
Click on "Deploy 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 Knowledge MCP Which fields mean revenue, and where do they come from?"
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.
biztory-tableau-knowledge-mcp turns your site's Tableau Knowledge Graph API into twenty-three MCP tools, so an AI assistant (Claude, Cursor, VS Code, Cline, and others) can work with the graph in plain language:
"Which fields mean revenue, and where do they come from?"
"If the Superstore data source changes, which workbooks and dashboards are affected?"
"What business context is attached to Profit? Add: 'Profit is after returns, in EUR.'"
"How healthy is our graph, and what are the five highest-impact fixes?"
"Export Superstore to Apache Ossie so we can port it to Snowflake."
"Write the Business Preferences for the P&L dashboard."
"Add every Superstore data source on the site to the Sales graph."
"Ask Tableau's agent how many data sources the graph has, and check its answer."
It ships nine read tools (semantic search, node lookup, edges, lineage, impact, sources, semantic contexts, graph health, and a connection probe) and four write tools for semantic contexts, the business statements that make the graph useful to people and to AI (one turns a document into context). Five tools manage the graph itself: add and remove data sources and workbooks, create and update graphs, and ask Tableau's own agent a question to test its answers. Those go through the API behind the Tableau Knowledge web app, which Tableau doesn't document. Four more tools port semantic layers through Apache Ossie (formerly Open Semantic Interchange, OSI), the open standard that Snowflake, dbt, Power BI, Databricks, Tableau Next and others convert to and from. And one checks Business Preferences files line by line against the fields the agent will actually see.
See it in action
Replays of real tool results from a test site, with site-specific names removed. Regenerate with docs/images/render_demo_gifs.py.
Why it's different
Ask by meaning, not by id. Every read tool takes a node id or a description ("the net sales field"). Descriptions resolve through the graph's own semantic search, and the answer says which node it picked, with the match score and runners-up, so a wrong guess is visible instead of silent.
Answers, not payloads.
impact_analysisgroups and counts everything downstream by type;lineageadds node and edge counts;graph_healthcaps hundreds of suggestions to the top ones while keeping every total.Errors tell the model what to do next. Tableau's error codes become concrete steps (
site_not_entitled→ an admin must enable Knowledge;no_active_graph→ pass agraph_id; no embedder → use exact ids), with thetrace_idkept for support. Rate limits are retried withRetry-After.Writes you can trust. Only semantic contexts and a graph's sources can be written (the latter through Tableau Knowledge's undocumented web-app API, which can change without notice). Write tools take exact ids (a fuzzy match never decides where a write lands), validate before sending, carry honest MCP annotations so clients ask first, and
delete_semantic_contextreturns what it deleted.Port your semantic layer.
export_to_ossieturns a published data source into a validated Ossie model, with Tableau calcs translated to portable SQL wherever that is exact and a loss report for everything else.import_from_ossiebrings descriptions, synonyms and definitions from any Ossie model back into Tableau Knowledge, with a reviewable plan first.Tiny and hardened. Stdio only (no inbound port), secrets from env only, HTTPS enforced, redirects refused, ids encoded so they can never reach another endpoint, fuzzed parsers, and two runtime dependencies: the MCP SDK and PyYAML (stdlib
urllibfor HTTP).
Requirements
Tableau Knowledge is a Tableau Cloud feature (September 2026 and later, Tableau+ license); it is not available on Tableau Server. Any user can read the graph, filtered by their content permissions. Writing semantic contexts needs the Creator role.
Related MCP server: Tableau MCP Server
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-knowledge \
-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 biztory-tableau-knowledge-mcpThat's all. uvx fetches the package from PyPI and runs it in an isolated environment; nothing to clone or install. Then ask: "Use server_info: what graphs does my site have?"
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 |
|
| yes |
| 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 | primary graph | Default graph for every tool. |
| no |
| Per-request timeout (seconds). |
| no | auto | REST version used for sign-in; else read from serverinfo. (The Knowledge API itself is always |
| no | off | Set to |
| no |
|
|
| no | n/a | Advanced: a pre-obtained |
¹ Provide a PAT (TABLEAU_PAT_NAME + TABLEAU_PAT_SECRET) or TABLEAU_AUTH_TOKEN.
Edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):
{
"mcpServers": {
"tableau-knowledge": {
"command": "uvx",
"args": ["biztory-tableau-knowledge-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.
Use the Add to Cursor / Add to VS Code buttons above and fill in the env values, or add the same block as for Claude Desktop to:
Cursor:
~/.cursor/mcp.json(global) or.cursor/mcp.json(project).VS Code:
.vscode/mcp.json(the top-level key there isserversinstead ofmcpServers).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
node arguments accept a node id or a plain-language description. Every graph-scoped tool also takes an optional graph_id.
Tool | What it does | Key args |
| Site, versions, auth, whether Knowledge is enabled, the site's feature switches, and every graph (id, name, status, primary, stats incl. context coverage). Good first call. | none |
| Semantic search over the graph ("revenue" finds "Net Sales"), ranked with scores. |
|
| One node: properties, attached semantic statements, child nodes. |
|
| The edges around one node, with direction and the node on the other end. |
|
| Upstream and downstream neighborhood (10 steps) along lineage/dependency edges, with counts. |
|
| Everything that depends on a node, transitively, grouped and counted by type. |
|
| The published data sources and workbooks the graph is built from, plus the latest ingest status. With |
|
| Business statements on the graph: all, graph-wide only, or attached to one node. |
|
| Health score, coverage metrics, and prioritized improvement suggestions. |
|
| (write) Attach statements to one node (exact id) or to the whole graph. |
|
| (write) Replace statements, rename, re-attach, or make graph-wide. |
|
| (write) Delete a user-managed context; returns what was deleted. |
|
| (write) Upload a .txt/.md/.csv/.pdf/.docx/.xlsx (max 2 MB); Tableau makes each line a statement. Undocumented web-app API. |
|
| (write) Add data sources / workbooks to a graph by exact LUID; Tableau ingests them in the background. Undocumented web-app API. |
|
| (write) Remove data sources / workbooks (and their nodes) from a graph; returns what was removed. Undocumented web-app API. |
|
| (write) Create an empty knowledge graph; fill it with |
|
| (write) Rename a graph, replace its description, or make it the primary graph. Undocumented web-app API. |
|
| Ask Tableau's own agent about a graph, e.g. to test context against an answer key; follow-ups via |
|
| A published data source as an Apache Ossie model (YAML), plus validation and a loss report. |
|
| Check any Ossie model (YAML/JSON) against the official schema and the spec's rules. Local only. |
|
| (write) Plan, then apply, the semantic contexts an Ossie model adds to a data source. |
|
| Reference for Ossie: object model, expressions, Tableau mapping, converters, porting playbook. Local only. |
|
| Check a Business Preferences file (format, limits, wording) and every field it names against the dashboard's captions. No text: the rulebook. |
|
Write tools are annotated readOnlyHint: false (update, delete and import also destructiveHint: true) so your client can ask before each one. Tableau-managed (SEMANTIC_CONTEXT_EXTERNAL) contexts are read-only.
Port your semantic layer with Apache Ossie
Apache Ossie (incubating, formerly Open Semantic Interchange) is a vendor-neutral YAML standard for semantic models. There was no converter for classic Tableau; this server is one, built on the Knowledge graph, so the business context travels too.
Tableau → Ossie (export_to_ossie):
Tableau Knowledge | Ossie |
Published data source | Model ( |
Logical table | Dataset |
Column field | Field ( |
Row-level calc | Field, Tableau formula in the |
Aggregate calc | Metric (dataset-scoped, or model-scoped with qualified names when it spans tables) |
|
|
Default aggregation of a measure | Metric ( |
Descriptions and semantic contexts |
|
Ids, captions, roles, original formulas |
|
The export validates its own output and returns a losses list. Knowledge has no physical table paths or join keys, so source and relationships need filling in. INCLUDE/EXCLUDE LODs, table calcs, parameters and some functions stay Tableau-only, each named in the report.
Ossie → Tableau Knowledge (import_from_ossie): the Knowledge API can write semantic contexts, so that is what an Ossie model becomes. Descriptions, ai_context instructions, synonyms ("Also known as…"), example questions and metric definitions land on the matching nodes, one ossie:<model> context per node. Matching uses the ids from a previous export first, then names. On sites that accept only graph-wide context through the API, the same statements become one global ossie:<model> context, each prefixed with what it describes (Superstore / Sales: Also known as: revenue.); scope forces node or global. The first call returns the plan (create / update / unchanged, plus anything unmatched), and nothing is written until apply=true. Statements Tableau already holds are skipped, so re-importing an unedited export writes nothing.
Slash commands. The server ships MCP prompts that walk through each workflow: Export a data source to Ossie, Import an Ossie model into Tableau Knowledge, and Write Business Preferences. In Claude Code they appear as /mcp__tableau-knowledge__export_datasource_to_ossie and /mcp__tableau-knowledge__import_ossie_into_tableau_knowledge (with the server name you chose).
Onward to other platforms. Converters exist for Snowflake, dbt, Power BI, Databricks, Tableau Next, Cube, ThoughtSpot, Omni, Sigma and more. None are on PyPI yet, so ossie_guide (topic converters) gives the exact commands, pinned to a reviewed commit. The server will wrap them as tools once they are published.
Write Business Preferences that work
A Business Preferences file is the list of # rule lines Tableau's agent reads before it answers: one file per dashboard on Tableau Cloud (50 rules, 8,000 characters), one per semantic model on Tableau Next (30,000 characters). It shapes how the agent plans an answer, so every line has to be one it can follow. check_business_preferences encodes the field-tested lessons from Business Preferences in Tableau Cloud: What We Learned (Celia Fryar, XeoMatrix, September 2026):
Format slips that Tableau silently ignores: a space before
#, no space after it.Limits with headroom; no headers, blank lines or duplicates; no contradictions.
Wording that misleads the agent: thresholds without "use only this value", formatting rules that leak into the query, conversational lines, absences that can be over-read, ambiguous ordering and averages. It also suggests the two baseline rules (keep queries numeric, fail honestly) when they are missing.
Field names, checked live: give it the dashboard, and every
[Field]must be a visible caption the agent will see, with "did you mean" suggestions. It also flags workbook problems: duplicate (Account ID (Account)), generic (Amount) and helper fields.
The write_business_preferences prompt runs the whole loop. It gathers the real captions, asks you for terms, thresholds and policies, then drafts and checks until clean, and returns v1 with the upload-then-publish and testing advice. Call check_business_preferences with no text for the full rulebook.
How a description becomes a node
# illustrative
"the net sales field"
│ 1. exact lookup: GET /nodes/{id} → found? use it, no guessing
│ 2. not an id: semantic search (top 4) → best match + runners-up
▼
{ "id": "field:…:Net Sales", …,
"resolution": { "match": {"name": "Net Sales", "type": "FIELD", "score": 0.82},
"alternatives": [ … ],
"note": "Not an exact id: resolved by semantic search …" } }The model sees the score and the alternatives, so it can confirm with you or retry with an alternative's id. Write tools skip this step entirely and require exact ids.
Example prompts
"Use server_info: which graphs does this site have, and which is primary?"
"Find the fields that mean revenue, then show the lineage of the best match."
"Run impact_analysis on the Superstore data source: which workbooks and dashboards depend on it?"
"What semantic context is attached to the Profit field?"
"Show the graph's health score and the five high-severity suggestions, with the nodes they target."
"Add a statement to the Profit field: 'Profit is calculated after returns and reported in EUR.'"
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 session (refreshed on expiry), then calls /api/v1/knowledge. Nothing is stored; every answer is live.
Things the API does that you should know
Search is by meaning. Scores are relative; a top score around 0.4-0.5 can still be the right node, so check the alternatives.
Lineage follows dependencies, not containment. A single field's lineage is often just itself;
list_edgesshows which table HAS it.Context search doesn't filter by text yet.
search_semantic_contextsfilters by node oris_global; find statements by meaning withsearch_nodes.Unknown ids behave differently per endpoint. The API's lineage returns an empty graph for an unknown id; this server resolves the node first, so you always get a clear error instead.
Deletes are idempotent. Deleting an unknown id succeeds without effect.
Some sites accept only graph-wide context. Creating a node-attached context can fail with
node_semantic_context_disabled("node-scoped context is managed by Tableau and arrives through ingestion"); BiztoryPulse does this. Useis_global=trueand name the field in the statement.import_from_ossiefalls back to that automatically.The API is rate-limited. Crawling a large graph node by node hits HTTP 429; the server retries with back-off, but prefer
lineageandimpact_analysisover manyget_nodecalls.
Security
Writes are limited to semantic contexts, take exact ids, are validated before sending, and are annotated so your client can ask first. A Viewer or Explorer PAT makes the server read-only in practice.
Local and stdio-only. No inbound network port is opened.
Secrets from env only. Never tool arguments, never logged, never returned.
Credentials go only to your Tableau host. HTTPS required, certificates verified, redirects refused.
No injection through ids. Node and context ids are encoded as one path segment;
graph_idis checked against Tableau's pattern before it is sent. Both parsers of untrusted input are fuzzed in CI.YAML is parsed safely. Ossie documents go through
yaml.safe_load(no tags, no code), with a 5 MB cap;validate_ossieandossie_guidenever contact Tableau.Verifiable releases. Every GitHub release carries Sigstore signatures and a CycloneDX SBOM, and PyPI uploads use Trusted Publishing.
Pin a version in production:
uvx biztory-tableau-knowledge-mcp==0.4.0.
See SECURITY.md for the threat model, data handling, disclosure policy and how to verify a release.
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, | The PAT is invalid or expired (15 days unused). Create a new one and check |
| The site doesn't have Tableau Knowledge; a Tableau Cloud Manager admin must enable it. |
| The site has no primary graph: pass a |
"Semantic search is unavailable" | The graph has no embedder. Use exact ids ( |
| Writing semantic contexts needs the Creator role. |
HTTP 429 after retries | You hit Tableau's rate limit; wait a minute and use fewer, broader calls. |
Inspect the server directly with the MCP Inspector:
npx @modelcontextprotocol/inspector uvx biztory-tableau-knowledge-mcpDevelopment
git clone https://github.com/biztory/biztory-tableau-knowledge-mcp && cd biztory-tableau-knowledge-mcp
uv sync --all-extras
uv run biztory-tableau-knowledge-mcp # run from source (needs the env vars above)
uv run pytest --cov=biztory_tableau_knowledge_mcp # tests + coverage (offline; no Tableau needed)
uv run ruff check . && uv run ruff format --check . && uv run mypyTool tests run through the real client against an in-process fake of the Knowledge API (tests/conftest.py), so URL building, id encoding and error mapping are all exercised. Live tests are opt-in: TABLEAU_LIVE=1 runs the read-only ones; TABLEAU_LIVE_WRITE=1 adds a round trip that creates, updates and deletes one temporary context it made itself.
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. CodeQL scans every push, the OpenSSF Scorecard runs weekly, and a fuzzing job (fuzz/) attacks the untrusted-input parsers. The package ships a PEP 561 py.typed marker.
Contributions welcome: see CONTRIBUTING.md and the Code of Conduct.
Roadmap
Export to and import from Apache Ossie (formerly OSI)
Wrap the Ossie converters (Snowflake, dbt, Power BI, Databricks) as tools once they are published on PyPI
Ossie relationships from Tableau join keys, when the Knowledge API exposes them
A demo recording in this README
Optional per-session caching of
server_infoand resolved nodes
Ideas and votes welcome in Discussions.
License
MIT © Biztory. Sister project: tableau-graphql-mcp for lineage over the Tableau Metadata API.
Available Tools
23 toolsadd_sourcesAdd sources to graphAIdempotent
WRITE: add published data sources (pds_luids) and/or workbooks (workbook_luids) to a
knowledge graph. Tableau ingests them in the background (seconds to minutes); check with
list_sources (ingest.status). Adds only: sources already in the graph stay, and re-adding
one re-ingests it.
Exact LUIDs only, never names: find them with list_sources(site_search="part of a name").
`graph_id` is required (or TABLEAU_KNOWLEDGE_GRAPH_ID): this never falls back to the primary
graph. Confirm the list with the user first.
Uses Tableau Knowledge's undocumented web-app API, which can change without notice.
Inputs: graph_id, pds_luids, workbook_luids. Returns: object
ask_tableau_agentAsk Tableau AgentADestructive
Ask Tableau's own agent (the chat in Tableau Knowledge) a question about a graph and get its answer, e.g. to test semantic context and Business Preferences against an answer key: ask one question at a time and compare the numbers yourself.
Pass the returned `conversation_id` to ask a follow-up in the same conversation (this server
keeps the history in memory, so it lasts until the server restarts). Omit it for a fresh
conversation, which is the fair way to test. `tools_used` lists the agent's own tool calls. The
agent can also write semantic statements when asked to, so phrase questions as questions. Can
take a minute.
Uses Tableau Knowledge's undocumented web-app API, which can change without notice.
Inputs: question (required), graph_id, conversation_id. Returns: object
check_business_preferencesCheck Business PreferencesARead-only
Check a Tableau Business Preferences file (the "# rule" lines Tableau's agent reads before it
answers) so every line is one the agent will actually follow. Call it with no text first to
get the rulebook: format, limits, wording rules, workbook preparation and how to test.
Checks: the "# " line format (a slip makes Tableau silently ignore the line), the limits (Tableau
Cloud: 50 rules and 8,000 characters per dashboard; Tableau Next: 30,000 per semantic model),
headers, duplicates, contradictions, thresholds without "use only this value", formatting rules
that would leak into queries, conversational lines, absences that can be over-read, ambiguous
ordering and averages, and missing baseline rules (query formatting, failure handling).
`target` (a dashboard, sheet, workbook or data source: id or description) also checks every
[Field] and "Field" the file names against the captions the agent will see in Tableau Knowledge,
with "did you mean" suggestions, and flags workbook problems (duplicate, generic or helper field
names). `product` is "cloud" or "next". Returns `ok` (no errors), `issues` by line, and stats.
Inputs: text, target, product, graph_id. Returns: object
create_graphCreate graphA
WRITE: create a new, empty knowledge graph on the site (sites allow a few: see
server_info features.max_graphs_per_site). Then fill it with add_sources. Returns the graph
with its id. Confirm the name with the user first.
Uses Tableau Knowledge's undocumented web-app API, which can change without notice.
Inputs: name (required), description. Returns: object
create_semantic_contextAdd semantic contextA
WRITE: attach business context (one or more statements, 5-1000 characters each) to the knowledge graph, e.g. "Net Sales excludes returns and is reported in EUR."
Set exactly ONE of: `target_node_id` (an exact node id from search_nodes/get_node; the
context then DESCRIBES that node) or `is_global=true` (applies to the whole graph).
CONNECTION, SITE, SCHEMA and semantic-context nodes can't be targets. Some sites accept only
graph-wide context through the API (error node_semantic_context_disabled): then use
is_global=true and name the field or data source in each statement. `name` is optional
(derived when omitted). Needs the Creator role. Returns the new context, with its id.
Inputs: statements (required), name, graph_id, is_global, +1 more. Returns: object
create_semantic_context_from_documentAdd semantic context from a documentA
WRITE: upload a local document (.txt, .md, .csv, .pdf, .docx, .xlsx; max 2 MB) and let Tableau turn it into semantic context, e.g. a KPI glossary or a business-rules note.
`file_path` is a path on the machine running this server; the file's content is sent to your
Tableau site, so confirm the file with the user first. Set exactly ONE of `target_node_id` (an
exact node id) or `is_global=true`, as for create_semantic_context (some sites accept only
graph-wide context). Tableau makes each line a statement (headings too), so write one rule
per line. Returns the new context with its statements and any `statements_skipped`.
Uses Tableau Knowledge's undocumented web-app API, which can change without notice.
Inputs: file_path (required), name, graph_id, is_global, +1 more. Returns: object
delete_semantic_contextDelete semantic contextADestructiveIdempotent
WRITE: delete a user-managed semantic context and its statements. Only semantic contexts created through Tableau Knowledge can be deleted; ids of other nodes are ignored, and Tableau-managed (SEMANTIC_CONTEXT_EXTERNAL) contexts are refused.
Returns what was deleted (name and statements, so it can be recreated if needed). Deleting an
id that doesn't exist succeeds without effect. Needs the Creator role.
Inputs: ctx_id (required), graph_id. Returns: object
export_to_ossieExport to OssieARead-only
Export a published data source's semantic model to Apache Ossie (formerly OSI) YAML, the
vendor-neutral format that Snowflake, dbt, Power BI, Databricks, Tableau Next and other tools
convert from. Returns ossie (the YAML text, to save as file_name), summary, validation
and losses (what could not be carried and what to fix by hand).
`datasource` is a PDS id (from list_sources) or a description of it. Logical tables become
datasets, fields become fields, row-level calcs become fields and aggregate calcs become
metrics; every calc keeps its Tableau formula and gains portable SQL when the translation is
exact. Semantic-context statements become ai_context. `default_aggregation_metrics` also turns
each measure's Tableau default aggregation into a metric (total_sales = SUM(sales)).
Always read `losses`: Tableau Knowledge has no physical table paths or join keys, so `source`
and `relationships` need filling in before the model is used elsewhere. See ossie_guide.
Inputs: datasource (required), graph_id, include_hidden, default_aggregation_metrics. Returns: object
get_nodeGet nodeARead-only
Get one node with its properties, its semantic statements (the business context attached
to it), and the child nodes it points to (connected_nodes, each with the edge type).
`node` is a node id, or a plain-language description that is resolved by semantic search
(the response then includes `resolution` with the match score and alternatives). Set
`include_children` false to skip `connected_nodes` on large containers.
Inputs: node (required), graph_id, include_children. Returns: object
graph_healthGraph healthARead-only
Graph-health report: a 0-100 health_score, coverage metrics (e.g. how many nodes carry
semantic context), graph stats, and concrete improvement suggestions (each with severity,
recommended_action and the target node ids), grouped by category and topic.
`pds_id` scopes the report to one published data source's subtree. `severity` ("high",
"medium", "low"), `suggestion_type` and `limit` (default 20; a busy graph has hundreds) filter
only the suggestion lists; the score, metrics and `summary` totals always cover the full (or
PDS-scoped) graph.
Inputs: limit, pds_id, graph_id, severity, +1 more. Returns: object
impact_analysisImpact analysisARead-only
What breaks if this changes: every asset that depends on the node, directly OR transitively (up to 10 steps, following DEPENDS_ON), e.g. the calcs, sheets, dashboards and workbooks downstream of a column. The node itself is not included.
`node` is a node id or a plain-language description. Returns `total`, `counts_by_type`, and
`affected_assets` sorted by type then name.
Inputs: node (required), graph_id. Returns: object
import_from_ossieImport from OssieADestructiveIdempotent
Bring the business meaning of an Apache Ossie (formerly OSI) model into Tableau Knowledge
as semantic contexts. WRITES only when apply is true; by default it returns the PLAN.
`document` is the model as YAML or JSON text. Elements are matched to nodes of one published
data source: models exported by export_to_ossie map back by their stored ids; other models
need `target_datasource_id` (an exact PDS id from list_sources) and match by name. Each matched
node gets one context named `ossie:<model>` holding its description, ai_context instructions,
synonyms ("Also known as: ..."), example questions, metric definition (`include_definitions`)
and relationships. Re-importing updates those contexts instead of duplicating them.
`scope`: "auto" (default) attaches contexts to nodes and, on sites that accept only graph-wide
context through the API (error node_semantic_context_disabled), writes the plan's
`global_fallback` instead: one global `ossie:<model>` context whose statements are prefixed
with what they describe. "node" never falls back; "global" plans the global context directly.
Workflow: call without `apply`, show the user the operations (create/update/unchanged) and
`unmatched` list, then call again with `apply=true` once they agree. Needs the Creator role.
Inputs: document (required), apply, scope, graph_id, +3 more. Returns: object
lineageLineageARead-only
The lineage neighborhood of a node: every node reachable within 10 steps, upstream AND downstream, along lineage/dependency edges (LINEAGE, DEPENDS_ON), e.g. a data source and the workbooks built on it. Answers "where does this come from?" and "what uses it?".
Containment (a table HAS a field, a workbook CONTAINS a sheet) is not followed, so a single
field often returns only itself; use list_edges or get_node to see what contains it.
`node` is a node id or a plain-language description. Returns the anchor node, `nodes`,
`edges` (source_id -> target_id, with type), and counts by node and edge type. For "what
breaks if this changes?", impact_analysis is more direct.
Inputs: node (required), graph_id. Returns: object
list_edgesList edgesARead-only
List the edges around one node, each with its direction (outgoing/incoming) and the node
on the other end. One hop only; use lineage for the wider neighborhood.
`node` is a node id or a plain-language description. `edge_type` narrows to one of: CONTAINS,
HAS, JOINS, DEPENDS_ON, LINEAGE, SEMANTIC_EQUIV, DESCRIBES. `direction` is "outgoing" or
"incoming"; omit for both.
Inputs: node (required), graph_id, direction, edge_type. Returns: object
list_sourcesList sourcesARead-only
List the published data sources and workbooks connected to the knowledge graph, i.e. what
the graph has been built from. node_type "PDS" or "WORKBOOK" narrows it; omit for both.
ingest shows the graph's latest ingestion (status running/completed, per-asset results).
With `site_search` (part of a name, case-insensitive), it instead searches the whole SITE for
data sources and workbooks to add with add_sources: each hit has its `luid` and `in_graph`.Inputs: graph_id, node_type, site_search. Returns: object
ossie_guideOssie guideARead-only
Reference for Apache Ossie (formerly Open Semantic Interchange, OSI), the open standard for
semantic models: what it is and its versions, the object model and rules, expressions and
dialects, how Tableau maps onto it, relationships, ai_context, extensions, validation, the
converters for other platforms (with exact commands), and a porting playbook with pitfalls.
Read it before hand-editing a model or advising on a port. topic is one of: overview, model,
expressions, tableau, relationships, ai_context, extensions, validation, converters, porting;
omit it for everything.
Inputs: topic. Returns: object
remove_sourcesRemove sources from graphADestructiveIdempotent
WRITE: remove published data sources and/or workbooks, and the nodes built from them, from a knowledge graph. The Tableau content itself is untouched. Context attached to removed nodes may be lost; graph-wide context stays.
Exact LUIDs only (a source's properties.luid from list_sources); pass them in either list, the
type comes from the graph. LUIDs that aren't in the graph are reported and skipped. `graph_id`
is required (or TABLEAU_KNOWLEDGE_GRAPH_ID). Confirm with the user first. Returns what was
removed; add_sources with the same LUIDs puts it back.
Uses Tableau Knowledge's undocumented web-app API, which can change without notice.
Inputs: graph_id, pds_luids, workbook_luids. Returns: object
search_nodesSearch graph nodesARead-only
Find graph nodes by MEANING (semantic search), not exact name: "revenue" can match a
field named "Net Sales". Returns ranked matches with a 0-1 score; when a semantic statement
matched, it is shown under the node's semantic_statements.
- `node_type` narrows to one type: PDS (published data source), WORKBOOK, SHEET, DASHBOARD,
EMBEDDED_DATASOURCE, TABLE, FIELD, WAREHOUSE_TABLE, WAREHOUSE_COLUMN, CONNECTION, SCHEMA,
SITE, SEMANTIC_CONTEXT, SEMANTIC_CONTEXT_EXTERNAL.
- `scope_id` limits the search to one data source's subtree (a PDS node id plus its tables
and fields).
- `limit` 1-100 (default 10); `threshold` drops matches scoring below it (0-1).
Use the returned `id`s with get_node, list_edges, lineage and impact_analysis.
Inputs: query (required), limit, graph_id, scope_id, +2 more. Returns: object
search_semantic_contextsFind semantic contextsARead-only
List semantic contexts: the business statements (definitions, rules, caveats) attached to the graph. Includes user-managed (SEMANTIC_CONTEXT, editable) and Tableau-managed (SEMANTIC_CONTEXT_EXTERNAL, read-only) contexts.
- With `node` (an id or a description): only the contexts attached to that node.
- Without `node`: every context on the graph; `is_global` true = only graph-wide contexts,
false = only node-attached ones, omitted = both.
The API doesn't filter by text yet; to find statements by meaning, use search_nodes.
Inputs: node, graph_id, is_global. Returns: object
server_infoConnection and graphsARead-only
Report the connected Tableau site and its knowledge graphs: server URL, site, product
version, auth method, whether Tableau Knowledge is available, and every graph (id, name,
status, is_primary). Good first call: it confirms the connection and gives the graph ids the
other tools accept as graph_id (omit graph_id to use the primary graph).
Inputs: no named parameters. Returns: object
update_graphUpdate graphADestructiveIdempotent
WRITE: rename a knowledge graph, replace its description, and/or make it the site's primary
graph (the default for everyone who doesn't pick a graph; only one graph is primary). Only
what you pass changes. graph_id is an exact id from server_info. Confirm with the user first.
Uses Tableau Knowledge's undocumented web-app API, which can change without notice.
Inputs: graph_id (required), name, description, make_primary. Returns: object
update_semantic_contextUpdate semantic contextADestructiveIdempotent
WRITE: change a user-managed semantic context (ctx_id, e.g. "semctx:"). Only what
you pass changes.
- `statements` REPLACES the whole stored set (include every statement you want to keep).
- `name` renames it.
- `attach_to` (an exact node id) re-attaches it to that node; `make_global=true` detaches it
and makes it graph-wide. Not both.
Tableau-managed (SEMANTIC_CONTEXT_EXTERNAL) contexts can't be changed. Needs the Creator role.
Inputs: ctx_id (required), name, graph_id, attach_to, +2 more. Returns: object
validate_ossieValidate Ossie modelARead-only
Validate an Apache Ossie (formerly OSI) model, given as YAML or JSON text, against the
official JSON Schema (0.2.0.dev0, bundled) and the spec's semantic rules: duplicate names,
keys and relationship columns that are not declared fields, unknown datasets, qualified names
in dataset-scoped metrics. 0.1.1 documents (semantic_model: list) are converted first; pass
model_name when one holds several models. Runs locally: nothing is sent to Tableau.
Inputs: document (required), model_name. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 23 tools
Most tools target clearly distinct resources or actions, and descriptions draw explicit boundaries between similar areas such as search_nodes vs get_node and lineage vs impact_analysis. The main mild overlap is in the exploration cluster (get_node, list_edges, lineage, impact_analysis), where an agent may need to read descriptions carefully to choose the right scope.
The set predominantly follows a readable snake_case verb_noun pattern such as list_sources, create_graph, search_nodes, and delete_semantic_context. A few noun-only exceptions like lineage, impact_analysis, server_info, graph_health, and ossie_guide are still clear but slightly break the pattern.
At 23 tools the surface is on the heavy side, but the domain is broad: graph/source management, node exploration, semantic-context CRUD, Ossie import/export/validation, agent testing, and preference checking. Each tool maps to a recognizable workflow rather than obvious filler, so the count is high but defensible.
Coverage is strong across the core lifecycle: server/graph discovery, graph creation and update, source listing/addition/removal, node search and inspection, lineage/impact, semantic-context search/create/update/delete, and Ossie workflows. The main minor gap is the absence of an explicit delete_graph operation, though the rest of the domain is well covered.
Maintenance
Related MCP Connectors
Query your org's data in natural language — read-only MCP access to SQL, NoSQL, files & warehouses.
Query your own knowledge graph from any MCP client. The graph lives in a database you own.
Query your warehouse or a CSV with Claude/ChatGPT over MCP, governed by table-level ACL + audit.
Query SEC EDGAR filings, XBRL financials, and company data via MCP. STDIO or Streamable HTTP.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables querying Tableau lineage through the Metadata API via MCP, supporting impact analysis, where-used lookups, and content search. Provides read-only tools for answering natural-language questions about workbooks, datasources, fields, and dependencies.733 PyPI2MIT
- FlicenseBqualityBmaintenanceA production-grade MCP server that exposes Tableau Server/Cloud as a BI platform, enabling project, workbook, data source, user, group, job, lineage, and export operations via natural language, with role-based permissions and token optimization.69-
- AlicenseNot gradedqualityBmaintenanceEnables querying a Neo4j knowledge graph built from Git repositories and relational database schemas via MCP, with tools for schema inspection, Cypher queries, and searching code and database entities.MIT
- FlicenseNot gradedqualityDmaintenanceProvides MCP tools to query Tableau Server/Cloud datasources via REST API and VizQL Data Service, with support for Gemini or OpenAI as the LLM backend. Enables a natural language chat interface that can be embedded in Tableau dashboards, automatically including dashboard filter context.-