Superset

Databases

Connect to 50+ data stores via superset mcp server. Can use with open ai agent sdk, Claude app, cursor, windsurf.

Your AI app calls the Superset MCP server, which does the work through tools like superset_dashboard_list, superset_dashboard_create, superset_dashboard_update and superset_dashboard_delete and sends the result back to the chat.

About Superset

Superset is a community MCP server from aptro, filed in our directory under databases. Connect to 50+ data stores via superset mcp server. Can use with open ai agent sdk, Claude app, cursor, windsurf.

Superset runs on your own machine: your AI app starts it with the command npx -y @smithery/cli and talks to it over standard input and output.

The README for Superset lists tools such as superset_auth_check_token_validity, superset_auth_refresh_token, superset_auth_authenticate_user and superset_dashboard_list, which your AI app can call once the server is connected.

At a glance

Publisher
aptro (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @smithery/cli
Written in
Python
License
MIT
GitHub stars
195

Tools Superset gives your AI app

  • superset_auth_check_token_validityCheck if the current access token is valid.
  • superset_auth_refresh_tokenRefresh the access token.
  • superset_auth_authenticate_userAuthenticate with Superset.
  • superset_dashboard_listList all dashboards.
  • superset_dashboard_get_by_idGet a specific dashboard.
  • superset_dashboard_createCreate a new dashboard.
  • superset_dashboard_updateUpdate an existing dashboard.
  • superset_dashboard_deleteDelete a dashboard.
  • superset_chart_listList all charts.
  • superset_chart_get_by_idGet a specific chart.
  • superset_chart_createCreate a new chart.
  • superset_chart_updateUpdate an existing chart.
  • superset_chart_deleteDelete a chart.
  • superset_database_listList all databases.
  • superset_database_get_by_idGet a specific database.
  • superset_database_createCreate a new database connection.
  • superset_database_get_tablesList tables in a database.
  • superset_database_schemasGet schemas for a database.
  • superset_database_test_connectionTest a database connection.
  • superset_database_updateUpdate an existing database connection.
  • superset_database_deleteDelete a database connection.
  • superset_database_get_catalogsGet catalogs for a database.
  • superset_database_get_connectionGet database connection information.
  • superset_database_get_function_namesGet function names supported by a database.

Tool names as the Superset README lists them. Your AI app shows the live list once Superset is connected.

How to set up Superset

  1. Install Node.js on the machine that runs your AI app, because Superset starts with npx and downloads its package on first run.
  2. Check the Superset README for keys or settings; the registry lists none that Superset requires.
  3. Add Superset to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Superset tools to confirm the connection.
  5. Run one read-only task with Superset first, such as a call to superset_auth_check_token_validity, before you allow anything that writes or sends.

Superset compared with similar servers

  • Salt Md by saltmd has fewer GitHub stars than Superset (190 against 195); both are community servers, and both run locally.
  • Supabase (coleam00) by coleam00 has more GitHub stars than Superset (197 against 195); both are community servers, and both run locally.
  • Argon by argon-lab has fewer GitHub stars than Superset (181 against 195); both are community servers, and both run locally.

Before you connect Superset

  • Give Superset its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Superset tool call until you trust what it does with them.
  • Treat text that Superset fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Superset on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Superset

How marketing and sales teams put Superset to work, by company size. Pick the size closest to yours and start Superset on one use case.

Small business

  • A small business with its own app can ask Superset plain questions about customers and orders, without writing SQL.
  • Owners can use Superset to pull a list of customers who haven't bought in 90 days and plan a win-back email.
  • Superset runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing analysts can connect Superset to answer campaign questions from the warehouse directly, instead of waiting on the data team's queue.
  • Lifecycle teams can use Superset to build audience lists from product data and check counts before a send.
  • Start with superset_auth_check_token_validity and superset_auth_refresh_token, the tools Superset lists first, and add more once the team trusts the results.

Enterprise

  • Enterprises should point Superset at a read replica with a read-only role, so agents query freely without risk to production data.
  • Data teams can expose curated views through Superset, so marketing gets self-serve answers without access to raw customer tables.
  • Superset is a community server, so have security review the code and pin a version before Superset touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Superset README

From aptro/superset-mcp on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Superset MCP Integration

MCP server for interacting with Apache Superset, enabling AI agents to connect to and control a Superset instance programmatically.

Setup Instructions

Installing via Smithery

To install Superset Integration for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @aptro/superset-mcp --client claude
Manual Installation
  1. Set Up Superset Locally

    Run this script to start Superset locally:

    git clone --branch 4.1.1 --depth 1 https://github.com/apache/superset && \
    cd superset && \
    docker compose -f docker-compose-image-tag.yml up
    

    Once Superset is running, you should be able to access it at http://localhost:8088 with default credentials:

    • Username: admin
    • Password: admin
  2. Clone This Repository

    Clone this repository to your local machine.

  3. Configure Environment Variables

    Create a .env file in the root directory with your Superset credentials:

    SUPERSET_BASE_URL=http://localhost:8088  # Change to your Superset URL
    SUPERSET_USERNAME=your_username
    SUPERSET_PASSWORD=your_password
    
  4. Install Dependencies

    uv pip install .
    
  5. Install MCP Config for Claude

    To use with Claude Desktop app:

    mcp install main.py
    

Usage with Claude

After setup, you can interact with your Superset instance via Claude using natural language requests. Here are some examples:

Dashboard Management
  • View dashboards: "Show me all my Superset dashboards"
  • Get dashboard details: "Show me the details of dashboard with ID 5"
  • Create dashboard: "Create a new dashboard titled 'Sales Overview'"
  • Update dashboard: "Update dashboard 3 to have the title 'Updated Sales Report'"
  • Delete dashboard: "Delete dashboard with ID 7"
Chart Management
  • List all charts: "What charts do I have in my Superset instance?"
  • View chart details: "Show me the details of chart with ID 10"
  • Create chart: "Create a new bar chart using dataset 3"
  • Update chart: "Update chart 5 to use a line visualization instead of bar"
  • Delete chart: "Delete chart with ID 12"
Database and Dataset Operations
  • List databases: "Show me all databases connected to Superset"
  • List datasets: "What datasets are available in my Superset instance?"
  • Get database tables: "What tables are available in database with ID 1?"
  • Execute SQL: "Run this SQL query on database 1: SELECT * FROM users LIMIT 10"
  • Create dataset: "Create a new dataset from table 'customers' in database 2"
  • Update database: "Update the connection settings for database 3"
  • Delete database: "Delete database connection with ID 4"
  • Validate SQL: "Is this SQL valid for database 2: SELECT * FROM customers JOIN orders"
  • Get database catalogs: "Show me the catalogs available in database 1"
  • Get database functions: "What functions are available in database 2?"
  • Check related objects: "What dashboards and charts use database 1?"
SQL Lab Features
  • Execute queries: "Run this SQL query: SELECT COUNT(*) FROM orders"
  • Format SQL: "Format this SQL query: SELECT id,name,age FROM users WHERE age>21"
  • Estimate query cost: "Estimate the cost of this query: SELECT * FROM large_table"
  • Get saved queries: "Show me all my saved SQL queries"
  • Get query results: "Get the results of query with key 'abc123'"
User and System Information
  • View user info: "Who am I logged in as?"
  • Get user roles: "What roles do I have in Superset?"
  • View recent activity: "Show me recent activity in my Superset instance"
  • Get menu data: "What menu items do I have access to?"
  • Get base URL: "What is the URL of the Superset instance I'm connected to?"
Tag Management
  • List tags: "Show me all tags in my Superset instance"
  • Create tag: "Create a new tag called 'Finance'"
  • Delete tag: "Delete the tag with ID 5"
  • Tag an object: "Add the tag 'Finance' to dashboard 3"
  • Remove tag: "Remove the tag 'Finance' from chart 7"

Available MCP Tools

This plugin offers the following MCP tools that Claude can use:

Authentication
  • superset_auth_check_token_validity - Check if the current access token is valid
  • superset_auth_refresh_token - Refresh the access token
  • superset_auth_authenticate_user - Authenticate with Superset
Dashboards
  • superset_dashboard_list - List all dashboards
  • superset_dashboard_get_by_id - Get a specific dashboard
  • superset_dashboard_create - Create a new dashboard
  • superset_dashboard_update - Update an existing dashboard
  • superset_dashboard_delete - Delete a dashboard
Charts
  • superset_chart_list - List all charts
  • superset_chart_get_by_id - Get a specific chart
  • superset_chart_create - Create a new chart
  • superset_chart_update - Update an existing chart
  • superset_chart_delete - Delete a chart
Databases
  • superset_database_list - List all databases
  • superset_database_get_by_id - Get a specific database
  • superset_database_create - Create a new database connection
  • superset_database_get_tables - List tables in a database
  • superset_database_schemas - Get schemas for a database
  • superset_database_test_connection - Test a database connection
  • superset_database_update - Update an existing database connection
  • superset_database_delete - Delete a database connection
  • superset_database_get_catalogs - Get catalogs for a database
  • superset_database_get_connection - Get database connection information
  • superset_database_get_function_names - Get function names supported by a database
  • superset_database_get_related_objects - Get charts and dashboards associated with a database
  • superset_database_validate_sql - Validate arbitrary SQL against a database
  • superset_database_validate_parameters - Validate database connection parameters
Datasets
  • superset_dataset_list - List all datasets
  • superset_dataset_get_by_id - Get a specific dataset
  • superset_dataset_create - Create a new dataset
SQL Lab
  • superset_sqllab_execute_query - Execute a SQL query
  • superset_sqllab_get_saved_queries - List saved SQL queries
  • superset_sqllab_format_sql - Format a SQL query
  • superset_sqllab_get_results - Get query results
  • superset_sqllab_estimate_query_cost - Estimate query cost
  • superset_sqllab_export_query_results - Export query results to CSV
  • superset_sqllab_get_bootstrap_data - Get SQL Lab bootstrap data
Queries
  • superset_query_list - List all queries
  • superset_query_get_by_id - Get a specific query
  • superset_query_stop - Stop a running query
Saved Queries
  • superset_saved_query_get_by_id - Get a specific saved query
  • superset_saved_query_create - Create a new saved query
User Information
  • superset_user_get_current - Get current user info
  • superset_user_get_roles - Get user roles
Activity
  • superset_activity_get_recent - Get recent activity data
System
  • superset_menu_get - Get menu data
  • superset_config_get_base_url - Get the base URL of the Superset instance
Tags
  • superset_tag_list - List all tags
  • superset_tag_create - Create a new tag
  • superset_tag_get_by_id - Get a specific tag
  • superset_tag_objects - Get objects associated with tags
  • superset_tag_delete - Delete a tag
  • superset_tag_object_add - Add a tag to an object
  • superset_tag_object_remove - Remove a tag from an object
Exploration Tools
  • superset_explore_form_data_create - Create form data for chart exploration
  • superset_explore_form_data_get - Get form data for chart exploration
  • superset_explore_permalink_create - Create a permalink for chart exploration
  • superset_explore_permalink_get - Get a permalink for chart exploration
Advanced Data Types
  • superset_advanced_data_type_convert - Convert a value to an advanced data type
  • superset_advanced_data_type_list - List available advanced data types

Environment Variables

Variable Description Default
SUPERSET_BASE_URL URL of your Superset instance http://localhost:8088
SUPERSET_USERNAME Username for Superset None
SUPERSET_PASSWORD Password for Superset None

Troubleshooting

  • If you encounter authentication issues, verify your credentials in the .env file
  • Make sure Superset is running and accessible at the URL specified in your .env file
  • Check that you're using a compatible version of Superset (tested with version 4.1.1)
  • Ensure the port used by the MCP server is not being used by another application

Security Notes

  • Your Superset credentials are stored only in your local .env file
  • The access token is stored in .superset_token file in the project directory
  • All authentication happens directly between the MCP server and your Superset instance
  • No credentials are transmitted to Claude or any third parties
  • For production use, consider using more secure authentication methods

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT

Questions about Superset

What is the Superset MCP server?

Connect to 50+ data stores via superset mcp server. Can use with open ai agent sdk, Claude app, cursor, windsurf. Superset is maintained by aptro on GitHub at aptro/superset-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Superset MCP server?

Add Superset to your AI app's MCP config with the command npx -y @smithery/cli. In Claude Code, run claude mcp add --transport stdio superset -- npx -y @smithery/cli. To run Superset this way you need Node.js installed.

Does Superset need an API key?

The registry lists no required keys for Superset. Check the Superset README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Superset an official MCP server?

No. Superset is a community server maintained by aptro. Community servers can be excellent; read the code and the open issues before you give Superset access to company data.

What license is Superset under?

Superset is released under the MIT license, according to its GitHub repository. The license covers the code of Superset; the service it connects to has its own terms.