Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Power BI MCP server

by sulaiman013/powerbi-mcpMIT licenceAudited 7 Oct 2026 · source 200d247c8351

stdio★ 123
✓SAFEGrade B · 89/100 · 7 Oct 2026 · 200d247
123GitHub stars

Is it safe? Yes — SAFE, grade B (89/100). It exposes 74 tools: 46 read, 25 write and 3 destructive. The audit recorded 5 findings (0 critical, 0 high, 1 medium, 4 low). Maintainer's description: MCP server for natural language interaction with Power BI datasets

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Power BI MCP server (sulaiman013/powerbi-mcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/sulaiman013/power-bi-1

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high1 medium4 low0 info

5 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared1 observation
  • NetworkDeclared5 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS
L1 Static sourceSecrets, path traversal, supply chainPASS 4 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner sulaiman013User accountAccount type recorded when we read the repository.
  • PackageNo packageRuns from a repository checkout or a hosted URL.
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push3 months agoActivity of the repository when we read it.
  • Source commit read200d247c8351The audit covers exactly this commit, read on 7 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory74 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (5)

Sorted by severity

MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
delete_measure, delete_relationship, desktop_set_rls_role
Why
3 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWObfuscation / stealthobf.decode_call · src/server.py:4257
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
data = base64.b64decode(snap.get("payload") or "")
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.zero_width · tests/test_phase3_rename_safety.py:31
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
p.write_bytes("table Sales\r\n\tcolumn Amount\r\n".encode("utf-8"))
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.zero_width · tests/test_phase3_rename_safety.py:33
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
check("BOM stripped from text", not text.startswith(""))
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · requirements.txt
F-08 Supply chainCWE-829 · CWE-1357Layer L1
mcp, msal, requests, python-dotenv, psutil, pythonnet, pyadomd, pyyaml
Why
8 requirement(s) not pinned with ==
Fix
pin exact versions

Tools it exposes

74 declared in source · 3 destructive

46 read25 write3 destructive

3 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
delete_measuredestructiveDelete a measure from the Power BI Desktop model.
delete_relationshipdestructiveDelete a relationship in the connected Power BI Desktop model (TOM), identified by name or by from/to table (and optionally column). Honors an open tom transaction.
desktop_set_rls_roledestructiveSet or clear the active RLS role for testing. When set, all queries will be filtered by that role
analyze_query_performancewriteExecute a DAX query and report duration, row count, and heuristic optimization hints. For storage-engine vs formula-engine server timings use DAX Studio.
batch_create_measureswriteCreate MANY measures on a table of the connected Power BI Desktop model in one all-or-nothing batch (TOM). The whole batch is pre-validated (each expression probed against the live model, duplicate names rejected) before anything is created. Honors an open tom transaction.
batch_rename_columnswrite⚠️ DEPRECATED: Use
batch_rename_measureswrite⚠️ DEPRECATED: Use
batch_rename_tableswrite⚠️ DEPRECATED: Use
batch_update_measureswriteBulk update multiple measure expressions in the Power BI Desktop model.
create_measurewriteCreate a new DAX measure in the Power BI Desktop model.
create_relationshipwriteCreate a relationship between two columns in the connected Power BI Desktop model (TOM). Honors an open tom transaction.
desktop_execute_daxwriteExecute a DAX query against the connected Power BI Desktop model
execute_daxwriteExecute a DAX query against a Power BI Service dataset
pbip_add_hierarchywriteAdd a drill-down hierarchy to a table OFFLINE in the loaded PBIP project (TMDL), e.g. Year > Quarter > Month > Date or Category > Subcategory > Product. Levels are existing columns of the table (validated first).
pbip_add_measureswriteBulk-add measures OFFLINE into a loaded PBIP project
pbip_create_date_tablewriteCreate a complete DAX date-dimension table OFFLINE in the loaded PBIP project: a calculated table over CALENDAR() with Year/Quarter/Month/Month Number/Week/Day columns, marked as the model
pbip_fix_broken_visualswriteFix broken visual references after a table rename. Use this when TOM/API renamed a table but visuals still reference the old name. Supports both PBIR-Legacy and PBIR-Enhanced formats.
pbip_rename_columnswrite✅ RECOMMENDED: Safely rename columns in a PBIP project. Updates TMDL files, DAX references, and report visuals. Close Power BI Desktop first, then reopen after.
pbip_rename_measureswrite✅ RECOMMENDED: Safely rename measures in a PBIP project. Updates TMDL files, DAX references, and report visuals. Close Power BI Desktop first, then reopen after.
pbip_rename_tableswrite✅ RECOMMENDED: Safely rename tables in a PBIP project. Updates EVERYTHING: TMDL files, DAX references (with proper quoting), report visuals, and Q&A schema. Close Power BI Desktop first, then reopen after.
pbir_add_pagewrite[PREVIEW] Add a new report page to the loaded PBIR-Enhanced PBIP project. Writes a schema-valid page.json and registers it in pages.json. Close Power BI Desktop before editing; reopen after.
pbir_add_visualwrite[PREVIEW] Add a visual to a page in the loaded PBIR-Enhanced project. Supported visual_type: card, kpi, tableEx, slicer, barChart, columnChart, lineChart, areaChart, pieChart, donutChart, gauge, pivotTable.
pbir_bind_fieldswrite[PREVIEW] Add or replace field bindings on an existing visual without recreating it. mode
pre_deploy_gatewriteCI/pre-deploy quality gate: runs the Best Practice Analyzer and AI-readiness audit and returns a machine PASS/FAIL verdict with blocking issues. Fails on any BPA error (and optionally warnings) or AI score below min_ai_score.
run_bpawriteRun a Best Practice Analyzer over the connected semantic model (performance, DAX, naming, formatting, maintenance, error-prevention rules). Returns findings with severity, the offending object, and a fix hint.
run_dax_testswriteRun a suite of DAX regression tests against the model: each test is {name, dax, expected, tolerance?}; returns PASS/FAIL per test and an overall verdict. Use to catch measure regressions before deploy. Provide tests inline or via tests_path (JSON file).
tom_begin_transactionwriteBegin a TOM write transaction. While open, model write tools (create_measure, delete_measure, batch_update_measures) defer saving until tom_commit_transaction, so a batch of edits is atomic and can be rolled back.
tom_commit_transactionwriteCommit (SaveChanges) all pending TOM model edits made since tom_begin_transaction and close the transaction.
analyze_model_storagereadVertiPaq-style storage analysis: per-table row counts (exact via DAX COUNTROWS), column counts, and best-effort sizes, ranked to find the biggest/most expensive tables for optimization.
audit_ai_readinessreadScore how AI-ready (Copilot/agent-ready) the model is: coverage of descriptions and format strings on measures, columns, and tables. Returns a 0-100 score, metrics, and concrete recommendations.
audit_namingreadAudit naming conventions across the connected model
bpa_audit_rule_sourcesreadAudit where BPA rules live for the loaded PBIP project: rules embedded in the model (BestPracticeAnalyzer annotation), external rule-file URLs, and ignored rule IDs, merged with any local user/machine BPARules.json found. Reveals shadow governance and ignored rules.
bridge_manifestreadReturn the Desktop Bridge method manifest for a running Power BI Desktop process: which bridge methods this Desktop build supports, with their descriptions. Use to discover capabilities before calling them (the bridge surface is preview and grows over time).
bridge_screenshotreadCapture PNG screenshots of report pages from the RUNNING Power BI Desktop via the Desktop Bridge - the agent can literally see the rendered report. Pass a page id or display name, or
dax_lintreadStatic-analyze DAX for performance anti-patterns and correctness traps (FILTER over a whole table in CALCULATE, nested CALCULATE,
dax_suggest_rewritereadFor the auto-fixable DAX anti-patterns (bare
desktop_connectreadConnect to a Power BI Desktop instance by port number. Optionally specify an RLS role to test.
desktop_discover_instancesreadDiscover all running Power BI Desktop instances on this machine
desktop_get_model_inforeadGet comprehensive model info (tables, columns, measures, relationships) from Power BI Desktop
desktop_list_columnsreadList columns for a table in the connected Power BI Desktop model
desktop_list_measuresreadList all measures in the connected Power BI Desktop model
desktop_list_rls_rolesreadList all RLS (Row-Level Security) roles defined in the Power BI Desktop model
desktop_list_tablesreadList all tables in the connected Power BI Desktop model
desktop_rls_statusreadGet the current RLS status including active role and available roles
export_data_dictionaryreadGenerate a portable data dictionary (tables, columns, measures with DAX, relationships) for the connected model, with a documentation-coverage score. Returns Markdown or HTML; optionally writes to a file. Re-runnable in CI so docs never go stale.
find_unused_objectsreadFind columns and measures not referenced by any other model object (INFO.CALCDEPENDENCY), relationship, or - when a PBIP project is loaded - any report visual. Safe-cleanup candidate list (a free replacement for paid unused-object tools).
fleet_refresh_monitorreadRefresh health across many datasets: for each refreshable dataset in the given workspaces, check the most recent refresh and classify failures (root cause). Centralized
generate_svg_measurereadGenerate a ready-to-use DAX measure that returns an inline SVG micro-visual (progress bar, bullet chart, status pill, or sparkline) as a data:image/svg+xml URI. Set the measure
get_model_inforeadGet comprehensive model info from a Power BI Service dataset using INFO.VIEW functions
impact_analysisreadBlast radius before a change: lists model objects that depend on a measure/column (INFO.CALCDEPENDENCY) and, when a PBIP project is loaded, the report files/visuals that reference it. Run before renaming or deleting.
list_columnsreadList columns for a table in a Power BI Service dataset
list_datasetsreadList all datasets in a Power BI Service workspace
list_tablesreadList all tables in a Power BI Service dataset via XMLA
list_workspacesreadList all Power BI Service workspaces accessible to the Service Principal
model_diffreadProduce a human-readable semantic diff (added/removed/changed tables, columns, measures, relationships) between a baseline snapshot and either another snapshot or the live model. Ideal for PR review and pre-deploy
model_snapshotreadCapture the connected model
pbip_fix_dax_quotingreadFix all DAX expressions by properly quoting table names with spaces. Fixes: Leads Sales Data[Amount] ->
pbip_get_project_inforeadGet information about the loaded PBIP project including paths to TMDL files and report.json
pbip_load_projectreadLoad a PBIP (Power BI Project) for file-based editing. PBIP format allows safe bulk renames without breaking report visuals. Use
pbip_scan_broken_refsreadScan the PBIP project for broken references. Compares table names in semantic model vs report visuals to find mismatches.
pbip_validatereadValidate TMDL syntax in the loaded PBIP project. Checks for unquoted names with spaces, invalid references, etc.
pbir_validate_reportread[PREVIEW] Validate that every field referenced by the report
pbix_extractreadExtract a .pbix package to a folder (Zip-Slip protected). Also decodes the legacy UTF-16-LE Report/Layout into a readable UTF-8 Report/Layout.json so an agent can inspect or edit the report structure. Returns the list of extracted files.
pbix_inspectreadInspect a .pbix file (an OPC ZIP package) without extracting: classify it as thick (imported model) vs thin (live connection), detect the report format (legacy Report/Layout vs PBIR), count pages, and list every internal entry with size. The first step to working with a real .pbix.
refresh_doctorreadDiagnose a dataset
rls_test_harnessreadEvaluate a measure or table row count under EVERY RLS role and return a pass/fail matrix vs the unrestricted baseline, flagging roles that see everything (no filtering) or nothing. Tests row-level security systematically on the connected Desktop model. Always restores the cleared role afterward.
scan_measure_dependenciesreadAnalyze the dependency graph of a measure or column using INFO.CALCDEPENDENCY: upstream (what it depends on) and downstream (what depends on it). Use before renaming or deleting to see what would break.
scan_referential_integrityreadScan every active relationship for referential-integrity violations: fact keys with no matching dimension row (the cause of the hidden blank row and silently wrong totals). Runs an EXCEPT count per relationship against the connected model and reports orphan-key counts with samples.
scan_table_dependenciesreadScan a table to find all references before renaming. Shows measures, calculated columns, and relationships that depend on this table. IMPORTANT: Use this before batch_rename_tables to understand the impact.
security_audit_logreadView recent entries from the security audit log
security_statusreadGet the current security settings and status (PII detection, audit logging, access policies)
tom_rollback_transactionreadRoll back (UndoLocalChanges) all pending TOM model edits made since tom_begin_transaction and close the transaction.
usage_and_orphan_analyticsreadTenant usage analytics from the Admin Activity Events API for one UTC day: total events, distinct users, top activities, top viewed reports, top users. Requires Fabric admin (28-day retention). Defaults to yesterday (today is incomplete).
validate_daxreadValidate a DAX query or scalar measure expression against the connected model WITHOUT committing anything. Executes a minimal probe and returns syntax/semantic errors so an agent can self-correct before writing a measure.

Install

audited commit 200d247

No connect command is recorded for this server yet. Follow the repository's own instructions, and read the findings above first.

Audit history

  1. ✓SAFE B 89 / 100

    First audit · 200d247c8351

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/sulaiman013/power-bi-1/badge.svg)](https://modelsatlas.com/mcp/sulaiman013/power-bi-1/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Power BI MCP server

What is the Power BI MCP server?
MCP server for natural language interaction with Power BI datasets
What tools does Power BI expose?
74 in total: 46 read-only, 25 that write, and 3 that can delete or overwrite (delete_measure, delete_relationship, desktop_set_rls_role). Every one is listed on this page with its risk.
Is Power BI safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 3 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Power BI need?
It reads CLIENT_SECRET and POWERBI_MCP_AUDIT_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Power BI run?
It speaks stdio, so it runs as a local process your client starts.
How current is this page?
The grade is for one exact copy of the source (200d247c8351), read on 2026-10-07. The repository is watched and re-audited when it changes.

Sources

  • sulaiman013/powerbi-mcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — SAFE verdict for commit 200d247c8351Observed · 7 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.