Skip to main content
Glama
aptro

Superset MCP Integration

by aptro

superset_chart_get_by_id

Retrieve detailed information about a specific chart from Apache Superset, including its visualization configuration and metadata, by providing the chart ID.

Instructions

Get details for a specific chart

Makes a request to the /api/v1/chart/{id} endpoint to retrieve detailed information about a specific chart/slice.

Args: chart_id: ID of the chart to retrieve

Returns: A dictionary with complete chart information including visualization configuration

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chart_idYes

Implementation Reference

  • main.py:640-657 (handler)
    The handler function implementing the 'superset_chart_get_by_id' MCP tool. It fetches detailed information about a specific chart from the Superset API using the make_api_request helper, after authentication checks via decorators.
    @mcp.tool() @requires_auth @handle_api_errors async def superset_chart_get_by_id(ctx: Context, chart_id: int) -> Dict[str, Any]: """ Get details for a specific chart Makes a request to the /api/v1/chart/{id} endpoint to retrieve detailed information about a specific chart/slice. Args: chart_id: ID of the chart to retrieve Returns: A dictionary with complete chart information including visualization configuration """ return await make_api_request(ctx, "get", f"/api/v1/chart/{chart_id}")

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