pinot-analytics

pinot-analytics is a skill for Claude Code from startreedata/mcp-pinot. It costs 51 tokens per session (630 once invoked), scanned A, original, Apache-2.0.

A set of instructions for answering questions with Apache Pinot or StarTree Cloud, systems for querying large analytical datasets. It explains how to find tables and schemas, run read-only SQL, and inspect or change configuration safely.

In plain words
What is it for?
Use it for counts, metrics, trends, table inspection, schema checks, and table-configuration reviews in Pinot.
Why use it?
It helps avoid querying the wrong table, fetching excessive live data, or getting inconsistent pages of results.

Skill for Claude Code

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

Part of the startree-pinot plugin — 1 skill, 1 MCP server shipped together

Good fit Use it for counts, metrics, trends, table inspection, schema checks, and table-configuration reviews in Pinot.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/startreedata/mcp-pinot/pinot-analytics
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 startreedata/mcp-pinot --skill pinot-analytics
Clone the repo
git clone --depth 1 https://github.com/startreedata/mcp-pinot

Made for: Claude Code.

Or install startree-pinot, the plugin that ships this one along with the rest of its 1 skill, 1 MCP server.

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 pinot-analytics

README.md
[![agentmods](https://agentmods.dev/badge/skills/startreedata/mcp-pinot/pinot-analytics/github.svg)](https://agentmods.dev/skills/startreedata/mcp-pinot/pinot-analytics)
Your own site
<a href="https://agentmods.dev/skills/startreedata/mcp-pinot/pinot-analytics"><img src="https://agentmods.dev/badge/skills/startreedata/mcp-pinot/pinot-analytics/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 pinot-analytics

Your own site · 80×15
<a href="https://agentmods.dev/skills/startreedata/mcp-pinot/pinot-analytics"><img src="https://agentmods.dev/badge/skills/startreedata/mcp-pinot/pinot-analytics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 630 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.00051 $0.00630
Opus 5.5 $0.00020 $0.00252
Sonnet 5.5 $0.00010 $0.00126
Haiku 4.5 $0.00005 $0.00063

Measured 12d ago against content hash ffefa3e57d47, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pinot-analytics 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/startree-pinot/skills/pinot-analytics/SKILL.md · 35 lines

How it starts

The opening of the file, as written. The whole thing — 35 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Working with Pinot through the StarTree Pinot tools

Find the data before you query it

  1. Call list_tables to see what exists. Results are paginated; follow has_more with offset when the list is long.
  2. Pick candidate tables by name, then call get_schema for each. A table's schema name is normally the table name without an _OFFLINE or _REALTIME suffix.
  3. Note the time column and the dimensions and metrics you need. Call get_table_config when you need indexing or ingestion details, for example to see whether a column has an index before filtering on it.

Query carefully

  • read_query runs one read-only SELECT or WITH ... SELECT. Anything else is rejected, so don't try to write data with it.
  • Real-time tables can hold billions of rows. Filter on the time column, aggregate rather than selecting raw rows, and always include a LIMIT.
  • Results come back a page at a time, and each page runs the query again. Before you read past the first page, add an ORDER BY that makes the order unique, such as the time column plus a key column, or the group-by columns of an aggregation. Without it, pages can overlap or skip rows, especially on a real-time table. Fetch the next page with offset only if has_more is true and the user needs more.
  • Quote identifiers that clash with SQL keywords using double quotes.
  • Summarize what the numbers show, and include the SQL you ran so the user can check it.

When something fails

  • For an unknown table or column, re-read the schema and correct the name. Don't retry the same query unchanged.
  • For a timeout or connection error, call test_connection to see whether the broker or the controller is unreachable, then retry once it passes.
  • For a permission error, tell the user which call was refused. Their credentials may be read-only on purpose.

Changing schemas, table configs or table filters

create_schema, update_schema, create_table_config and update_table_config change the cluster. reload_table_filters changes only which tables this server exposes, by reloading the filter file named in PINOT_TABLE_FILTER_FILE; it fails when no filter file is configured. All five follow the same steps:

Read the full file on GitHub · 35 lines

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 · 35 lines · 51 tokens per session scan A ffefa3e57d47

Subscribe to this mod's changes

pinot-analytics is a skill published in the GitHub repository startreedata/mcp-pinot (17 stars, last pushed 3d ago), licensed Apache-2.0. It adds 51 tokens to every session and 630 once invoked, about $0.0002 per session on Opus 5.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-10-07.

Related

Other skills, from other repositories

create-pr

Creates a GitHub PR with a Linear-ticket-prefixed title and a decision-led, narrative description for Prisma 8. Use when the user wants to create a pull request, open a PR, or submit changes for review.

prisma/orm · 48 tokens

schema-exploration

Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.

langchain-ai/deepagents · 57 tokens

atlas-mssql

SQL Server specifics for Atlas (also Azure SQL and MSSQL): login, dev database and URL scope (mode=schema vs mode=database, the database query parameter), compatibility level and collation, system-generated constraint names, clustered index defaults and datetime2 precision in HCL, GO batches and the delimiter…

ariga/atlas · 147 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

nornicdb-cypher-queries

Pick fast, predictable Cypher query shapes in NornicDB — point lookups, batch retrieval, pagination, search, traversal, batched UNWIND/MERGE writes, cleanup, multi-tenant isolation. Use when writing or reviewing Cypher whose latency or throughput matters; maps user intent to the executor's hot-path query templates.

orneryd/NornicDB · 79 tokens

volcengine-rds-postgresql

A tool for operating PostgreSQL databases hosted by Volcano Engine's managed database service. PostgreSQL is a relational database used to store structured application data.

bytedance/agentkit-samples · 63 tokens