preset-mcp-data

preset-mcp-data is a skill for Claude Code from preset-io/agent-skills. It costs 44 tokens per session (394 once invoked), scanned A, original, Apache-2.0.

A set of rules for retrieving data through Superset MCP tools, which provide chart results, previews, chart SQL, and dataset queries. Superset is a tool for exploring data and building charts.

In plain words
What is it for?
It is for retrieving existing chart data or previews, inspecting rendered chart SQL, and querying datasets through saved metrics, dimensions, filters, and time ranges.
Why use it?
It helps select the correct data operation, discover unknown chart or dataset details, and keep returned data narrow and appropriately handled.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the preset-mcp-skills plugin — 9 skills shipped together

Good fit It is for retrieving existing chart data or previews, inspecting rendered chart SQL, and querying datasets through saved metrics, dimensions, filters, and time ranges.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/preset-io/agent-skills/preset-mcp-data
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add preset-io/agent-skills --skill preset-mcp-data
Clone the repo
git clone --depth 1 https://github.com/preset-io/agent-skills

Made for: Claude Code.

Or install preset-mcp-skills, the plugin that ships this one along with the rest of its 9 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for preset-mcp-data

README.md
[![agentmods](https://agentmods.dev/badge/skills/preset-io/agent-skills/preset-mcp-data/github.svg)](https://agentmods.dev/skills/preset-io/agent-skills/preset-mcp-data)
Your own site
<a href="https://agentmods.dev/skills/preset-io/agent-skills/preset-mcp-data"><img src="https://agentmods.dev/badge/skills/preset-io/agent-skills/preset-mcp-data/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for preset-mcp-data

Your own site · 80×15
<a href="https://agentmods.dev/skills/preset-io/agent-skills/preset-mcp-data"><img src="https://agentmods.dev/badge/skills/preset-io/agent-skills/preset-mcp-data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 394 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.00394
Opus 5 $0.00022 $0.00197
Sonnet 5 $0.00009 $0.00079
Haiku 4.5 $0.00004 $0.00039

Measured 12d ago against content hash 9433f6d353f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

preset-mcp-data scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/preset-mcp-skills/skills/preset-mcp-data/SKILL.md · 37 lines

What it actually says

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

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 37 lines · 44 tokens per session scan A 9433f6d353f5

Subscribe to this mod's changes

preset-mcp-data is a skill published in the GitHub repository preset-io/agent-skills (11 stars, last pushed yesterday), licensed Apache-2.0. It adds 44 tokens to every session and 394 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

business-intelligence-expert

Build comprehensive business intelligence solutions including data warehouses, ETL pipelines, interactive dashboards, and analytical reporting systems. Use when the user mentions BI, data warehousing, star or snowflake schemas, OLAP cubes, ETL/ELT pipelines, dashboards, KPIs, or analytical reporting.

personamanagmentlayer/pcl · 64 tokens

edinet-company-ir-tracker

A workflow for retrieving recent filings from Japan’s EDINET system, the government database for corporate disclosures, for one Japanese company. It groups filings into areas such as financial reports, takeovers, ownership, governance, and events.

Kokai-Data/japan-business-data · 115 tokens

search-procurement-portal

A skill for searching Japanese government procurement notices from the official 官公需情報ポータル. It discovers tender announcements with details such as project name, issuing organization, category, and procedure type.

Kokai-Data/japan-business-data · 136 tokens

edinet-document-search

A search tool for Japanese financial disclosure documents filed through EDINET, Japan’s government system for company filings. It covers reports such as annual, quarterly, ownership, takeover, and internal-control disclosures.

Kokai-Data/japan-business-data · 128 tokens

search-egov-laws

A skill for searching Japanese laws, cabinet orders, and ministerial ordinances through Japan's official e-Gov legal information API. It returns details such as a law's title, identifier, type, and enforcement date.

Kokai-Data/japan-business-data · 111 tokens

edinet-document-fetch

A tool for downloading a specific Japanese financial disclosure from EDINET, Japan’s official system for company filings, after its document ID has been found.

Kokai-Data/japan-business-data · 97 tokens