Skip to main content
Glama
twilize5

TabGen MCP Server

by twilize5
README.md
# TabGen MCP Server

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

Official MCP (Model Context Protocol) server for [**TabGen**](https://tableaugen.com) — 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.

## Installation

### Claude Desktop

Add to your `claude_desktop_config.json`:

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

### Cursor / Windsurf / VS Code

Add to your MCP settings:

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

### Direct install

```bash
npm install -g tableaugen-mcp
```

Then run:

```bash
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.

## Links

- Website: [tableaugen.com](https://tableaugen.com)
- Issues: [github.com/twilize5/tableaugen-mcp/issues](https://github.com/twilize5/tableaugen-mcp/issues)

## License

MIT

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.

Maintenance

ActivityMaintained
ResponsivenessNo issues