Skip to main content
Glama

mcp-superset

PyPI version PyPI downloads Python 3.12+ License: MIT CI CodeQL

Superset 6.0.1 MCP Typed Ruff uv Tools: 137 GitHub stars

A comprehensive Model Context Protocol (MCP) server for Apache Superset. Gives AI assistants (Claude, GPT, etc.) full control over your Superset instance — dashboards, charts, datasets, SQL Lab, users, roles, RLS, and more — through 137 tools.

Comparison with Other Superset MCP Servers

Feature

mcp-superset

superset-mcp

superset-mcp (Winding2020)

superset-mcp-server

Total tools

137

60

31

4

Language

Python

Python

TypeScript

TypeScript

Dashboard CRUD

15 tools

5

8

-

Dashboard native filters

5 tools

-

-

-

Chart CRUD

11 tools

5

7

-

Database tools

18 tools

14

1

1

Dataset tools

11 tools

3

7

-

SQL Lab

5 tools

7

1

1

Security (users/roles)

26 tools

2

-

-

Row Level Security

5 tools

-

-

-

Groups

9 tools

-

-

-

Permissions audit

yes

-

-

-

Dashboard access grant/revoke

yes

-

-

-

Auto datasource_access sync

yes

-

-

-

Reports & annotations

10 tools

-

-

-

Tags

7 tools

7

-

-

Asset export/import

yes

-

-

-

Safety: confirmation flags

14 types

-

-

-

Safety: DDL/DML blocking

yes

-

-

-

Safety: system role protection

yes

-

-

-

Transport

HTTP, SSE, stdio

stdio

stdio

stdio

Auth method

JWT + auto-refresh + CSRF

Username/password + token file

Username/password or token

LDAP

Superset versions

6.0.1

4.1.1

not specified

not specified

CLI with args

--host --port --transport

-

-

-

PyPI package

mcp-superset

superset-mcp

superset-mcp (npm)

-

uvx support

yes

-

-

-

License

MIT

MIT

-

Apache 2.0

GitHub stars

new

170

21

5

Key differentiators:

  • Only MCP server with full security management (users, roles, RLS, groups, permissions audit)

  • Only one with built-in safety validations (confirmation flags, DDL/DML blocking)

  • Only one with dashboard native filter management

  • Only one with automatic datasource_access synchronization

  • Only one with multiple transport options (HTTP, SSE, stdio)

  • Only one with configurable CLI (--host, --port, --transport, --env-file)

Related MCP server: Superset MCP Server

Features

  • 137 MCP tools covering the complete Superset REST API

  • Dashboard management — CRUD, copy, publish/unpublish, export/import, embedded mode, native filters

  • Chart management — CRUD, copy, data retrieval, export/import, cache warmup

  • Database management — CRUD, connection testing, schema/table introspection, SQL validation

  • Dataset management — CRUD, duplicate, schema refresh, export/import

  • SQL Lab — query execution, formatting, cost estimation, results & CSV export

  • Security — users, roles, permissions, Row Level Security (RLS), groups

  • Access control automation — grant/revoke dashboard access with automatic datasource permission sync

  • Audit — comprehensive permissions matrix (user x dashboards x datasets x RLS)

  • Tags, reports, annotations, saved queries — full CRUD

  • Asset export/import — full instance backup and restore

  • Built-in safety — confirmation flags for destructive operations, DDL/DML blocking in SQL Lab

  • JWT authentication with automatic token refresh and CSRF handling

  • Streamable HTTP, SSE, and stdio transports

Quick Start

Installation

# From PyPI
pip install mcp-superset

# With uv (recommended)
uv pip install mcp-superset

# Run without installing (uvx)
uvx mcp-superset

Configuration

Create a .env file in the current directory, or set environment variables:

# Required
SUPERSET_BASE_URL=https://superset.example.com
SUPERSET_USERNAME=admin
SUPERSET_PASSWORD=your_password

# Optional
SUPERSET_AUTH_PROVIDER=db          # db (default) or ldap
SUPERSET_MCP_HOST=127.0.0.1       # Server host (default: 127.0.0.1)
SUPERSET_MCP_PORT=8001             # Server port (default: 8001)
SUPERSET_MCP_TRANSPORT=streamable-http  # streamable-http (default), sse, or stdio

When Superset is behind SSO (OAuth/OIDC/SAML), password login via the REST API is unavailable. Instead, supply a browser session cookie:

Variable

Description

SUPERSET_SESSION_COOKIE

Session cookie value copied from your browser. When set, this mode is used instead of username/password.

SUPERSET_SESSION_COOKIE_NAME

Cookie name. Defaults to session.

Copy the cookie from your browser's dev tools (Application → Cookies → your Superset domain → session). The MCP server sends it on every request and fetches CSRF tokens with it. The session cannot be renewed server-side, so when it expires you must paste a fresh value and restart the server.

Two things worth checking before you use this mode:

  • The cookie name is not always session. Instances that set SESSION_COOKIE_NAME in superset_config.py use a different name (s, for example). Use the name shown in dev tools and set SUPERSET_SESSION_COOKIE_NAME accordingly.

  • The instance must accept session authentication on /api/v1/. Where the REST API is configured for JWT only, requests carrying a valid session cookie still return 401 {"msg": "Missing Authorization Header"} - refreshing the cookie will not help, and JWT mode is the only option there.

Treat the cookie as a credential: it grants full access to your Superset account for the lifetime of the session. Keep it in .env (which is gitignored), not in shell history or committed config.

Running

# Using CLI (after pip install)
mcp-superset

# Run without installing
uvx mcp-superset

# Using Python module
python -m mcp_superset

# With uv from source
uv run mcp-superset

# With custom settings
mcp-superset --host 0.0.0.0 --port 9000 --transport sse

# With custom .env file
mcp-superset --env-file /path/to/.env

# Using stdio transport (for Claude Desktop, Cursor, etc.)
mcp-superset --transport stdio

CLI Options

Option

Default

Env Variable

Description

--host

127.0.0.1

SUPERSET_MCP_HOST

Server bind address

--port

8001

SUPERSET_MCP_PORT

Server bind port

--transport

streamable-http

SUPERSET_MCP_TRANSPORT

Transport: streamable-http, sse, stdio

--env-file

auto-detect

—

Path to .env file

--version

—

—

Show version and exit

Connecting to MCP Clients

Claude Code

Add to your project's .mcp.json:

{
  "mcpServers": {
    "superset": {
      "type": "http",
      "url": "http://localhost:8001/mcp"
    }
  }
}

Then start the server: mcp-superset or uvx mcp-superset.

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "superset": {
      "command": "uvx",
      "args": ["mcp-superset", "--transport", "stdio"],
      "env": {
        "SUPERSET_BASE_URL": "https://superset.example.com",
        "SUPERSET_USERNAME": "admin",
        "SUPERSET_PASSWORD": "your_password"
      }
    }
  }
}

Cursor / Windsurf

{
  "mcpServers": {
    "superset": {
      "command": "uvx",
      "args": ["mcp-superset", "--transport", "stdio"],
      "env": {
        "SUPERSET_BASE_URL": "https://superset.example.com",
        "SUPERSET_USERNAME": "admin",
        "SUPERSET_PASSWORD": "your_password"
      }
    }
  }
}

Other MCP Clients

Any MCP-compatible client can connect via:

  • Streamable HTTP: http://<host>:<port>/mcp

  • SSE: http://<host>:<port>/sse

  • stdio: pipe to mcp-superset --transport stdio

Available Tools (137)

Dashboards (15 tools)

Tool

Description

superset_dashboard_list

List dashboards with filtering and pagination

superset_dashboard_get

Get dashboard details by ID

superset_dashboard_create

Create a new dashboard

superset_dashboard_update

Update dashboard properties

superset_dashboard_delete

Delete a dashboard (requires confirmation)

superset_dashboard_copy

Duplicate a dashboard

superset_dashboard_publish

Publish a draft dashboard

superset_dashboard_unpublish

Unpublish a dashboard

superset_dashboard_charts

List charts in a dashboard

superset_dashboard_datasets

List datasets used by a dashboard

superset_dashboard_export

Export dashboard as ZIP (base64)

superset_dashboard_import

Import dashboard from ZIP file

superset_dashboard_embedded_get

Get embedded configuration

superset_dashboard_embedded_set

Enable embedded mode with allowed domains

superset_dashboard_embedded_delete

Disable embedded mode

Dashboard Filters (5 tools)

Tool

Description

superset_dashboard_filter_list

List native filters on a dashboard

superset_dashboard_filter_add

Add a native filter (auto-generates correct ID format)

superset_dashboard_filter_update

Update an existing native filter

superset_dashboard_filter_delete

Remove a native filter (requires confirmation)

superset_dashboard_filter_reset

Remove all filters (requires confirmation)

Charts (11 tools)

Tool

Description

superset_chart_list

List charts with filtering and pagination

superset_chart_get

Get chart details by ID

superset_chart_create

Create a new chart

superset_chart_update

Update chart properties

superset_chart_delete

Delete a chart (requires confirmation)

superset_chart_copy

Duplicate a chart

superset_chart_data

Execute chart query and get data

superset_chart_get_data

Get data from a saved chart

superset_chart_export

Export chart as ZIP (base64)

superset_chart_import

Import chart from ZIP file

superset_chart_cache_warmup

Warm up chart cache

Databases (18 tools)

Tool

Description

superset_database_list

List database connections

superset_database_get

Get database details

superset_database_create

Register a new database connection

superset_database_update

Update database settings

superset_database_delete

Remove a database (requires confirmation)

superset_database_test_connection

Test database connectivity

superset_database_schemas

List schemas in a database

superset_database_tables

List tables in a schema

superset_database_catalogs

List catalogs (for multi-catalog databases)

superset_database_connection_info

Get connection string info

superset_database_function_names

List available SQL functions

superset_database_related_objects

Find charts/datasets using this database

superset_database_validate_sql

Validate SQL syntax

superset_database_validate_parameters

Validate connection parameters

superset_database_select_star

Generate SELECT * query for a table

superset_database_table_metadata

Get table column and index metadata

superset_database_export

Export database config as ZIP

superset_database_available_engines

List supported database engines

Datasets (11 tools)

Tool

Description

superset_dataset_list

List datasets with filtering

superset_dataset_get

Get dataset details including columns and metrics

superset_dataset_create

Create a dataset from a table or SQL query

superset_dataset_update

Update dataset properties

superset_dataset_delete

Delete a dataset (requires confirmation)

superset_dataset_duplicate

Duplicate a dataset

superset_dataset_refresh_schema

Refresh columns from source

superset_dataset_related_objects

Find charts using this dataset

superset_dataset_export

Export dataset as ZIP

superset_dataset_import

Import dataset from ZIP

superset_dataset_get_or_create

Get existing or create new dataset

SQL Lab & Queries (13 tools)

Tool

Description

superset_sqllab_execute

Execute a SQL query (SELECT only)

superset_sqllab_format_sql

Format/beautify SQL

superset_sqllab_results

Fetch results of a completed query

superset_sqllab_estimate_cost

Estimate query execution cost

superset_sqllab_export_csv

Export query results as CSV

superset_query_list

List executed queries

superset_query_get

Get query details and results

superset_query_stop

Stop a running query

superset_saved_query_list

List saved queries

superset_saved_query_create

Save a new query

superset_saved_query_get

Get saved query details

superset_saved_query_update

Update a saved query

superset_saved_query_delete

Delete a saved query (requires confirmation)

Security & Access Control (26 tools)

Tool

Description

superset_get_current_user

Get current authenticated user info

superset_get_current_user_roles

Get roles of current user

superset_user_list

List users with filtering

superset_user_get

Get user details

superset_user_create

Create a new user

superset_user_update

Update user properties

superset_user_delete

Delete a user (requires confirmation)

superset_role_list

List roles

superset_role_get

Get role details

superset_role_create

Create a new role

superset_role_update

Update role name/description

superset_role_delete

Delete a role (requires confirmation, blocks system roles)

superset_permission_list

List all available permissions

superset_role_permissions_get

Get permissions assigned to a role

superset_role_permission_add

Set role permissions (full replacement, requires confirmation)

superset_role_copy_permissions

Copy all permissions from one role to another

superset_dashboard_grant_role_access

Grant a role access to dashboard and its datasets

superset_dashboard_revoke_role_access

Revoke a role's access to dashboard datasets

superset_bulk_user_role_add

Add a role to multiple users (by IDs or by current role)

superset_bulk_user_role_remove

Remove a role from multiple users

superset_bulk_user_role_replace

Replace one role with another for all matching users

superset_rls_list

List Row Level Security rules

superset_rls_get

Get RLS rule details

superset_rls_create

Create an RLS rule

superset_rls_update

Update an RLS rule (requires both roles and tables)

superset_rls_delete

Delete an RLS rule (requires confirmation)

Groups (9 tools)

Tool

Description

superset_group_list

List groups

superset_group_get

Get group details with members and roles

superset_group_create

Create a new group

superset_group_update

Update group name

superset_group_delete

Delete a group

superset_group_add_users

Add users to a group

superset_group_remove_users

Remove users from a group

superset_group_add_roles

Add roles to a group

superset_group_remove_roles

Remove roles from a group

Tags (7 tools)

Tool

Description

superset_tag_list

List tags

superset_tag_get

Get tag details

superset_tag_create

Create a tag (optionally bind to objects)

superset_tag_update

Update a tag

superset_tag_delete

Delete a tag (requires confirmation)

superset_tag_get_objects

List objects associated with a tag

superset_tag_bulk_create

Create multiple tags at once

System & Reports (21 tools)

Tool

Description

superset_report_list

List scheduled reports

superset_report_get

Get report details

superset_report_create

Create a scheduled report

superset_report_update

Update a report

superset_report_delete

Delete a report (requires confirmation)

superset_annotation_layer_list

List annotation layers

superset_annotation_layer_get

Get annotation layer details

superset_annotation_layer_create

Create an annotation layer

superset_annotation_layer_update

Update an annotation layer

superset_annotation_layer_delete

Delete an annotation layer (requires confirmation)

superset_annotation_list

List annotations in a layer

superset_annotation_get

Get annotation details

superset_annotation_create

Create an annotation

superset_annotation_update

Update an annotation

superset_annotation_delete

Delete an annotation (requires confirmation)

superset_recent_activity

Get recent user activity

superset_log_list

Get audit logs

superset_get_menu

Get Superset menu structure

superset_get_base_url

Get configured Superset base URL

superset_assets_export

Export all Superset assets as ZIP

superset_assets_import

Import assets from ZIP file

Audit (1 tool)

Tool

Description

superset_permissions_audit

Generate comprehensive permissions matrix

Safety Features

The server includes extensive built-in protections to prevent accidental data loss or misconfiguration.

Confirmation Flags

Destructive operations require explicit confirmation parameters:

Operation

Required Flag

What It Shows

Delete dashboard

confirm_delete=True

Dashboard name, slug, chart count

Delete chart

confirm_delete=True

Linked dashboards

Delete dataset

confirm_delete=True

Affected charts and dashboards

Delete database

confirm_delete=True

Affected datasets, charts

Delete RLS rule

confirm_delete=True

Clause, roles, datasets

Delete role

confirm_delete=True

Blocks system roles

Delete user

confirm_delete=True

Blocks service account deletion

Update chart params

confirm_params_replace=True

—

Update dataset columns

confirm_columns_replace=True

—

Update database URI

confirm_uri_change=True

Affected charts/dashboards

Update user roles

confirm_roles_replace=True

Current roles

Set role permissions

confirm_full_replace=True

—

Grant dashboard access

confirm_grant=True

Dry-run results

Revoke dashboard access

confirm_revoke=True

Dry-run results

Bulk add role to users

confirm=True

User count, sample list

Bulk remove role from users

confirm=True

User count, prevents last role removal

Bulk replace role

confirm=True

Old/new role names, user count

Copy role permissions

confirm=True

Source/target permission counts

Automatic Protections

  • DDL/DML blocking — SQL Lab rejects DROP, DELETE, UPDATE, INSERT, TRUNCATE, ALTER, CREATE, GRANT, REVOKE (SQL comments are stripped before checking)

  • System role protection — cannot delete Admin, Alpha, Gamma, Public roles

  • Service account protection — cannot delete the MCP service user

  • RLS safety — rls_update requires both roles and tables to prevent silent data wipe

  • Native filter IDs — automatically generated in NATIVE_FILTER-<uuid> format

  • Chart validation — rejects charts without granularity_sqla (required for dashboard time filters)

  • Auto-sync — datasource_access permissions are automatically synchronized when dashboard roles change

Architecture

superset-mcp/
├── pyproject.toml              # Package configuration
├── .env.example                # Environment variable template
├── LICENSE                     # MIT License
├── README.md                   # This file
├── README_RU.md                # Russian documentation
├── CHANGELOG.md                # Version history
└── src/mcp_superset/
    ├── __init__.py             # Package init with __version__
    ├── __main__.py             # CLI entry point with argparse
    ├── server.py               # FastMCP server setup and configuration
    ├── auth.py                 # JWT authentication (login, refresh, CSRF)
    ├── client.py               # HTTP client (auto-auth, retry, RISON pagination)
    ├── models.py               # Pydantic models
    └── tools/
        ├── __init__.py         # register_all_tools()
        ├── helpers.py          # Auto-sync datasource_access logic
        ├── dashboards.py       # Dashboard + filter tools (20)
        ├── charts.py           # Chart tools (11)
        ├── databases.py        # Database tools (18)
        ├── datasets.py         # Dataset tools (11)
        ├── queries.py          # SQL Lab + saved query tools (13)
        ├── security.py         # User, role, permission, RLS, bulk operations (26)
        ├── groups.py           # Group management tools (9)
        ├── audit.py            # Permissions audit tool (1)
        ├── tags.py             # Tag tools (7)
        └── system.py           # Reports, annotations, logs, assets (21)

Superset Compatibility

  • Tested with: Apache Superset 6.0.1

  • Authentication: JWT (recommended) — API Key (sst_*) is not implemented in Superset

  • Required Superset user: Admin role (for full API access)

Add to your superset_config.py:

from datetime import timedelta

# Increase JWT token lifetime (default is 15 min)
JWT_ACCESS_TOKEN_EXPIRES = timedelta(hours=1)
JWT_REFRESH_TOKEN_EXPIRES = timedelta(days=30)

# Max API page size
FAB_API_MAX_PAGE_SIZE = 100

Development

Setup

git clone https://github.com/bintocher/mcp-superset.git
cd superset-mcp

# Create virtual environment and install in editable mode
uv venv
uv pip install -e ".[dev]"

# Copy and configure .env
cp .env.example .env
# Edit .env with your Superset credentials

Running Locally

# Run from source
uv run python -m mcp_superset

# Or with CLI
uv run mcp-superset --port 8001

Running Tests

uv run python test_all_tools.py

Known Superset API Quirks

These are handled automatically by the MCP server, but useful to know when debugging:

Quirk

Details

RISON pagination

Superset ignores page/page_size as query params; must use RISON in q parameter

CSRF required

All POST/PUT/DELETE need X-CSRFToken header + session cookie

Referer required

SQL Lab returns 403 without Referer header

Tag API returns {}

Tag creation doesn't return the ID; must query list

Tag update needs name

Field is mandatory even if unchanged

Role permissions replace

POST /security/roles/{id}/permissions replaces ALL permissions

RLS update replaces

PUT /rowlevelsecurity/{id} replaces ALL provided fields

Dataset update columns

PUT /dataset/{id} with columns replaces ALL columns

Dashboard copy

Requires json_metadata (can be "{}")

Native filter IDs

Must be NATIVE_FILTER-<uuid> format

filter_time needs granularity_sqla

Charts without it silently ignore time filters

Number formatting

SMART_NUMBER abbreviates; use ,d or ,.2f for exact

License

MIT — Stanislav Chernov (@bintocher)

Available Tools

137 tools
superset_annotation_createA

Create an annotation (timeline event) in the specified layer.

Annotations are displayed as vertical lines or areas on time-series charts.

Args: annotation_layer_id: Annotation layer ID (from annotation_layer_list). short_descr: Brief event description (displayed on the chart). start_dttm: Start datetime in ISO format. Example: "2024-01-01T00:00:00" end_dttm: End datetime in ISO format. Example: "2024-01-01T23:59:59" For a point-in-time event, set start_dttm = end_dttm. long_descr: Detailed event description (optional). json_metadata: JSON string with additional metadata (optional).

Inputs: end_dttm (required), start_dttm (required), short_descr (required), annotation_layer_id (required), +2 more. Returns: result

superset_annotation_deleteB

Delete an annotation from a layer.

Args: annotation_layer_id: Annotation layer ID. annotation_id: Annotation ID to delete. confirm_delete: Deletion confirmation (REQUIRED).

Inputs: annotation_id (required), annotation_layer_id (required), confirm_delete. Returns: result

superset_annotation_getB

Get an annotation by ID.

Args: annotation_layer_id: Annotation layer ID. annotation_id: Annotation ID (from annotation_list).

Inputs: annotation_id (required), annotation_layer_id (required). Returns: result

superset_annotation_layer_createA

Create a new annotation layer.

A layer is a container for annotations that can be overlaid on time-series charts.

Args: name: Layer name. descr: Layer description (optional).

Inputs: name (required), descr. Returns: result

superset_annotation_layer_deleteA

Delete an annotation layer along with all its annotations.

CRITICAL: deletes the layer AND all annotations within it permanently.

Args: annotation_layer_id: Layer ID to delete. confirm_delete: Deletion confirmation (REQUIRED).

Inputs: annotation_layer_id (required), confirm_delete. Returns: result

superset_annotation_layer_getA

Get annotation layer information by ID.

IMPORTANT: if the ID is unknown, call annotation_layer_list first.

Args: annotation_layer_id: Layer ID (from annotation_layer_list).

Inputs: annotation_layer_id (required). Returns: result

superset_annotation_layer_listA

List annotation layers.

An annotation layer is a container for annotations (timeline events) that can be overlaid on charts.

Args: page: Page number (starting from 0). page_size: Number of records per page (max 100). get_all: Fetch ALL records with automatic pagination (ignores page/page_size).

Inputs: page, get_all, page_size. Returns: result

superset_annotation_layer_updateA

Update an annotation layer. Pass only the fields to change.

Args: annotation_layer_id: Layer ID to update. name: New layer name. descr: New layer description.

Inputs: annotation_layer_id (required), name, descr. Returns: result

superset_annotation_listA

List annotations in the specified layer.

Args: annotation_layer_id: Annotation layer ID (from annotation_layer_list). page: Page number (starting from 0). page_size: Number of records per page (max 100). get_all: Fetch ALL records with automatic pagination (ignores page/page_size).

Inputs: annotation_layer_id (required), page, get_all, page_size. Returns: result

superset_annotation_updateA

Update an annotation. Pass only the fields to change.

Args: annotation_layer_id: Annotation layer ID. annotation_id: Annotation ID to update. short_descr: New brief description. start_dttm: New start datetime (ISO format: "2024-01-01T00:00:00"). end_dttm: New end datetime (ISO format). long_descr: New detailed description.

Inputs: annotation_id (required), annotation_layer_id (required), end_dttm, long_descr, +2 more. Returns: result

superset_assets_exportA

Export ALL Superset assets into a single ZIP file.

Includes: dashboards, charts, datasets, database connections (without passwords). Useful for backup or migration between instances.

Returns: JSON: {"format": "zip", "encoding": "base64", "data": "...", "size_bytes": N}

Inputs: no named parameters. Returns: result

superset_assets_importA

Import Superset assets from a ZIP file (created via assets_export).

CRITICAL: overwrite=True overwrites ALL matching objects (dashboards, charts, datasets, databases). This is irreversible.

Args: file_path: Absolute path to the ZIP file on disk. overwrite: Overwrite existing objects with matching UUIDs (default False). confirm_overwrite: Overwrite confirmation (REQUIRED when overwrite=True).

Inputs: file_path (required), overwrite, confirm_overwrite. Returns: result

superset_bulk_user_role_addA

Add a role to multiple users (without removing existing roles).

Select users by explicit IDs or by current role filter.

Args: role_id: Role ID to add. user_ids: Explicit list of user IDs. If None, uses filter_role_id. filter_role_id: Add to all users who have this role. Ignored if user_ids is set. exclude_admin: Skip Admin users (default True). confirm: True to apply. False for dry-run.

Inputs: role_id (required), confirm, user_ids, exclude_admin, +1 more. Returns: result

superset_bulk_user_role_removeA

Remove a role from multiple users.

Args: role_id: Role ID to remove. user_ids: Explicit list of user IDs. If None, removes from ALL users who have it. exclude_admin: Skip Admin users (default True). confirm: True to apply. False for dry-run.

Inputs: role_id (required), confirm, user_ids, exclude_admin. Returns: result

superset_bulk_user_role_replaceA

Replace one role with another for all users who have it.

Adds new_role_id first, then removes old_role_id (safe two-step).

Args: old_role_id: Role ID to replace. new_role_id: Role ID to set instead. exclude_admin: Skip Admin users (default True). confirm: True to apply. False for dry-run.

Inputs: new_role_id (required), old_role_id (required), confirm, exclude_admin. Returns: result

superset_chart_cache_warmupA

Warm up the cache for a chart.

Useful for speeding up loading of frequently used charts.

Args: chart_id: ID of the chart to warm up. dashboard_id: Dashboard ID for filter context (optional).

Inputs: chart_id (required), dashboard_id. Returns: result

superset_chart_copyA

Create a copy of an existing chart with a new name.

Copies all visualization parameters, type, dataset, and query_context. Dashboard bindings are NOT copied — specify new ones via the dashboards parameter.

Args: chart_id: ID of the source chart to copy. slice_name: Name for the new copy. dashboards: List of dashboard IDs to bind the copy to (optional).

Inputs: chart_id (required), slice_name (required), dashboards. Returns: result

superset_chart_createA

Create a new chart.

Args: slice_name: Chart name (displayed in the UI). viz_type: Visualization type (Superset 6.x). Main types: ECharts (recommended): - echarts_timeseries_bar — bar/horizontal bar chart - echarts_timeseries_line — line chart - echarts_timeseries_smooth — smoothed line - echarts_timeseries_step — step line - echarts_timeseries_scatter — scatter plot - echarts_area — area chart - mixed_timeseries — multiple series with 2 Y-axes - pie — pie chart - funnel — funnel chart - gauge_chart — gauge/speedometer - radar — radar chart - graph_chart — graph/network - tree_chart — tree diagram - treemap_v2 — treemap - sunburst_v2 — sunburst chart - sankey_v2 — Sankey diagram - heatmap_v2 — heatmap - histogram_v2 — histogram - box_plot — box plot - bubble_v2 — bubble chart - waterfall — waterfall chart - gantt_chart — Gantt chart KPI: - big_number_total — big number (KPI) - big_number — KPI with trend Tables: - table — table - pivot_table_v2 — pivot table Maps: - country_map — country map (ISO 3166-2 codes) - world_map — world map Other: - word_cloud — word cloud - handlebars — custom template DEPRECATED (DO NOT USE — "not registered" error): dist_bar -> echarts_timeseries_bar, bar -> echarts_timeseries_bar, area -> echarts_area, line -> echarts_timeseries_line, heatmap -> heatmap_v2, histogram -> histogram_v2, treemap -> treemap_v2, sunburst -> sunburst_v2, sankey -> sankey_v2, pivot_table -> pivot_table_v2, dual_line -> mixed_timeseries, line_multi -> mixed_timeseries datasource_id: Dataset ID (from superset_dataset_list). datasource_type: Data source type (default "table" — dataset). params: JSON string with visualization parameters (depend on viz_type). Define metrics, groupings, filters, colors, labels, etc.

    IMPORTANT — numeric and time formats:
      Do NOT use SMART_NUMBER or SMART_DATE — they abbreviate numbers
      (1.61k instead of 1610) and show literal text instead of dates.
      Use explicit formats:
      - y_axis_format: "d" (integers without separators), ",d" (with commas),
        ",.2f" (decimals)
      - number_format: ",d" (for pie chart)
      - x_axis_time_format: "%b %Y" (X-axis dates), "%Y-%m-%d" (ISO)
      - tooltipTimeFormat: "%Y-%m-%d" or "%Y-%m" (tooltip dates)
      - show_value: true (show numbers on bar chart columns)

    CRITICAL — date/time format in Superset 6.x:
      Superset 6.x uses ONLY D3 time format (strftime syntax).
      Do NOT use moment.js format (YYYY-MM-DD) — it will be rendered
      as literal text "YYYY-MM-DD" instead of an actual date!
      Correct formats (D3/strftime):
      - "%Y-%m-%d"       -> 2026-03-05 (ISO date)
      - "%Y-%m-%d %H:%M" -> 2026-03-05 14:30 (date + time)
      - "%d.%m.%Y"       -> 05.03.2026 (European format)
      - "%b %Y"          -> Mar 2026 (month + year)
      - "%Y"             -> 2026 (year only)
      - "%Y-%m"          -> 2026-03 (year-month)
      INCORRECT formats (moment.js — DO NOT WORK):
      - "YYYY-MM-DD" — renders literal "YYYY-MM-DD"
      - "DD.MM.YYYY" — renders literal "DD.MM.YYYY"
      - "MMM YYYY"   — renders literal "MMM YYYY"
      Parameters that accept date formats:
      - table_timestamp_format (tables)
      - x_axis_time_format (X-axis)
      - tooltipTimeFormat (tooltip)
      - y_axis_format (for big_number_total with date in metric)

    big_number_total (KPI cards) — REFERENCE parameters:
      - header_font_size: 0.27 (number size, ~53px in a 60px container)
      - subheader_font_size: 0.15 (subtitle/label size)
      - y_axis_format: "d" (integers without comma separators)
      IMPORTANT — scroll in KPI: the big_number_total container has a fixed
      height (usually 60px at 2 grid cells). Too large a font causes scrolling.
      Culprits: font-size + line-height (1.1x) + margin-bottom (8px default).
      If using dashboard CSS for custom font size, add
      `margin-bottom: 0 !important` to .header-line.
      Formula: font_size * 1.1 + margin <= container_height (60px).
      Recommended CSS: font-size 3.3rem (58px with line-height), margin-bottom: 0.

    country_map — required parameters:
      - select_country: "russia"
      - entity: "<column with ISO 3166-2 codes>"
      - metric: {...}
      Map tooltip (class .hover-popup) is clipped by the container
      .dashboard-chart (overflow:hidden). Fix via dashboard CSS:
      .dashboard-chart-id-{N} .dashboard-chart { overflow: visible !important; }
      .hover-popup { z-index: 99999 !important; }

query_context: JSON string with query context.
    Required for chart_get_data to work. Usually generated by the UI.
dashboards: List of dashboard IDs to bind the chart to.

Inputs: viz_type (required), slice_name (required), datasource_id (required), params, +3 more. Returns: result

superset_chart_dataA

Execute an arbitrary query against a dataset and retrieve data.

Allows fetching data directly from a dataset without creating a chart. To get data from an existing chart, use chart_get_data instead.

Args: query_context: JSON string with the query context. Format: { "datasource": {"id": <dataset_id>, "type": "table"}, "queries": [{ "columns": ["col1", "col2"], "metrics": [{"label": "count", "expressionType": "SIMPLE", "aggregate": "COUNT", "column": {"column_name": "id"}}], "filters": [{"col": "status", "op": "==", "val": "active"}], "orderby": [["col1", true]], "row_limit": 100, "time_range": "Last 7 days" }], "result_format": "json", "result_type": "full" } IMPORTANT: time_range is specified at the QUERY level, NOT inside extras. Allowed time_range values: "Last day", "Last week", "Last month", "Last year", "No filter", or "2024-01-01 : 2024-12-31".

Inputs: query_context (required). Returns: result

superset_chart_deleteA

Delete a chart by ID. The chart will be removed from all dashboards.

Args: chart_id: ID of the chart to delete. confirm_delete: Deletion confirmation (REQUIRED).

Inputs: chart_id (required), confirm_delete. Returns: result

superset_chart_exportA

Export charts with all dependencies (datasets, databases) as a ZIP file.

The result is a base64-encoded ZIP file. It can be imported back via superset_chart_import.

Args: chart_ids: Chart IDs separated by commas (e.g. "1,2,3").

Returns: JSON: {"format": "zip", "encoding": "base64", "data": "...", "size_bytes": N}

Inputs: chart_ids (required). Returns: result

superset_chart_getA

Get detailed information about a chart by ID.

Returns all settings: viz_type, params, query_context, dashboard bindings. IMPORTANT: if the ID is unknown, call superset_chart_list first.

Args: chart_id: Chart ID (integer from chart_list result).

Inputs: chart_id (required). Returns: result

superset_chart_get_dataA

Get data from a specific saved chart by its ID.

IMPORTANT: works only if the chart was saved with query_context (usually after opening and saving via the Superset UI). If query_context is missing, use superset_chart_data with a manually constructed query.

Args: chart_id: Chart ID.

Inputs: chart_id (required). Returns: result

superset_chart_importA

Import charts from a ZIP file (created via export).

The ZIP must contain YAML files with chart configurations and dependencies.

Args: file_path: Absolute path to the ZIP file on disk. overwrite: Overwrite existing objects with the same UUID (default False).

Inputs: file_path (required), overwrite. Returns: result

superset_chart_listA

List Superset charts with pagination.

IMPORTANT: always call this tool before chart_get/chart_delete to look up actual chart IDs.

Args: page: Page number (starting from 0). page_size: Number of records per page (max 100). q: RISON filter for searching. Examples: - By name: (filters:!((col:slice_name,opr:ct,value:search_term))) - By type: (filters:!((col:viz_type,opr:eq,value:table))) - By dataset: (filters:!((col:datasource_id,opr:eq,value:1))) get_all: Retrieve ALL records with automatic pagination (ignores page/page_size).

Inputs: q, page, get_all, page_size. Returns: result

superset_chart_updateA

Update an existing chart. Pass only the fields to change.

Args: chart_id: ID of the chart to update. slice_name: New name. viz_type: New visualization type (see chart_create for the list of types). params: New JSON visualization parameters (replaces entirely). See chart_create for reference on numeric/time formats. IMPORTANT: params replaces ALL parameters — first get current ones via chart_get, modify the needed fields, and pass the full JSON. CRITICAL: for dates use D3 strftime format ("%Y-%m-%d"), NOT moment.js ("YYYY-MM-DD") — otherwise a literal will be shown! query_context: New JSON query context (replaces entirely). IMPORTANT: when changing params you should also update query_context, otherwise the chart will use the old query context. dashboards: New list of dashboard IDs (REPLACES all bindings). confirm_params_replace: Confirmation for replacing params (REQUIRED when passing params).

Inputs: chart_id (required), params, viz_type, dashboards, +3 more. Returns: result

superset_dashboard_chartsA

Get the list of all charts placed on a dashboard.

Returns chart IDs and names. Useful for analyzing dashboard contents.

Args: dashboard_id: Dashboard ID.

Inputs: dashboard_id (required). Returns: result

superset_dashboard_copyA

Create a copy of an existing dashboard with all its charts.

Args: dashboard_id: ID of the source dashboard to copy. dashboard_title: Title for the new copy. json_metadata: JSON metadata for the copy. IMPORTANT: Superset requires this field. If not provided, "{}" will be used.

Inputs: dashboard_id (required), dashboard_title (required), json_metadata. Returns: result

superset_dashboard_createA

Create a new dashboard.

IMPORTANT: when roles are specified, datasource_access is automatically synced for the given roles — each role will get access to all dashboard datasets.

Args: dashboard_title: Dashboard title (displayed in the UI). slug: URL slug for a pretty link (e.g. "my-dashboard"). Must be unique. published: Publish immediately (default False — draft). json_metadata: JSON string with dashboard metadata. Contains filter settings, color palette, refresh interval. Use "{}" for empty metadata. css: Custom CSS for dashboard styling. position_json: JSON string with widget positioning on the dashboard. Defines the layout of charts, headers, dividers in the grid. roles: List of role IDs that can access the dashboard. Users without one of these roles will NOT see the dashboard. Empty list = accessible to all.

Inputs: dashboard_title (required), css, slug, roles, +3 more. Returns: result

superset_dashboard_datasetsB

Get the list of all datasets used by a dashboard's charts.

Useful for understanding the dashboard's dependencies on data sources.

Args: dashboard_id: Dashboard ID.

Inputs: dashboard_id (required). Returns: result

superset_dashboard_deleteA

Delete a dashboard by ID. Charts and datasets are NOT deleted — only the dashboard itself.

CRITICAL: the dashboard will be permanently deleted.

Args: dashboard_id: ID of the dashboard to delete. confirm_delete: Deletion confirmation (REQUIRED).

Inputs: dashboard_id (required), confirm_delete. Returns: result

superset_dashboard_embedded_deleteB

Disable dashboard embedding (embedded mode).

After disabling, the dashboard can no longer be embedded via iframe.

Args: dashboard_id: Dashboard ID.

Inputs: dashboard_id (required). Returns: result

superset_dashboard_embedded_getA

Get the embedding (embedded) settings of a dashboard.

IMPORTANT: will return 404 if embedded mode has not been configured via embedded_set.

Args: dashboard_id: Dashboard ID.

Inputs: dashboard_id (required). Returns: result

superset_dashboard_embedded_setA

Enable dashboard embedding (embedded mode) and configure allowed domains.

Once enabled, the dashboard can be embedded via iframe on the specified domains.

Args: dashboard_id: Dashboard ID. allowed_domains: List of domains where embedding is allowed (e.g. ["example.com", "app.example.com"]). Empty list = all domains.

Inputs: dashboard_id (required), allowed_domains. Returns: result

superset_dashboard_exportA

Export dashboards with all dependencies (charts, datasets, databases) as a ZIP.

The result is a base64-encoded ZIP file. It can be imported back via superset_dashboard_import.

Args: dashboard_ids: Comma-separated dashboard IDs (e.g. "1,2,3").

Returns: JSON: {"format": "zip", "encoding": "base64", "data": "...", "size_bytes": N}

Inputs: dashboard_ids (required). Returns: result

superset_dashboard_filter_addA

Add a native filter to a dashboard with correct defaults.

Automatically populates chartsInScope with all dashboard charts, builds correct scope, defaultDataMask, and cascadeParentIds. Filter ID is generated in NATIVE_FILTER- format — this is REQUIRED for Superset 6.0.1 (custom IDs are silently ignored by the frontend).

Args: dashboard_id: Dashboard ID. name: Display name of the filter (e.g. "Full Name"). column: Dataset column name for filtering (e.g. "full_name"). dataset_id: ID of the dataset providing filter values. filter_type: Filter type: "filter_select", "filter_time", "filter_range". multi_select: Allow multiple selection (default True). search_all_options: Search all values, not just loaded ones (for large lists). enable_empty_filter: Empty filter means filtering by NULL. cascade_parent_id: ID of the parent filter for cascading.

Inputs: name (required), column (required), dataset_id (required), dashboard_id (required), +5 more. Returns: result

superset_dashboard_filter_deleteA

Delete a native filter from a dashboard by ID.

Args: dashboard_id: Dashboard ID. filter_id: ID of the filter to delete (format "NATIVE_FILTER-"). confirm_delete: Deletion confirmation (REQUIRED).

Inputs: filter_id (required), dashboard_id (required), confirm_delete. Returns: result

superset_dashboard_filter_listA

Get a list of native filters on a dashboard in a readable format.

Parses json_metadata and returns configuration of each filter: ID, name, type, column, dataset, chartsInScope, controlValues.

Args: dashboard_id: Dashboard ID.

Inputs: dashboard_id (required). Returns: result

superset_dashboard_filter_resetA

Recreate ALL native filters on a dashboard with correct defaults.

Deletes all current filters and creates new ones from the provided list. Automatically populates chartsInScope, scope, defaultDataMask, cascadeParentIds.

CRITICAL: all current filters will be DELETED and replaced with new ones.

Args: dashboard_id: Dashboard ID. dataset_id: Dataset ID for all filters. filters_json: JSON array of filter definitions. Each element: confirm_reset: Filter reset confirmation (REQUIRED). { "name": "Full Name", "column": "full_name", "type": "filter_select", // filter_select | filter_time | filter_range "multi_select": true, // optional, default true "search_all_options": false, // optional, default false "enable_empty_filter": false, // optional, default false "cascade_parent_id": null // optional, parent filter ID }

Inputs: dataset_id (required), dashboard_id (required), filters_json (required), confirm_reset. Returns: result

superset_dashboard_filter_updateA

Update a native filter on a dashboard by ID. Pass only the fields to change.

Args: dashboard_id: Dashboard ID. filter_id: Filter ID (format "NATIVE_FILTER-"). name: New filter name. column: New column for filtering. multi_select: Multiple selection. search_all_options: Search all values. enable_empty_filter: Empty filter = NULL. cascade_parent_id: Parent filter ID (None — remove cascading).

Inputs: filter_id (required), dashboard_id (required), name, column, +4 more. Returns: result

superset_dashboard_getA

Get detailed information about a dashboard by ID.

IMPORTANT: if the ID is unknown, first call superset_dashboard_list to find the desired dashboard. A non-existent ID will return 404.

Args: dashboard_id: Dashboard ID (integer from dashboard_list result).

Inputs: dashboard_id (required). Returns: result

superset_dashboard_grant_role_accessA

Grant a role access to a dashboard by automatically finding all dashboard datasets and adding datasource_access to the role's permissions.

The tool automatically:

  1. Finds all datasets used by the dashboard's charts

  2. Finds permission_view_menu_id for datasource_access of each dataset

  3. Checks which permissions the role already has

  4. Adds missing datasource_access to the role's existing permissions

  5. Checks for RLS rules on the datasets and warns if missing

Without confirm_grant=True, shows the action plan (dry-run).

Args: dashboard_id: Dashboard ID (from dashboard_list). role_id: ID of the role to grant access to (from role_list). confirm_grant: True to apply changes. False for dry-run only.

Inputs: role_id (required), dashboard_id (required), confirm_grant. Returns: result

superset_dashboard_importA

Import dashboards from a ZIP file (created via export).

The ZIP should contain YAML files with dashboard and dependency configurations.

Args: file_path: Absolute path to the ZIP file on disk. overwrite: Overwrite existing objects with the same UUID (default False).

Inputs: file_path (required), overwrite. Returns: result

superset_dashboard_listA

List Superset dashboards with pagination.

IMPORTANT: always call this tool before dashboard_get to find out the current dashboard IDs.

Args: page: Page number (starting from 0). page_size: Number of records per page (max 100). q: RISON filter for search. Examples: - By title: (filters:!((col:dashboard_title,opr:ct,value:search))) - By owner: (filters:!((col:owners,opr:rel_m_m,value:1))) - Published only: (filters:!((col:published,opr:eq,value:!t))) get_all: Fetch ALL records with automatic pagination (ignores page/page_size).

Inputs: q, page, get_all, page_size. Returns: result

superset_dashboard_publishA

Publish a dashboard (make it visible to users with appropriate permissions).

Args: dashboard_id: Dashboard ID.

Inputs: dashboard_id (required). Returns: result

superset_dashboard_revoke_role_accessA

Revoke a role's access to a dashboard by removing datasource_access for the dashboard's datasets from the role's permissions.

IMPORTANT: if a dataset is used by other dashboards that the role also has access to, revoking will break access to those dashboards as well. The tool will check and warn about this.

Without confirm_revoke=True, shows the action plan (dry-run).

Args: dashboard_id: Dashboard ID (from dashboard_list). role_id: ID of the role to revoke access from (from role_list). confirm_revoke: True to apply. False for dry-run only.

Inputs: role_id (required), dashboard_id (required), confirm_revoke. Returns: result

superset_dashboard_unpublishA

Unpublish a dashboard (convert to draft).

The dashboard will remain accessible to owners and admins but will be hidden from the general list.

Args: dashboard_id: Dashboard ID.

Inputs: dashboard_id (required). Returns: result

superset_dashboard_updateA

Update an existing dashboard. Pass only the fields to change.

IMPORTANT: after the update, datasource_access is automatically synced — each role from dashboard.roles will get access to all dashboard datasets.

Args: dashboard_id: ID of the dashboard to update. dashboard_title: New title. slug: New URL slug (must be unique). published: Change publication status (true — published, false — draft). json_metadata: Dashboard JSON metadata (string or object, fully replaced). css: New custom CSS for the dashboard. Injected as a tag on the dashboard page. Does NOT affect Explore view (chart editor) — only the dashboard.

    Common CSS fixes:

      1) KPI big_number_total — digit size and scroll:
      KPI container has a fixed height (~60px at 2 cells).
      Default font is small. To enlarge via CSS:
        div[class*="big_number"] .header-line {
          font-size: 3.3rem !important;  /* digits */
          font-weight: 700 !important;
          line-height: 1.1 !important;
          margin-bottom: 0 !important;  /* REQUIRED! otherwise scroll */
        }
        div[class*="big_number"] .subheader-line {
          font-size: 1rem !important;  /* label */
          font-weight: 400 !important;
          opacity: 0.7;
        }
      IMPORTANT: margin-bottom on .header-line defaults to 8px — together with
      line-height causes overflow and scroll. Verification formula:
      font_size_px * 1.1 + margin_bottom <= 60px.
      3.3rem = 52.8px -> 52.8 * 1.1 = 58px + 0 = 58px < 60px OK

      2) Country Map tooltip clipped by container — culprit is
      DIV.dashboard-chart (styled-component with overflow:hidden).
      Tooltip = DIV.hover-popup (NOT .datamaps-hoverover!). Fix:
        .dashboard-chart-id-{N} .dashboard-chart {
          overflow: visible !important;
        }
        .hover-popup { z-index: 99999 !important; }

      To analyze CSS issues: open the dashboard in Playwright,
      find the chart element, walk up parentElement,
      check getComputedStyle(el).overflow at each level.

position_json: Widget positioning on the dashboard (string or object).
    Defines the layout of charts, headers, dividers in the grid.
    IMPORTANT: fully replaced — first get current layout via
    dashboard_get, modify needed elements and pass the entire JSON.
owners: List of owner user IDs (REPLACES all current owners).
roles: List of role IDs for dashboard access (REPLACES current ones).
    On change, datasource_access is automatically synced.

Inputs: dashboard_id (required), css, slug, roles, +5 more. Returns: result

superset_database_available_enginesA

List supported database engine types for creating connections.

Returns available engines: PostgreSQL, MySQL, SQLite, etc. Useful for selecting an engine when creating a new connection.

Inputs: no named parameters. Returns: result

superset_database_catalogsA

List catalogs in a database (for engines that support catalogs).

Not supported by all engines. PostgreSQL and MySQL typically do not use catalogs.

Args: database_id: Database connection ID.

Inputs: database_id (required). Returns: result

superset_database_connection_infoA

Get connection information (URI without password, parameters).

Args: database_id: Database connection ID.

Inputs: database_id (required). Returns: result

superset_database_createA

Create a new database connection.

IMPORTANT: Superset validates database availability on creation. The URI must be reachable from the Superset server (not the client's localhost).

Args: database_name: Human-readable connection name. sqlalchemy_uri: SQLAlchemy connection URI string. Examples: - PostgreSQL: postgresql://user:pass@host:5432/dbname - MySQL: mysql://user:pass@host:3306/dbname - SQLite: sqlite:///path/to/db.sqlite expose_in_sqllab: Whether to show in SQL Lab (default True). allow_ctas: Allow CREATE TABLE AS SELECT. allow_cvas: Allow CREATE VIEW AS SELECT. allow_dml: Allow INSERT/UPDATE/DELETE. allow_run_async: Allow asynchronous query execution. extra: JSON string with additional settings (engine_params, metadata_params).

Inputs: database_name (required), sqlalchemy_uri (required), extra, allow_dml, +4 more. Returns: result

superset_database_deleteA

Delete a database connection. All associated datasets will become broken.

CRITICAL: deleting a connection breaks ALL datasets, charts, and dashboards using this DB.

Args: database_id: Connection ID to delete. confirm_delete: Deletion confirmation (REQUIRED).

Inputs: database_id (required), confirm_delete. Returns: result

superset_database_exportA

Export database connection configurations as a ZIP file.

IMPORTANT: passwords are NOT exported for security reasons.

Args: database_ids: Comma-separated connection IDs (e.g. "1,2").

Returns: JSON: {"format": "zip", "encoding": "base64", "data": "...", "size_bytes": N}

Inputs: database_ids (required). Returns: result

superset_database_function_namesA

List available SQL functions in the database.

Useful for building SQL queries with engine-specific functions.

Args: database_id: Database connection ID.

Inputs: database_id (required). Returns: result

superset_database_getA

Get detailed information about a database connection by ID.

IMPORTANT: if the ID is unknown, call superset_database_list first.

Args: database_id: Connection ID (integer from database_list result).

Inputs: database_id (required). Returns: result

superset_database_listA

List database connections configured in Superset.

Returns the ID, name, engine type, and status of each connection. IMPORTANT: always call before database_get to discover current IDs.

Args: page: Page number (starting from 0). page_size: Number of records per page (max 100). q: RISON filter for searching. Examples: - By name: (filters:!((col:database_name,opr:ct,value:postgres))) - By type: (filters:!((col:backend,opr:eq,value:postgresql))) get_all: Fetch ALL records with automatic pagination (ignores page/page_size).

Inputs: q, page, get_all, page_size. Returns: result

superset_database_schemasA

List schemas available in a database.

Useful for selecting a schema before querying tables or creating a dataset.

Args: database_id: Database connection ID (from database_list).

Inputs: database_id (required). Returns: result

superset_database_select_starA

Generate a SELECT * SQL query for a table (with LIMIT).

Useful for quickly inspecting table structure and data.

Args: database_id: Database connection ID. table_name: Table name. schema_name: Schema (e.g. "public"). If not specified, uses the default schema.

Inputs: table_name (required), database_id (required), schema_name. Returns: result

superset_database_table_metadataA

Get table metadata: columns, data types, indexes, and primary keys.

Useful for understanding table structure before writing SQL queries.

Args: database_id: Database connection ID. table_name: Table name. schema_name: Schema (e.g. "public"). If not specified, uses the default schema.

Inputs: table_name (required), database_id (required), schema_name. Returns: result

superset_database_tablesA

List tables and views in the specified database schema.

Useful for selecting a table before creating a dataset.

Args: database_id: Database connection ID (from database_list). schema_name: Schema name (from database_schemas). Examples: "public", "source". Passed in RISON format without quotes.

Inputs: database_id (required), schema_name (required). Returns: result

superset_database_test_connectionA

Test a database connection without creating it.

IMPORTANT: the URI must be reachable from the Superset server.

Args: database_name: Connection name (shown in error messages). sqlalchemy_uri: SQLAlchemy URI to test. extra: JSON string with additional settings.

Inputs: database_name (required), sqlalchemy_uri (required), extra. Returns: result

superset_database_updateA

Update a database connection. Pass only the fields you want to change.

Args: database_id: Connection ID to update. database_name: New connection name. sqlalchemy_uri: New SQLAlchemy URI. CRITICAL: changing the URI breaks all datasets and charts using this connection. expose_in_sqllab: Whether to show in SQL Lab. allow_ctas: Allow CREATE TABLE AS SELECT. allow_cvas: Allow CREATE VIEW AS SELECT. allow_dml: Allow INSERT/UPDATE/DELETE. extra: JSON string with additional settings. confirm_uri_change: Confirmation for URI change (REQUIRED when changing sqlalchemy_uri).

Inputs: database_id (required), extra, allow_dml, allow_ctas, +5 more. Returns: result

superset_database_validate_parametersA

Validate database connection parameters without creating a connection.

Args: engine: Database engine type: "postgresql", "mysql", "sqlite", "mssql", etc. parameters: Connection parameters dictionary: {"host": "...", "port": 5432, "database": "...", "username": "...", "password": "..."} configuration_method: Configuration method: "sqlalchemy_form" (default) or "dynamic_form".

Inputs: engine (required), parameters (required), configuration_method. Returns: result

superset_database_validate_sqlA

Validate SQL query syntax without executing it (EXPLAIN-like check).

IMPORTANT: not all database engines support SQL validation. PostgreSQL does.

Args: database_id: Database connection ID. sql: SQL query to validate. schema: Schema for validation context (e.g. "public").

Inputs: sql (required), database_id (required), schema. Returns: result

superset_dataset_createA

Create a new dataset (physical or virtual).

A physical dataset references an existing table/view in the database. A virtual dataset uses an arbitrary SQL query as the data source.

Args: table_name: Table/view name (for physical) or dataset name (for virtual). database: Database connection ID (from superset_database_list). schema_name: Database schema (e.g. "public", "source"). If omitted, uses the DB default schema. sql: SQL query for a virtual dataset. If provided, creates a virtual dataset based on this query.

Returns: JSON string with the created dataset details.

Inputs: database (required), table_name (required), sql, schema_name. Returns: result

superset_dataset_deleteA

Delete a dataset. Charts using this dataset will stop working.

CRITICAL: deleting a dataset breaks all linked charts and dashboards.

Args: dataset_id: ID of the dataset to delete. confirm_delete: Deletion confirmation (REQUIRED).

Returns: JSON string with the deletion result.

Inputs: dataset_id (required), confirm_delete. Returns: result

superset_dataset_duplicateA

Create a copy of an existing dataset (with columns and metrics).

Args: base_model_id: ID of the source dataset to copy. IMPORTANT: the field is called base_model_id, NOT base_id or dataset_id. table_name: Name for the new dataset (must be unique).

Returns: JSON string with the duplicated dataset details.

Inputs: table_name (required), base_model_id (required). Returns: result

superset_dataset_exportA

Export datasets with dependencies (databases) to a ZIP file.

The result is a base64-encoded ZIP. Can be imported via dataset_import.

Args: dataset_ids: Comma-separated dataset IDs (e.g. "1,2,3").

Returns: JSON: {"format": "zip", "encoding": "base64", "data": "...", "size_bytes": N}

Inputs: dataset_ids (required). Returns: result

superset_dataset_getA

Get detailed information about a dataset: columns, metrics, SQL.

IMPORTANT: if the ID is unknown, call superset_dataset_list first.

Args: dataset_id: Dataset ID (integer from dataset_list result).

Returns: JSON string with dataset details.

Inputs: dataset_id (required). Returns: result

superset_dataset_get_or_createA

Get an existing dataset or create a new one for a table.

If a dataset for the specified table already exists, returns it. If not, creates a new physical dataset.

Args: database_id: Database connection ID (from superset_database_list). table_name: Table name in the database. schema_name: Database schema (e.g. "public", "source"). If omitted, uses the DB default schema.

Returns: JSON string with the dataset details.

Inputs: table_name (required), database_id (required), schema_name. Returns: result

superset_dataset_importA

Import datasets from a ZIP file (created via export).

Args: file_path: Absolute path to the ZIP file on disk. overwrite: Overwrite existing objects with matching UUIDs (default False).

Returns: JSON string with the import result.

Inputs: file_path (required), overwrite. Returns: result

superset_dataset_listA

List Superset datasets with pagination.

A dataset is a reference to a table/view or a virtual SQL query in Superset. IMPORTANT: always call before dataset_get to discover current IDs.

Args: page: Page number (starting from 0). page_size: Number of records per page (max 100). q: RISON filter for searching. Examples: - By name: (filters:!((col:table_name,opr:ct,value:search_term))) - By schema: (filters:!((col:schema,opr:eq,value:public))) - By database: (filters:!((col:database,opr:rel_o_m,value:1))) get_all: Fetch ALL records with automatic pagination (ignores page/page_size).

Returns: JSON string with the list of datasets.

Inputs: q, page, get_all, page_size. Returns: result

superset_dataset_refresh_schemaA

Refresh the dataset schema from the source (rescan columns and types).

Useful after ALTER TABLE or any structural change to the underlying table.

Args: dataset_id: Dataset ID.

Returns: JSON string with the refresh result.

Inputs: dataset_id (required). Returns: result

superset_dataset_updateA

Update a dataset. Only pass the fields you want to change.

Args: dataset_id: ID of the dataset to update. table_name: New table/dataset name. sql: New SQL query (only for virtual datasets). description: Dataset description (displayed in Superset UI). columns: JSON string describing columns. CRITICAL: passing columns REPLACES ALL dataset columns! To update a single column (e.g. verbose_name), pass ALL columns with their IDs. After an error, dataset_refresh_schema will restore columns from SQL. Format: [{"id": 123, "column_name": "id", "type": "INTEGER", ...}] metrics: JSON string describing metrics. Format: [{"metric_name": "count", "expression": "COUNT(*)", "metric_type": "count"}] confirm_columns_replace: Confirmation for replacing ALL columns (REQUIRED when passing columns). always_filter_main_dttm: Force the dataset's main datetime filter on/off. Superset resets this flag to false on any PUT that omits it, which breaks dashboard time filters when only columns/metrics are updated. Pass an explicit value to set it; leave it None and the current value is preserved automatically whenever columns are replaced.

Returns: JSON string with the updated dataset details.

Inputs: dataset_id (required), sql, columns, metrics, +4 more. Returns: result

superset_get_base_urlA

Get the base URL of the configured Superset instance.

Returns the URL used by the MCP server to connect to Superset.

Inputs: no named parameters. Returns: result

superset_get_current_userA

Get information about the current authenticated user (mcp_service).

Returns: JSON with username, name, email, roles, and active status.

Inputs: no named parameters. Returns: result

superset_get_current_user_rolesA

Get the list of roles for the current user (mcp_service).

Returns: JSON with IDs and names of all assigned roles.

Inputs: no named parameters. Returns: result

superset_get_menuA

Get the Superset navigation menu structure.

Useful for understanding available sections and the current user's permissions.

Inputs: no named parameters. Returns: result

superset_group_add_rolesA

Add roles to a group without removing existing ones.

Args: group_id: Group ID. role_ids: List of role IDs to add.

Inputs: group_id (required), role_ids (required). Returns: result

superset_group_add_usersA

Add users to a group without removing existing ones.

Convenience tool: fetches current group users, merges in new ones, and updates the group.

Args: group_id: Group ID. user_ids: List of user IDs to add.

Inputs: group_id (required), user_ids (required). Returns: result

superset_group_createA

Create a new user group.

A group combines users and roles. Users in a group automatically inherit all roles of the group.

Args: name: Unique group name (e.g. "la_region_Moscow"). label: Display label (e.g. "Moscow region"). description: Group description. roles: List of role IDs to assign to the group. users: List of user IDs to add to the group.

Inputs: name (required), label, roles, users, +1 more. Returns: result

superset_group_deleteB

Delete a user group.

Users in the group are NOT deleted, but they lose the roles that were assigned through this group.

Args: group_id: ID of the group to delete. confirm_delete: Deletion confirmation (REQUIRED).

Inputs: group_id (required), confirm_delete. Returns: result

superset_group_getA

Get detailed information about a group by ID.

Returns: name, label, description, list of roles and users.

Args: group_id: Group ID (from group_list).

Inputs: group_id (required). Returns: result

superset_group_listA

List Superset user groups.

A group combines users and roles. Users in a group inherit all roles assigned to the group.

Args: page: Page number (starting from 0). page_size: Number of records per page (max 100). q: RISON filter for search. Examples: - By name: (filters:!((col:name,opr:ct,value:moscow))) get_all: Fetch ALL records with automatic pagination.

Inputs: q, page, get_all, page_size. Returns: result

superset_group_remove_rolesA

Remove roles from a group without removing the rest.

Args: group_id: Group ID. role_ids: List of role IDs to remove.

Inputs: group_id (required), role_ids (required). Returns: result

superset_group_remove_usersB

Remove users from a group without removing the rest.

Args: group_id: Group ID. user_ids: List of user IDs to remove from the group.

Inputs: group_id (required), user_ids (required). Returns: result

superset_group_updateA

Update a group. Only pass the fields you want to change.

IMPORTANT: roles REPLACES the entire role list of the group (does not append). IMPORTANT: users REPLACES the entire user list of the group (does not append).

To add a single role/user: fetch current ones via group_get, add the ID to the list, pass the complete list.

Args: group_id: ID of the group to update. name: New group name. label: New label. description: New description. roles: New COMPLETE list of role IDs (REPLACES all current ones). users: New COMPLETE list of user IDs (REPLACES all current ones). confirm_roles_replace: Confirmation for role replacement (REQUIRED when roles is set). confirm_users_replace: Confirmation for user replacement (REQUIRED when users is set).

Inputs: group_id (required), name, label, roles, +4 more. Returns: result

superset_log_listA

Get the audit log of all Superset user actions.

Args: page: Page number (starting from 0). page_size: Number of records per page (max 100). q: RISON filter for search. Examples: - By user: (filters:!((col:user,opr:rel_o_m,value:1))) - By action: (filters:!((col:action,opr:ct,value:explore))) get_all: Fetch ALL records with automatic pagination (ignores page/page_size).

Inputs: q, page, get_all, page_size. Returns: result

superset_permission_listA

Get the list of all available permissions (permission_view_menu) in Superset.

Each permission is a combination of an action (can_read, can_write, can_explore) and a resource.

Args: page: Page number (starting from 0). page_size: Number of records per page (defaults to 100). q: RISON filter for searching. get_all: Fetch ALL records with automatic pagination (ignores page/page_size).

Inputs: q, page, get_all, page_size. Returns: result

superset_permissions_auditA

Audit access rights: user x dashboards/datasets/RLS permission matrix.

For each user shows:

  • Groups they belong to

  • Effective roles (direct + inherited from groups)

  • Access to each dashboard (1/0/partial) — checks BOTH:

    • Dashboard visibility (user's role in dashboard.roles, or roles empty)

    • Data access (datasource_access to ALL datasets) Values: 1 = full access, 0 = no access, "visible_no_data" = can open but charts fail

  • Access to each dataset (1/0)

  • Available regions via RLS

Args: page: Results page (starting from 0). page_size: Users per page (max 50). username_filter: Filter by username (substring match). include_admin: Include Admin users (they have access to everything).

Inputs: page, page_size, include_admin, username_filter. Returns: result

superset_query_getA

Retrieve detailed information about a query from the history by ID.

Args: query_id: Query ID (integer from query_list result).

Inputs: query_id (required). Returns: result

superset_query_listA

Retrieve the history of executed SQL queries.

Args: page: Page number (starting from 0). page_size: Number of records per page (max 100). q: RISON filter for search. Examples: - By status: (filters:!((col:status,opr:eq,value:success))) - By database: (filters:!((col:database,opr:rel_o_m,value:1))) get_all: Retrieve ALL records with automatic pagination (ignores page/page_size).

Inputs: q, page, get_all, page_size. Returns: result

superset_query_stopA

Stop a running asynchronous query.

Args: query_id: Query client_id to stop (string from sqllab_execute result).

Inputs: query_id (required). Returns: result

superset_recent_activityA

Get recent activity of the current user (views, edits).

Args: page: Page number (starting from 0). page_size: Number of records per page (max 100). get_all: Fetch ALL records with automatic pagination (ignores page/page_size).

Inputs: page, get_all, page_size. Returns: result

superset_report_createA

Create a report (periodic delivery) or alert (SQL-condition based).

For Report: specify dashboard or chart — Superset will send a screenshot on schedule. For Alert: specify database and sql — Superset checks the condition and notifies on trigger.

Args: name: Report/alert name. crontab: Cron schedule. Examples: - "0 9 * * *" — every day at 9:00 - "0 9 * * 1" — every Monday at 9:00 - "0 */6 * * *" — every 6 hours report_type: Type: "Report" (periodic delivery, default) or "Alert" (condition-based). dashboard: Dashboard ID for screenshot (for Report). chart: Chart ID for screenshot (for Report). database: Database connection ID (for Alert — SQL condition). sql: SQL query for condition check (for Alert). The alert triggers when the query returns a non-empty result. recipients: JSON string with recipient list. Format: [{"type": "Email", "recipient_config_json": {"target": "user@example.com"}}] active: Whether active (default True).

Inputs: name (required), crontab (required), sql, chart, +5 more. Returns: result

superset_report_deleteA

Delete a report/alert. The delivery schedule will be stopped.

Args: report_id: Report ID to delete. confirm_delete: Deletion confirmation (REQUIRED).

Inputs: report_id (required), confirm_delete. Returns: result

superset_report_getA

Get detailed information about a report/alert by ID.

IMPORTANT: if the ID is unknown, call superset_report_list first.

Args: report_id: Report ID (integer from report_list result).

Inputs: report_id (required). Returns: result

superset_report_listA

List Superset reports and alerts.

Reports send periodic screenshots of dashboards/charts. Alerts send notifications when a SQL condition is met.

Args: page: Page number (starting from 0). page_size: Number of records per page (max 100). q: RISON filter for search. Examples: - By name: (filters:!((col:name,opr:ct,value:search_term))) - By type: (filters:!((col:type,opr:eq,value:Report))) - Active only: (filters:!((col:active,opr:eq,value:!t))) get_all: Fetch ALL records with automatic pagination (ignores page/page_size).

Inputs: q, page, get_all, page_size. Returns: result

superset_report_updateA

Update a report/alert. Pass only the fields to change.

Args: report_id: Report ID to update. name: New name. crontab: New cron schedule (e.g. "0 9 * * *"). active: Enable/disable the report. recipients: JSON string with new recipient list (REPLACES all current recipients).

Inputs: report_id (required), name, active, crontab, +1 more. Returns: result

superset_rls_createA

Create a Row Level Security rule.

RLS automatically adds a WHERE clause to queries for users with the specified roles accessing the specified datasets.

Args: name: Rule name. clause: SQL WHERE condition without the WHERE keyword. Examples: - "region = 'Moscow'" - "user_id = {{ current_user_id() }}" - "status IN ('active', 'pending')" tables: List of dataset IDs the rule applies to (from dataset_list). roles: List of role IDs the rule applies to (from role_list). filter_type: Filter type: - "Regular" (default) — additional restriction for the specified roles - "Base" — base filter applied to all users group_key: Rule grouping key (optional). description: Rule description (optional).

Inputs: name (required), roles (required), clause (required), tables (required), +3 more. Returns: result

superset_rls_deleteA

Delete an RLS rule. Restrictions for associated roles will be lifted.

CRITICAL: deleting a deny-by-default rule (clause='1=0') will immediately expose ALL data to users with those roles.

Args: rls_id: ID of the RLS rule to delete. confirm_delete: Deletion confirmation (REQUIRED).

Inputs: rls_id (required), confirm_delete. Returns: result

superset_rls_getA

Get detailed information about an RLS rule by ID.

Args: rls_id: RLS rule ID (from rls_list).

Inputs: rls_id (required). Returns: result

superset_rls_listA

Get the list of Row Level Security rules.

RLS adds a WHERE clause to queries for specific roles.

Args: page: Page number (starting from 0). page_size: Number of records per page (max 100). q: RISON filter for searching. get_all: Fetch ALL records with automatic pagination (ignores page/page_size).

Inputs: q, page, get_all, page_size. Returns: result

superset_rls_updateA

Update an RLS rule.

CRITICAL: Superset PUT API REPLACES the roles and tables fields entirely. If you pass only roles without tables, Superset will WIPE tables with an empty list (and vice versa). Therefore, this tool REQUIRES passing roles and tables simultaneously if either one is specified.

For safe updates:

  1. First get the current rule via rls_list

  2. Pass BOTH roles AND tables (even if you only change one)

Args: rls_id: ID of the RLS rule to update. name: New name. filter_type: New type: "Regular" or "Base". clause: New SQL WHERE condition (without the WHERE keyword). tables: List of dataset IDs (REPLACES all current). REQUIRED if roles is specified. roles: List of role IDs (REPLACES all current). REQUIRED if tables is specified. group_key: New grouping key. description: New description.

Inputs: rls_id (required), name, roles, clause, +4 more. Returns: result

superset_role_copy_permissionsA

Copy all permissions from one role to another (full replacement).

Args: source_role_id: Role to copy permissions FROM. target_role_id: Role to copy permissions TO (existing permissions will be REPLACED). confirm: True to apply. False for dry-run.

Inputs: source_role_id (required), target_role_id (required), confirm. Returns: result

superset_role_createA

Create a new role (without permissions). Permissions are added via role_permission_add.

Args: name: Role name (must be unique).

Inputs: name (required). Returns: result

superset_role_deleteA

Delete a role. Users with this role will lose the associated permissions.

BLOCKED for system roles: Admin, Alpha, Gamma, Public, sql_lab, no_access, la_report_*, la_region_*, la_developer.

Args: role_id: ID of the role to delete. confirm_delete: Deletion confirmation (REQUIRED).

Inputs: role_id (required), confirm_delete. Returns: result

superset_role_getA

Get role information by ID.

IMPORTANT: if the ID is unknown, call superset_role_list first.

Args: role_id: Role ID (integer from role_list result).

Inputs: role_id (required). Returns: result

superset_role_listA

Get the list of Superset roles.

Standard roles: Admin, Alpha, Gamma, sql_lab, Public.

Args: page: Page number (starting from 0). page_size: Number of records per page (max 100). q: RISON filter for searching. Examples: - By name: (filters:!((col:name,opr:ct,value:admin))) get_all: Fetch ALL records with automatic pagination (ignores page/page_size).

Inputs: q, page, get_all, page_size. Returns: result

superset_role_permission_addA

Set the permissions list for a role (FULL REPLACEMENT).

WARNING: this endpoint REPLACES ALL role permissions with the provided list! To ADD a single permission:

  1. Call superset_role_permissions_get to get current permission IDs

  2. Add the new ID to the list

  3. Pass the FULL list to this tool with confirm_full_replace=True

Args: role_id: Role ID. permission_view_menu_ids: FULL list of permission IDs for the role. Permission IDs can be obtained via superset_permission_list. confirm_full_replace: Confirmation for full permission replacement (REQUIRED).

Inputs: role_id (required), permission_view_menu_ids (required), confirm_full_replace. Returns: result

superset_role_permissions_getA

Get the current list of permissions for a role.

IMPORTANT: call this BEFORE role_permission_add to avoid losing existing permissions.

Args: role_id: Role ID.

Inputs: role_id (required). Returns: result

superset_role_updateC

Rename a role.

Args: role_id: ID of the role to rename. name: New role name.

Inputs: name (required), role_id (required). Returns: result

superset_saved_query_createA

Create a saved SQL query for reuse.

Args: label: Query name (displayed in the list). db_id: Database connection ID (from superset_database_list). sql: SQL query to save. schema: Default schema (e.g. "public"). description: Query description.

Inputs: sql (required), db_id (required), label (required), schema, +1 more. Returns: result

superset_saved_query_deleteA

Delete a saved query.

Args: saved_query_id: Saved query ID to delete. confirm_delete: Deletion confirmation (REQUIRED).

Inputs: saved_query_id (required), confirm_delete. Returns: result

superset_saved_query_getA

Retrieve a saved query by ID: SQL text, schema, description.

Args: saved_query_id: Saved query ID (from saved_query_list).

Inputs: saved_query_id (required). Returns: result

superset_saved_query_listA

Retrieve a list of saved SQL queries.

Args: page: Page number (starting from 0). page_size: Number of records per page (max 100). q: RISON filter for search. Examples: - By label: (filters:!((col:label,opr:ct,value:search_term))) - By database: (filters:!((col:database,opr:rel_o_m,value:1))) get_all: Retrieve ALL records with automatic pagination (ignores page/page_size).

Inputs: q, page, get_all, page_size. Returns: result

superset_saved_query_updateA

Update a saved query. Pass only the fields to change.

Args: saved_query_id: Saved query ID. label: New name. sql: New SQL query. schema: New default schema. description: New description.

Inputs: saved_query_id (required), sql, label, schema, +1 more. Returns: result

superset_sqllab_estimate_costA

Estimate the cost of executing a SQL query (EXPLAIN).

Not all database engines support this feature. PostgreSQL does.

Args: database_id: Database connection ID. sql: SQL query to estimate. schema: Schema for context (e.g. "public").

Inputs: sql (required), database_id (required), schema. Returns: result

superset_sqllab_executeA

Execute a SQL query via SQL Lab and return the result.

IMPORTANT: before executing, make sure the SQL query is correct. Use superset_database_table_metadata or superset_database_tables to find actual table and column names. Maximum 1000 rows in the result (queryLimit).

Args: database_id: Database connection ID (from superset_database_list). sql: SQL query to execute. Examples: - SELECT * FROM public.my_table LIMIT 10 - SELECT count(*) FROM source.stat schema: Default schema for the query (e.g. "public", "source"). If not specified, the database default schema is used. catalog: Database catalog (for databases with catalog support, optional). tab_name: Tab name in SQL Lab UI (optional, for organization). template_params: JSON string with Jinja template parameters (optional). Example: '{"start_date": "2024-01-01"}'

Inputs: sql (required), database_id (required), schema, catalog, +2 more. Returns: result

superset_sqllab_export_csvA

Export query results to CSV format.

IMPORTANT: requires a configured Results Backend (Redis/S3) in Superset.

Args: client_id: Query client_id (from the superset_sqllab_execute result).

Inputs: client_id (required). Returns: result

superset_sqllab_format_sqlA

Format a SQL query (pretty print with indentation).

Args: sql: SQL query to format.

Inputs: sql (required). Returns: result

superset_sqllab_resultsA

Retrieve results of a previously executed query by key.

IMPORTANT: requires a configured Results Backend (Redis/S3) in Superset. Without it, returns 500. The key is taken from the results_key field of sqllab_execute response.

Args: results_key: Results key from the superset_sqllab_execute response.

Inputs: results_key (required). Returns: result

superset_tag_bulk_createA

Bulk-create tags with object attachments.

Allows creating multiple tags and attaching them to objects in a single request.

Args: tags: JSON string with a list of tags. Format: [ {"name": "production", "objects_to_tag": [["dashboard", 1], ["chart", 5]]}, {"name": "analytics", "objects_to_tag": [["dataset", 3]]} ] objects_to_tag: pairs of [object_type, object_id]. Allowed types: "dashboard", "chart", "dataset", "saved_query".

Inputs: tags (required). Returns: result

superset_tag_createA

Create a new tag and optionally attach it to Superset objects.

IMPORTANT: Superset API returns {} on creation (without tag ID). To get the new tag's ID, call superset_tag_list after creation.

Object attachment is only possible during creation via objects_to_tag. Direct attachment endpoints (POST/DELETE /api/v1/tag/{type}/{id}/) do not work in 6.0.1.

Args: name: Tag name. description: Tag description (optional). objects_to_tag: JSON string with a list of objects to tag. Format: [["dashboard", 1], ["chart", 5], ["dataset", 3], ["saved_query", 2]] Each element is a pair [object_type, object_id]. Allowed types: "dashboard", "chart", "dataset", "saved_query".

Inputs: name (required), description, objects_to_tag. Returns: result

superset_tag_deleteA

Delete a tag. All object attachments will be removed.

Args: tag_id: Tag ID to delete. confirm_delete: Deletion confirmation (REQUIRED).

Inputs: tag_id (required), confirm_delete. Returns: result

superset_tag_getA

Get tag information by ID.

IMPORTANT: if the ID is unknown, call superset_tag_list first.

Args: tag_id: Tag ID (integer from tag_list result).

Inputs: tag_id (required). Returns: result

superset_tag_get_objectsA

Get objects tagged with the specified tags.

Returns dashboards, charts, datasets, and queries with the specified tags.

Args: tags: Comma-separated tag names (e.g. "analytics,production"). If not specified, returns all tagged objects. page: Page number (starting from 0). page_size: Number of records per page (max 100). get_all: Fetch ALL records with automatic pagination (ignores page/page_size).

Inputs: page, tags, get_all, page_size. Returns: result

superset_tag_listA

List Superset tags.

Tags are used to group and organize dashboards, charts, and datasets. IMPORTANT: always call before tag_get/tag_update to find current IDs. When creating a tag, the API returns {} without an ID — use tag_list to get the ID.

Args: page: Page number (starting from 0). page_size: Number of records per page (max 100). q: RISON filter for search. Examples: - By name: (filters:!((col:name,opr:ct,value:search_term))) get_all: Fetch ALL records with automatic pagination (ignores page/page_size).

Inputs: q, page, get_all, page_size. Returns: result

superset_tag_updateA

Update a tag (rename or change description).

IMPORTANT: the name field is REQUIRED in Superset 6.0.1 — even if the name is not changing, it must be provided. Without it, Superset returns 500.

Args: tag_id: Tag ID to update. name: Tag name (REQUIRED, even if unchanged). description: New description (optional).

Inputs: name (required), tag_id (required), description. Returns: result

superset_user_createA

Create a new Superset user.

Args: first_name: User's first name. last_name: User's last name. username: Login name (must be unique). email: Email address (must be unique). password: Password. roles: List of role IDs to assign (from superset_role_list). If not specified, the default role (Public) will be assigned. active: Whether the account is active (defaults to True).

Inputs: email (required), password (required), username (required), last_name (required), +3 more. Returns: result

superset_user_deleteA

Delete a Superset user. This operation is irreversible.

CRITICAL: deleting the current service account (mcp_service) will lock out the entire MCP server. Deleting dashboard owners may change access to those dashboards.

Args: user_id: ID of the user to delete. confirm_delete: Deletion confirmation (REQUIRED).

Inputs: user_id (required), confirm_delete. Returns: result

superset_user_getA

Get detailed information about a user by ID.

IMPORTANT: if the ID is unknown, call superset_user_list first.

Args: user_id: User ID (integer from user_list result).

Inputs: user_id (required). Returns: result

superset_user_listA

Get the list of Superset users.

Args: page: Page number (starting from 0). page_size: Number of records per page (max 100). q: RISON filter for searching. Examples: - By username: (filters:!((col:username,opr:ct,value:admin))) - Active only: (filters:!((col:active,opr:eq,value:!t))) - By role: (filters:!((col:roles,opr:rel_m_m,value:1))) get_all: Fetch ALL records with automatic pagination (ignores page/page_size).

Inputs: q, page, get_all, page_size. Returns: result

superset_user_updateA

Update a user. Only pass the fields you want to change.

IMPORTANT: roles REPLACES the entire role list (does not append). To add a single role: get the current roles via user_get, add the new ID to the list, then pass the full list.

Args: user_id: ID of the user to update. first_name: New first name. last_name: New last name. email: New email (must be unique). roles: New list of role IDs (REPLACES all current roles). active: Activate/deactivate the account. confirm_roles_replace: Confirmation for role replacement (REQUIRED when passing roles).

Inputs: user_id (required), email, roles, active, +3 more. Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 137 tools

    Disambiguation4/5

    The tools mostly have clear, distinct purposes (e.g., dashboard_list vs chart_list vs dataset_list). A few pairs could be confused, such as superset_sqllab_export_csv vs superset_sqllab_results or superset_chart_data vs superset_chart_get_data, but detailed descriptions mitigate ambiguity. Overall, each tool targets a specific object or action, though the sheer quantity makes selection challenging.

    Naming Consistency5/5

    Every tool follows the consistent pattern `superset_<object>_<action>` (e.g., dashboard_create, chart_update, dataset_delete). Exceptions like superset_get_menu or superset_get_current_user still use a verb-oriented convention. No mixed casing or inconsistent verb styles; the prefix `superset_` unifies the entire set.

    Tool Count1/5

    With 137 tools, this is far beyond the typical well-scoped server and exceeds even the 50+ threshold for an extreme mismatch. While Superset is a complex platform, exposing this many tools burdens the agent with excessive choice and likely includes many rarely-used operations. The count is inappropriate for efficient discovery and selection.

    Completeness5/5

    The tool surface covers comprehensive CRUD and lifecycle operations for all major Superset entities: dashboards, charts, databases, datasets, users, roles, RLS rules, tags, reports, annotations, and groups. It also includes import/export, bulk operations, permissions auditing, and SQL lab utilities. No obvious gaps prevent common workflows; the set is remarkably thorough.

    Maintenance

    ActivityStale
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      MCP server enabling AI agents to programmatically connect to and control Apache Superset instances, allowing users to manage dashboards, charts, databases, datasets, and run SQL queries through natural language interactions.
      60
      195
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server for Apache Superset that enables AI models to manage dashboards, create charts with auto-detection, and execute SQL queries programmatically. It utilizes stateless HTTP transport to ensure compatibility with integration tools like Open WebUI.
      MIT
    • F
      license
      B
      quality
      D
      maintenance
      An MCP server that provides AI assistants with full access to Apache Superset instances, enabling interaction with dashboards, charts, datasets, databases, and SQL execution capabilities.
      34
      -