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.
README
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
| Tool | Description |
|---|---|
list_dashboards |
List all dashboards (with optional search) |
get_dashboard |
Get a dashboard by ID or slug |
get_dashboard_charts |
Get all charts in a dashboard |
get_dashboard_datasets |
Get all datasets used by a dashboard |
create_dashboard |
Create a new dashboard |
update_dashboard |
Update title, layout, metadata |
publish_dashboard |
Publish a draft dashboard |
copy_dashboard |
Duplicate a dashboard |
delete_dashboard |
Delete a dashboard |
Charts
| Tool | Description |
|---|---|
list_charts |
List all charts (with optional search) |
get_chart |
Get a chart by ID or UUID |
get_chart_data |
Fetch the latest data for a chart |
create_chart |
Create a new chart |
update_chart |
Update chart properties |
delete_chart |
Delete a chart |
Datasets
| Tool | Description |
|---|---|
list_datasets |
List all datasets |
get_dataset |
Get a dataset by ID or UUID |
create_dataset |
Create from a table or SQL query |
get_or_create_dataset |
Get existing or create new |
refresh_dataset |
Sync columns from source table |
update_dataset |
Update dataset properties |
get_dataset_related_objects |
See which charts/dashboards use it |
delete_dataset |
Delete a dataset |
Databases
| Tool | Description |
|---|---|
list_databases |
List all database connections |
get_database |
Get a database connection by ID |
list_schemas |
List schemas in a database |
list_tables |
List tables in a schema |
get_table_metadata |
Get column info for a table |
get_select_star |
Get a SELECT * template for a table |
SQL
| Tool | Description |
|---|---|
execute_sql |
Run a SQL query and get results |
format_sql |
Pretty-print a SQL query |
estimate_query_cost |
Estimate query cost (if supported) |
list_saved_queries |
List saved SQL queries |
save_query |
Save 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"
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.