superset_chart_list
Retrieve a list of charts from Apache Superset to view available visualizations and their data sources for analysis and dashboard management.
Instructions
Get a list of charts from Superset
Makes a request to the /api/v1/chart/ endpoint to retrieve all charts the current user has access to view. Results are paginated.
Returns: A dictionary containing chart data including id, slice_name, viz_type, and datasource info
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- main.py:624-638 (handler)The main handler function for the 'superset_chart_list' tool. It is registered via the @mcp.tool() decorator and handles listing charts by making a GET request to Superset's /api/v1/chart/ endpoint using the shared make_api_request helper.@mcp.tool() @requires_auth @handle_api_errors async def superset_chart_list(ctx: Context) -> Dict[str, Any]: """ Get a list of charts from Superset Makes a request to the /api/v1/chart/ endpoint to retrieve all charts the current user has access to view. Results are paginated. Returns: A dictionary containing chart data including id, slice_name, viz_type, and datasource info """ return await make_api_request(ctx, "get", "/api/v1/chart/")