MCP Hub
Back to servers

superset-mcp

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.

glama
Updated
Apr 14, 2026

superset-mcp

MCP (Model Context Protocol) server for Apache Superset. Gives AI assistants full access to your Superset instance — dashboards, charts, datasets, databases, and SQL execution.

Prerequisites

  • uv — Python package manager
  • Access to a running Apache Superset instance

Setup (takes ~1 minute)

1. Clone the repo

git clone <repo-url>
cd superset-mcp

2. Configure credentials

cp .env.example .env

Edit .env:

SUPERSET_URL=http://your-superset-host:8088
SUPERSET_USERNAME=your-username
SUPERSET_PASSWORD=your-password

3. Test it works

uv run superset-mcp

You should see the MCP server start without errors. Press Ctrl+C to stop.


Connect to your AI client

Replace /ABSOLUTE/PATH/TO/superset-mcp with the actual path where you cloned the repo.

Claude Code

Add to ~/.claude/settings.json (or project-level .claude/settings.json):

{
  "mcpServers": {
    "superset": {
      "command": "uv",
      "args": ["--directory", "/ABSOLUTE/PATH/TO/superset-mcp", "run", "superset-mcp"],
      "env": {
        "SUPERSET_URL": "http://your-superset-host:8088",
        "SUPERSET_USERNAME": "your-username",
        "SUPERSET_PASSWORD": "your-password"
      }
    }
  }
}

Or run in terminal:

claude mcp add superset -- uv --directory /ABSOLUTE/PATH/TO/superset-mcp run superset-mcp

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "superset": {
      "command": "uv",
      "args": ["--directory", "/ABSOLUTE/PATH/TO/superset-mcp", "run", "superset-mcp"],
      "env": {
        "SUPERSET_URL": "http://your-superset-host:8088",
        "SUPERSET_USERNAME": "your-username",
        "SUPERSET_PASSWORD": "your-password"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project or ~/.cursor/mcp.json globally:

{
  "mcpServers": {
    "superset": {
      "command": "uv",
      "args": ["--directory", "/ABSOLUTE/PATH/TO/superset-mcp", "run", "superset-mcp"],
      "env": {
        "SUPERSET_URL": "http://your-superset-host:8088",
        "SUPERSET_USERNAME": "your-username",
        "SUPERSET_PASSWORD": "your-password"
      }
    }
  }
}

Available Tools

Dashboards

ToolDescription
list_dashboardsList all dashboards (with optional search)
get_dashboardGet a dashboard by ID or slug
get_dashboard_chartsGet all charts in a dashboard
get_dashboard_datasetsGet all datasets used by a dashboard
create_dashboardCreate a new dashboard
update_dashboardUpdate title, layout, metadata
publish_dashboardPublish a draft dashboard
copy_dashboardDuplicate a dashboard
delete_dashboardDelete a dashboard

Charts

ToolDescription
list_chartsList all charts (with optional search)
get_chartGet a chart by ID or UUID
get_chart_dataFetch the latest data for a chart
create_chartCreate a new chart
update_chartUpdate chart properties
delete_chartDelete a chart

Datasets

ToolDescription
list_datasetsList all datasets
get_datasetGet a dataset by ID or UUID
create_datasetCreate from a table or SQL query
get_or_create_datasetGet existing or create new
refresh_datasetSync columns from source table
update_datasetUpdate dataset properties
get_dataset_related_objectsSee which charts/dashboards use it
delete_datasetDelete a dataset

Databases

ToolDescription
list_databasesList all database connections
get_databaseGet a database connection by ID
list_schemasList schemas in a database
list_tablesList tables in a schema
get_table_metadataGet column info for a table
get_select_starGet a SELECT * template for a table

SQL

ToolDescription
execute_sqlRun a SQL query and get results
format_sqlPretty-print a SQL query
estimate_query_costEstimate query cost (if supported)
list_saved_queriesList saved SQL queries
save_querySave a SQL query

Example prompts

Once connected to your AI assistant:

  • "List all published dashboards"
  • "Create a new dashboard called 'Sales Overview'"
  • "Show me all charts in dashboard 11"
  • "Run a SQL query on database 2: SELECT count() FROM orders"*
  • "What datasets are used by the 'Revenue' dashboard?"
  • "Create a bar chart using dataset 5 showing sales by region"

Reviews

No reviews yet

Sign in to write a review