Skip to content
Development
Skill

/preset-mcp-data

Use Superset MCP data-returning tools for chart data, chart previews, rendered chart SQL, and dataset query results. Use only for MCP tool workflows; do not use for direct API work.

From plugin
agent-skills
1329 skills

Claude Code

$ npx -y skills add preset-io/agent-skills --skill preset-mcp-data --agent claude-code

SKILL.md

preset-mcp-data.SKILL.md
name: preset-mcp-data
description: Use Superset MCP data-returning tools for chart data, chart previews, rendered chart SQL, and dataset query results. Use only for MCP tool workflows; do not use for direct API work.

preset-mcp-data

Use when the user needs data returned through MCP tools.

Always

  • Use MCP tools only; do not switch to REST chart-data, SQL Lab, or dataset endpoints.
  • Treat returned rows, rendered SQL, chart previews, and dataset query results as potentially sensitive.
  • Keep row limits, selected columns, metrics, filters, and formats narrow.
  • Use discovery tools first when identifiers, metrics, columns, or chart IDs are unknown.
  • Do not use data tools as a workaround after data-model permission denial.

Decision Rules

  • Use `get_chart_data` for existing chart result data.
  • Use `get_chart_preview` for renderable existing chart previews.
  • Use `get_chart_sql` to inspect rendered chart SQL without executing it.
  • Use `query_dataset` for semantic-layer metrics, dimensions, filters, and time ranges (saved metrics only; route ad-hoc aggregates to `preset-mcp-sqllab`).
  • Route chart creation to `preset-mcp-visualization`.

Workflow Order

1. Classify which output the request needs: result data, preview content, SQL text, or semantic-layer output. Do not ask the user to re-confirm an explicit data request. 2. Resolve the object and schema through discovery if needed. 3. Choose `get_chart_data`, `get_chart_sql`, `get_chart_preview`, or `query_dataset` according to the requested output. 4. Request a small result with narrow fields, row limits, and the least revealing format. 5. Summarize data carefully; do not paste large raw payloads.

Retrieve

  • Data tool routing: [references/data-tools.md](references/data-tools.md)
Read more
@preset-io
Ships withagent-skills

Agent guidance for working with Preset, Apache Superset, and Superset MCP tools. The skills are authored once and load across every supported agent client — see Supported clients.

Stars on GitHub

Momentum

stars in total
13
Star history of preset-io/agent-skills on GitHub, a chart by star-history.com

Other skills on agent-skills.

preset-admin

preset-admin

Manage Preset teams, workspaces, memberships, invites, role identifiers, seat checks, and audit logs through direct Management…

preset-api

preset-api

Prepare direct Preset API access: auth, JWT exchange, base URLs, pagination, Rison parameters, response handling, and shared API…

preset-dashboards

preset-dashboards

Inspect Preset workspace dashboards, charts, dashboard composition, screenshots, thumbnails, chart data, and chart/dashboard…

preset-datasets

preset-datasets

Inspect Preset workspace datasets, database metadata, schemas, tables, columns, metrics, and dataset/database workflow routing…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc11d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about preset-mcp-data.

Which coding agents can use preset-mcp-data?
preset-mcp-data installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.