You signed in with another tab or window. Reload
to refresh your session. You signed out in another tab or window. Reload
to refresh your session. You switched accounts on another tab or window. Reload
to refresh your session. Dismiss alert
aptro / superset-mcp Public
connect to 50+ data stores via superset mcp server. Can use with open ai agent sdk, Claude app, cursor, windsurf
8 stars
2 forks
Branches
Tags
Activity
Notifications
You must be signed in to change notification settings
main
Go to file
Code
| Name | | Name | Last commit message | Last commit date |
| --- | --- | --- | --- |
| Latest commit
-------------
History
-------
6 Commits
| | |
| .env.example | | .env.example | | |
| .gitignore | | .gitignore | | |
| .python-version | | .python-version | | |
| LICENSE | | LICENSE | | |
| README.md | | README.md | | |
| main.py | | main.py | | |
| pyproject.toml | | pyproject.toml | | |
| superset.spec.json | | superset.spec.json | | |
| uv.lock | | uv.lock | | |
| View all files | | |
MCP server for interacting with Apache Superset, enabling AI agents to connect to and control a Superset instance programmatically.
Set Up Superset Locally
Run this script to start Superset locally:
shell
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:
Clone this repository to your local machine.
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
Install Dependencies
shell
uv pip install .
Install MCP Config for Claude
To use with Claude Desktop app:
shell
mcp install main.py
After setup, you can interact with your Superset instance via Claude using natural language requests. Here are some examples:
This plugin offers the following MCP tools that Claude can use:
superset_auth_check_token_validity
- Check if the current access token is validsuperset_auth_refresh_token
- Refresh the access tokensuperset_auth_authenticate_user
- Authenticate with Supersetsuperset_dashboard_list
- List all dashboardssuperset_dashboard_get_by_id
- Get a specific dashboardsuperset_dashboard_create
- Create a new dashboardsuperset_dashboard_update
- Update an existing dashboardsuperset_dashboard_delete
- Delete a dashboardsuperset_chart_list
- List all chartssuperset_chart_get_by_id
- Get a specific chartsuperset_chart_create
- Create a new chartsuperset_chart_update
- Update an existing chartsuperset_chart_delete
- Delete a chartsuperset_database_list
- List all databasessuperset_database_get_by_id
- Get a specific databasesuperset_database_create
- Create a new database connectionsuperset_database_get_tables
- List tables in a databasesuperset_database_schemas
- Get schemas for a databasesuperset_database_test_connection
- Test a database connectionsuperset_database_update
- Update an existing database connectionsuperset_database_delete
- Delete a database connectionsuperset_database_get_catalogs
- Get catalogs for a databasesuperset_database_get_connection
- Get database connection informationsuperset_database_get_function_names
- Get function names supported by a databasesuperset_database_get_related_objects
- Get charts and dashboards associated with a databasesuperset_database_validate_sql
- Validate arbitrary SQL against a databasesuperset_database_validate_parameters
- Validate database connection parameterssuperset_dataset_list
- List all datasetssuperset_dataset_get_by_id
- Get a specific datasetsuperset_dataset_create
- Create a new datasetsuperset_sqllab_execute_query
- Execute a SQL querysuperset_sqllab_get_saved_queries
- List saved SQL queriessuperset_sqllab_format_sql
- Format a SQL querysuperset_sqllab_get_results
- Get query resultssuperset_sqllab_estimate_query_cost
- Estimate query costsuperset_sqllab_export_query_results
- Export query results to CSVsuperset_sqllab_get_bootstrap_data
- Get SQL Lab bootstrap datasuperset_query_list
- List all queriessuperset_query_get_by_id
- Get a specific querysuperset_query_stop
- Stop a running querysuperset_saved_query_get_by_id
- Get a specific saved querysuperset_saved_query_create
- Create a new saved querysuperset_user_get_current
- Get current user infosuperset_user_get_roles
- Get user rolessuperset_activity_get_recent
- Get recent activity datasuperset_menu_get
- Get menu datasuperset_config_get_base_url
- Get the base URL of the Superset instancesuperset_tag_list
- List all tagssuperset_tag_create
- Create a new tagsuperset_tag_get_by_id
- Get a specific tagsuperset_tag_objects
- Get objects associated with tagssuperset_tag_delete
- Delete a tagsuperset_tag_object_add
- Add a tag to an objectsuperset_tag_object_remove
- Remove a tag from an objectsuperset_explore_form_data_create
- Create form data for chart explorationsuperset_explore_form_data_get
- Get form data for chart explorationsuperset_explore_permalink_create
- Create a permalink for chart explorationsuperset_explore_permalink_get
- Get a permalink for chart explorationsuperset_advanced_data_type_convert
- Convert a value to an advanced data typesuperset_advanced_data_type_list
- List available advanced data typesVariable | 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 |
.env
file.env
file.env
file.superset_token
file in the project directoryContributions are welcome! Please feel free to submit a Pull Request.
MIT
connect to 50+ data stores via superset mcp server. Can use with open ai agent sdk, Claude app, cursor, windsurf
No releases published
No packages published
You can’t perform that action at this time.