pbi-mcp-doctor

pbi-mcp-doctor is a skill for Claude Code, Codex from Kemetra/Seshat-BI. It costs 73 tokens per session (1,441 once invoked), scanned A, original, Apache-2.0.

A read-only helper for deciding how Microsoft's official Power BI MCP services fit into a Seshat BI workspace. It checks prerequisites and can create a safe configuration template.

In plain words
What is it for?
Checking the environment for Power BI tasks such as report authoring, published queries, formatting, desktop verification, and database connectivity.
Why use it?
It prevents unsupported Power BI routes, direct server launches, and accidental changes to project configuration. Blocked recommendations identify the required human decision or prerequisite.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Checking the environment for Power BI tasks such as report authoring, published queries, formatting, desktop verification, and database connectivity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kemetra/seshat-bi/pbi-mcp-doctor
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 Kemetra/Seshat-BI --skill pbi-mcp-doctor
Clone the repo
git clone --depth 1 https://github.com/Kemetra/Seshat-BI

Made for: Claude Code, Codex.

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 pbi-mcp-doctor

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kemetra/seshat-bi/pbi-mcp-doctor"><img src="https://agentmods.dev/badge/skills/kemetra/seshat-bi/pbi-mcp-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,441 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.00073 $0.01441
Opus 5 $0.00036 $0.00720
Sonnet 5 $0.00015 $0.00288
Haiku 4.5 $0.00007 $0.00144

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

Security

Grade A, and why

pbi-mcp-doctor 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 9d 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.

distribution/bundle-templates/shared/skills/pbi-mcp-doctor/SKILL.md · 118 lines

How it starts

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

Power BI MCP doctor (read-only)

Read ../../portable-operating-contract.md before acting. Use only the installed seshat pbi-mcp verbs; never launch an MCP server directly, never edit .mcp.json by hand when the generator can produce it, and never treat any output of this family as an approval. F016 (the Power BI execution adapter) is PARKED: no mutation path exists anywhere in this family.

Fixed workflow

  1. Map the user's task to the governed surface, read-only:

    seshat pbi-mcp doctor --repo . --intent <task> [--target <table>] [--harness <claude-code|codex>] [--json] [--write-advisory]

    --intent is a closed vocabulary: model-edit, published-query, report-authoring, report-formatting, desktop-verification, db-connectivity, ci-validation, sensitive-production. Report the recommendation, its missing prerequisites, and the next HUMAN step verbatim. A blocked recommendation (exit 2) names the gate -- stop there; never route around it. --write-advisory records the result once at .seshat/powerbi-mcp-recommendation.yaml (write-once; it refuses to overwrite) and is never a side effect.

    report-authoring additionally requires an exact --target <table>. It selects Microsoft's official powerbi-report-authoring skill, but remains blocked until that target has a committed semantic-model pass, a complete named-human dashboard_ready approval, and the Spec 148 harness probe reports the skill discoverable. Approval does not itself claim dashboard_ready: pass. Installed is not the same as activated.

  2. Generate config only through the safe generator:

    seshat pbi-mcp generate-config [--transport local|remote|both] [--setup-doc] [--out <path>]

    Output is placeholder-only and read-only (--readonly); it is secret-scanned before emission and refuses to overwrite an existing file. If it refuses because output would be secret-shaped, stop and report -- never bypass the scan by writing the file yourself.

Read the full file on GitHub · 118 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. 9d ago First seen · 118 lines · 73 tokens per session scan A 6adb62cc355d

Subscribe to this mod's changes

pbi-mcp-doctor is a skill published in the GitHub repository Kemetra/Seshat-BI (2 stars, last pushed 3d ago), licensed Apache-2.0. It adds 73 tokens to every session and 1,441 once invoked, about $0.0004 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-09-03.