Skip to content
Data
Skill

/mcp-engine-query

Use when writing or fixing DAX query text, choosing between run_query operations, validating results, testing RLS access for roles, or discovering schema before querying. For diagnosing why a query is slow, use mcp-engine-dax-performance; for wrong values, unexpected blanks, or

From plugin
mcp-engine-public
25612 skills

Claude Code

$ npx -y skills add maxanatsko/mcp-engine-public --skill mcp-engine-query --agent claude-code

SKILL.md

mcp-engine-query.SKILL.md
name: mcp-engine-query
description: Use when writing or fixing DAX query text, choosing between run_query operations, validating results, testing RLS access for roles, or discovering schema before querying. For diagnosing why a query is slow, use mcp-engine-dax-performance; for wrong values, unexpected blanks, or inflated totals, use mcp-engine-dax-debugging; to persist logic as measures, use mcp-engine-semantic-authoring.

PBI Query

Query authoring and execution through `run_query`.

Query workflow

1. Discover schema first: `list_model` `{ "operation": "list", "spec": { "type": "tables" } }` — one call per type (`tables`, `columns`, `measures`, `relationships`; `spec.type` takes exactly one value) — or `{ "operation": "search", "spec": { "query": "<name>", "mode": "name" } }` for a named object. Never invent table, column, or measure names. 2. Pick the `run_query` operation:

  • `execute` — results and validation queries.
  • `test_access` — role-by-role RLS validation (requires top-level `query` and `spec.roles`).
  • `analyze` and `vertipaq` belong to performance work — hand off to `mcp-engine-dax-performance`.

3. Keep the first `execute` scoped: `TOPN` of at most 100 rows with an explicit `ORDER BY`, or a targeted aggregation. Expand only after the shape is confirmed correct. 4. Treat `null` in results as DAX `BLANK` semantics, and `truncated: true` as a row cap, not missing data.

Author safely

  • Read [dax-query-guide](references/dax-query-guide.md) before writing new or corrected query text — quoting, naming, and structure rules live there.
  • Add `ORDER BY` to any multi-row output so results are stable and comparable across runs.

Report results

After query work, report:

1. The exact DAX text run and the `run_query` operation used. 2. Row count returned and whether results were truncated. 3. The answer to the user's question, stated separately from raw output.

Read more
@maxanatsko
Ships withmcp-engine-public

The SemanticOps MCP (formerly MCP Engine) is a Power BI tool that lets AI assistants like Claude interact with your Power BI models programmatically: read your model structure, run DAX queries, modify your semantic model, and perform advanced analytics - all through natural conversation.

Stars on GitHub

Momentum

stars in total
256
Star history of maxanatsko/mcp-engine-public on GitHub, a chart by star-history.com

Other skills on mcp-engine-public.

More skills from other plugins.

paddleocr-doc-parsing

paddleocr-doc-parsing

Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…

paddleocr2mo93k
@paddlepaddle@paddlepaddleInstall Skill
context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem012d69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog2w41k
@posthog@posthogInstall Skill

Questions about mcp-engine-query.

Which coding agents can use mcp-engine-query?
mcp-engine-query 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.