Skip to main content
Glama
TabGen MCP Server

TabGen MCP Server

by twilize5

TabGen MCP Server

Generate production-ready Tableau workbooks from natural language and a CSV.

Official MCP (Model Context Protocol) server for TabGen — the AI-powered Tableau workbook generator. Turn a CSV plus a one-line prompt into a real .twb / .twbx file that opens directly in Tableau Desktop or publishes to Tableau Cloud.

What it does

TabGen writes to Tableau. Point it at a dataset, describe the dashboard you want, and get back an actual editable workbook — not a screenshot, not a suggestion, not a code snippet. The generated file has real data connections, calculated fields, worksheets, dashboard containers, and filter actions wired together.

Use it directly from Claude Desktop, Cursor, VS Code, or any MCP-compatible client.

Related MCP server: Tableau MCP Server

Installation

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "tableaugen": {
      "command": "npx",
      "args": ["-y", "tableaugen-mcp"]
    }
  }
}

Cursor / Windsurf / VS Code

Add to your MCP settings:

{
  "tableaugen": {
    "command": "npx",
    "args": ["-y", "tableaugen-mcp"]
  }
}

Direct install

npm install -g tableaugen-mcp

Then run:

tableaugen-mcp

Authentication

None required. TabGen's core generation is free to use.

Tools

Tool

Description

generate_workbook

Generate a Tableau .twb / .twbx from a CSV path and a natural-language prompt

profile_dataset

Inspect a CSV and return schema, data types, cardinality, and null counts

publish_to_cloud

Publish a generated workbook to Tableau Cloud or Tableau Server

list_templates

Return available dashboard templates (sales, OEE, finance, marketing, etc.)

preview_workbook

Return a thumbnail image of a generated workbook for inline preview

Supported inputs

  • CSV files (any dialect, headers auto-detected)

Supported outputs

  • .twb — Tableau workbook (XML, no data embedded)

  • .twbx — Tableau packaged workbook (workbook + extract)

  • .hyper — Tableau extract only

  • Direct publish to Tableau Cloud / Tableau Server via REST API

Example usage

Once installed, ask your AI client:

Generate a quarterly sales dashboard from /data/orders.csv with a region filter and a product drill-down. Save it to ~/Desktop/sales.twbx.

TabGen will profile the data, plan the layout, and write a valid Tableau workbook to the path you specified.

License

MIT

Available Tools

5 tools
generate_workbookA

Generate a Tableau workbook (.twb or .twbx) from a CSV file and a natural-language prompt. Returns the path to the generated workbook.

Inputs: prompt (required), csv_path (required), output_path (required), style.

list_templatesA

Return the list of built-in dashboard templates TabGen can start from (sales, OEE, finance, marketing, etc.).

Inputs: no named parameters.

preview_workbookA

Return a thumbnail image (base64 PNG) of a generated Tableau workbook.

Inputs: workbook_path (required).

profile_datasetA

Inspect a CSV file and return its schema, inferred data types, cardinality, and null counts. Useful before calling generate_workbook.

Inputs: csv_path (required).

publish_to_cloudA

Publish a generated Tableau workbook to Tableau Cloud or Tableau Server via REST API.

Inputs: site_id (required), pat_name (required), pat_secret (required), server_url (required), +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: profiling data, generating workbooks, previewing, publishing, and listing templates. No two tools overlap in function, so an agent can reliably select the correct one.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern (e.g., generate_workbook, list_templates, preview_workbook). The only slight deviation is publish_to_cloud, but it still adheres to the verb+preposition+noun structure without breaking the overall convention.

    Tool Count5/5

    Five tools perfectly cover the core workflow of generating, previewing, and publishing Tableau workbooks, with supporting utilities for templates and data profiling. No tool feels redundant or missing.

    Completeness5/5

    The tool set covers the full lifecycle: inspect data (profile_dataset), generate a workbook (generate_workbook), preview it (preview_workbook), and publish it (publish_to_cloud), plus list_templates for starting points. There are no obvious gaps for the stated purpose.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables discovery, querying, and exporting of Tableau Cloud dashboards and data sources. Supports searching workbooks, filtering data, and exporting views as PDF, PNG, PowerPoint, CSV, or JSON.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI applications to integrate with Tableau through tools, resources, and prompts for querying data, exploring content, and retrieving visualizations from Tableau workbooks and datasources.
      25,651 npm
      378
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables integration with Tableau to query data, explore workbook content, and retrieve visualization images through natural language. It provides developer primitives for building AI applications that interact seamlessly with Tableau servers.
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI applications to interact with Tableau through tools for querying data, exploring content, and retrieving views.
      Apache 2.0