1. Conduid
  2. AI
  3. Powerbi MCP
MCP server · AI

Powerbi MCP

MCP server for natural language interaction with Power BI datasets

51Fair

Scored 2 hours ago · breakdown

About Powerbi MCP

Powerbi MCP is an MCP server published by sulaiman013 in the AI category: mCP server for natural language interaction with Power BI datasets. Conduid read 90 tools from its source: analyze_model_storage, analyze_query_performance, audit_ai_readiness, audit_naming, audit_report_design, audit_star_schema and 84 more. No package is published for it, so it installs from a source checkout.

The repository has 127 stars and 51 forks, is licensed MIT, and its last commit was on 11 Nov 2026. The latest release is v2.0.0. The release before it was v1.0.0. It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Its topics include analytics, devtools, pbix and powerbi.

Install

From source
git clone https://github.com/sulaiman013/powerbi-mcp

Tools (90)

analyze_model_storageVertiPaq-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.
analyze_query_performanceExecute a DAX query and report duration, row count, and heuristic optimization hints. For storage-engine vs formula-engine server timings use DAX Studio.
audit_ai_readinessScore 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_namingAudit naming conventions across the connected model
audit_report_design
audit_star_schemaAudit the model as a dimensional (star-schema) design: classifies every table (fact / dimension / date dimension / bridge / disconnected) from relationship topology, then flags snowflake chains, bidirectional filters, many-to-many, fact-to-fact joins, a missing or unmarked date table, measure-less facts, and text attributes stranded on facts. Returns a 0-100 score, a grade, and a recommendation pe
batch_create_measuresCreate 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_columns⚠️ DEPRECATED: Use
batch_rename_measures⚠️ DEPRECATED: Use
batch_rename_tables⚠️ DEPRECATED: Use
batch_update_measuresBulk update multiple measure expressions in the Power BI Desktop model.
bpa_audit_rule_sourcesAudit 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.
bpa_validate_rulesValidate a custom Best Practice Analyzer rules JSON (the public BPA rule shape): required fields (ID/Name/Category/Severity/Scope/Expression), valid Severity (1/2/3) and Scope values, duplicate IDs, destructive Delete() fixes on low-severity rules, and stray runtime-only fields. With fix=true also returns a cleaned copy. Pure validation, no external tool.
bridge_manifestReturn 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_reloadHot-reload the file open in Power BI Desktop from disk via the Desktop Bridge - NO close/reopen needed. This is how offline edits (pbir_add_page, pbir_add_visual, pbip_add_measures, pbip_create_date_table, renames...) become visible in the running Desktop. Refuses to reload over unsaved Desktop changes unless force=true. reload_model_definition=false reloads only the report layer.
bridge_screenshotCapture 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
bridge_statusDiscover running Power BI Desktop Bridge instances (the JSON-RPC endpoint inside each open Desktop window; preview feature, on by default). For each instance returns the process id, the open file path, whether it has unsaved changes, and - for PBIP/PBIR files - the report pages (id, display name, active). Start here before bridge_reload or bridge_screenshot.
build_js_app_measure
create_measureCreate a new DAX measure in the Power BI Desktop model.
create_relationshipCreate a relationship between two columns in the connected Power BI Desktop model (TOM). Honors an open tom transaction.
cross_workspace_lineageTenant-wide inventory + lineage via the Admin Scanner API: workspace/dataset/report counts, datasets missing RLS or a sensitivity label, and (with dataset_name) the downstream reports that depend on a dataset across all workspaces. Requires Fabric admin (or an SP allowed to use read-only admin APIs). Cache the scan to cache_path to avoid rescanning.
dax_lintStatic-analyze DAX for performance anti-patterns and correctness traps (FILTER over a whole table in CALCULATE, nested CALCULATE,
dax_suggest_rewriteRewrite help for DAX anti-patterns, for a raw expression or a named measure. Bare
delete_measureDelete a measure from the Power BI Desktop model.
delete_relationshipDelete 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_connectConnect to a Power BI Desktop instance by port number. Optionally specify an RLS role to test.
desktop_discover_instancesDiscover all running Power BI Desktop instances on this machine
desktop_execute_daxExecute a DAX query against the connected Power BI Desktop model
desktop_get_model_infoGet comprehensive model info (tables, columns, measures, relationships) from Power BI Desktop
desktop_list_columnsList columns for a table in the connected Power BI Desktop model
desktop_list_measuresList all measures in the connected Power BI Desktop model
desktop_list_rls_rolesList all RLS (Row-Level Security) roles defined in the Power BI Desktop model
desktop_list_tablesList all tables in the connected Power BI Desktop model
desktop_rls_statusGet the current RLS status including active role and available roles
desktop_set_rls_roleSet or clear the active RLS role for testing. When set, all queries will be filtered by that role
execute_daxExecute a DAX query against a Power BI Service dataset
export_data_dictionaryGenerate 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_objectsFind 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_monitorRefresh health across many datasets: for each refreshable dataset in the given workspaces, check the most recent refresh and classify failures (root cause). Centralized
generate_html_measure
generate_measure_suiteBulk-generate a governed suite of DAX measures from one base measure or column: time intelligence (YTD/QTD/MTD/PY/YoY/YoY %/MoM %/rolling windows), share-of-total ratios per dimension, ranks, or column statistics. Every measure gets a name, self-contained DAX, format string, display folder, and description. target=
generate_payload_measure
generate_svg_measureGenerate 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_infoGet comprehensive model info from a Power BI Service dataset using INFO.VIEW functions
impact_analysisBlast 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_columnsList columns for a table in a Power BI Service dataset
list_datasetsList all datasets in a Power BI Service workspace
list_tablesList all tables in a Power BI Service dataset via XMLA
list_workspacesList all Power BI Service workspaces accessible to the Service Principal
model_diffProduce 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_snapshotCapture the connected model
pbip_add_calculation_groupCreate a calculation group OFFLINE in the loaded PBIP project (TMDL): the professional alternative to bulk-copying time-intelligence measures. Provide calculation items (name + DAX over SELECTEDMEASURE()); a ready-made time-intelligence set (YTD/QTD/MTD/PY/YoY/YoY %) can be generated by passing preset=
pbip_add_hierarchyAdd 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_measuresBulk-add measures OFFLINE into a loaded PBIP project
pbip_create_date_tableCreate 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_embed_data
pbip_fix_broken_visualsFix 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_fix_dax_quotingFix DAX expressions by quoting table names that need it: Leads Sales Data[Amount] ->
pbip_get_project_infoGet information about the loaded PBIP project including paths to TMDL files and report.json
pbip_load_projectLoad a PBIP (Power BI Project) for file-based editing. PBIP format allows safe bulk renames without breaking report visuals. Use
pbip_rename_columns✅ 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_measures✅ 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_tables✅ 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.
pbip_scan_broken_refsScan the PBIP project for broken references. Compares table names in semantic model vs report visuals to find mismatches.
pbip_stage_publishStage a PBIP report (and optionally its model) for publishing IN PLACE: copies the report into a stage folder with definition.pbir rebound from the local model path to a published semantic model (byConnection), drops local caches, and returns the one Fabric CLI command that imports it. Importing over an existing report keeps its id, so shared and public links keep working. Offline: never contacts
pbip_undoUndo the last committed pbip_rename_* / pbip_fix_* change on the loaded PBIP project by restoring every file it changed to its previous bytes. One level of undo, for this session only.
pbip_validateValidate TMDL syntax in the loaded PBIP project. Checks for unquoted names with spaces, invalid references, etc.
pbir_add_page[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_visual[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_apply_spec
pbir_bind_fields[PREVIEW] Add or replace field bindings on an existing visual without recreating it. mode
pbir_validate_report[PREVIEW] Validate that every field referenced by the report
pbix_extractExtract 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_inspectInspect 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.
pre_deploy_gateCI/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.
refresh_doctorDiagnose a dataset
rls_test_harnessEvaluate 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.
run_bpaRun 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_testsRun 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).
scan_measure_dependenciesAnalyze 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_integrityScan 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_dependenciesScan 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_logView recent entries from the security audit log
security_statusGet the current security settings and status (PII detection, audit logging, access policies)
tom_begin_transactionBegin 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_transactionCommit (SaveChanges) all pending TOM model edits made since tom_begin_transaction and close the transaction.
tom_rollback_transactionRoll back (UndoLocalChanges) all pending TOM model edits made since tom_begin_transaction and close the transaction.
usage_and_orphan_analyticsTenant 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_daxValidate 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.
verify_audit_integrityVerify the audit-log hash chain (compliance/forensics). Detects edited, inserted, deleted, or hash-stripped entries; returns INTACT or TAMPERED with the first broken line. The chain is HMAC-keyed (cryptographically strong) when POWERBI_MCP_AUDIT_KEY is set, otherwise a plain SHA-256 chain that catches accidental edits and naive tampering.

Security checks

Static checks derived from the repository a month ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 4.4K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionScanned 27 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v2.0.0v2.0.0
v1.0.0v1.0.0

README

The repository's README runs to about 4.4K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Powerbi MCP

How do I install Powerbi MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Powerbi MCP safe to use with an AI agent?

Its trust score is 51 out of 100 (fair). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Powerbi MCP still maintained?

Yes — the last commit was 20 days ago. The repository has 127 stars and 51 forks.

What tools does Powerbi MCP provide?

Conduid read 90 tools from the source: analyze_model_storage, analyze_query_performance, audit_ai_readiness, audit_naming, audit_report_design, audit_star_schema, batch_create_measures, batch_rename_columns and 82 more.

What license is Powerbi MCP released under?

The repository declares the MIT license. That applies to the latest release, v2.0.0, as well.