Skip to main content
Glama
aptro

Superset MCP Integration

by aptro

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
NameRequiredDescriptionDefault

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/")

Other Tools

Latest Blog Posts

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/aptro/superset-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server