superset-mcp
Provides tools for managing Apache Superset datasets, metrics, calculated columns, charts, dashboards, and SQL queries, enabling full CRUD operations and configuration.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@superset-mcplist all datasets in the sales database"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Superset MCP Server
A Model Context Protocol (MCP) server for managing Apache Superset datasets, metrics, and SQL queries.
π δΈζζζ‘£
π Features
Dataset Management: Full CRUD operations for Superset datasets
Metrics Management: Create, update, and manage dataset metrics
Calculated Columns: Create and manage calculated columns for datasets
Chart Management: View and modify chart visualization parameters and filters
Dashboard Operations: Access dashboard information, charts, and filters
SQL Query Execution: Execute SQL queries directly through Superset
Database Integration: List and manage database connections
Resource Access: Browse datasets, databases, and metrics through MCP resources
Related MCP server: SQL MCP Server
π Prerequisites
Node.js 18+
Access to an Apache Superset instance
Valid Superset credentials (username/password or access token)
π οΈ Installation
Using with Cursor or Claude Desktop
1. Add to MCP Configuration
Add the following configuration to your MCP settings file:
{
"mcpServers": {
"superset-mcp": {
"command": "npx",
"args": [
"-y",
"superset-mcp"
],
"env": {
"SUPERSET_BASE_URL": "",
"SUPERSET_USERNAME": "",
"SUPERSET_PASSWORD": ""
}
}
}
}2. Environment Variables
Configure your Superset connection by updating the env section in the MCP configuration:
"env": {
"SUPERSET_BASE_URL": "your-superset-url",
"SUPERSET_USERNAME": "your_username",
"SUPERSET_PASSWORD": "your_password",
}Alternative: Using Access Token
"env": {
"SUPERSET_BASE_URL": "your-superset-url",
"SUPERSET_ACCESS_TOKEN": "your_access_token"
}π§ Available Tools
Dataset Operations
Tool | Description |
| Get paginated list of all datasets with filtering and sorting |
| Get detailed information for a specific dataset |
| Create a new dataset (physical or virtual with SQL) |
| Update existing dataset properties |
| Delete a dataset |
| Refresh dataset schema from source database |
| Find and replace text in virtual dataset SQL |
Metrics Operations
Tool | Description |
| Get all metrics for a dataset |
| Create a new metric with SQL expression |
| Update existing metric properties |
| Delete a metric |
Calculated Columns Operations
Tool | Description |
| Get column information (including calculated columns) |
| Create a new calculated column with SQL expression |
| Update existing calculated column |
| Delete a calculated column |
Chart Operations
Tool | Description |
| Get paginated list of all charts with filtering and sorting |
| Create a new chart; for most viz types you should first call |
| Get required parameters format for chart visualization types |
| Get current chart configuration details (viz params, relationships, ownership, query context) |
| Update chart properties including metadata, datasource, and visualization parameters |
| Get current data filters applied to a chart |
| Set data filters for a chart (permanently updates the chart) |
Dashboard Operations
Tool | Description |
| Get paginated list of all dashboards with filtering and sorting |
| Get all charts in a specific dashboard with their information |
| Get dashboard's filter configuration (native filters, global filters) |
| Get complete query context for a chart in dashboard (dataset ID, used metrics with SQL expressions, calculated columns, applied filters) |
| Get dashboard details and embedded configuration |
| Update dashboard properties and/or embedded configuration |
| Add an existing chart to a dashboard and place it in the layout |
| Remove a chart from a dashboard and clean up its layout |
SQL Operations
Tool | Description |
| Execute SQL queries with result limiting and data display |
Database Operations
Tool | Description |
| Get all configured database connections |
π Resources
Access read-only overviews through MCP resources:
superset://datasets- Overview of all datasetssuperset://databases- List of database connections
Prompt examples
Use these natural prompts with your MCP-enabled assistant; it will pick the right tools and arguments.
List datasets
"Show the first 10 datasets, most recently changed first. Only include id and table_name."
Create a chart
"Create a simple table chart called 'Sample Table' using dataset 12."
Update a chart
"Change chart 42 to a bar chart grouped by country and using SUM(value)."
Dashboard query context
"On the 'sales-kpi' dashboard, show the full query context for chart 101."
Run SQL
"On database 3, fetch the 10 most recently created users, returning only id and name."
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Winding2020/superset-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server