MCP Catalogs
Homepowerbi-mcp screenshot

powerbi-mcp

by sulaiman013·111·Score 48

An enterprise-grade MCP server for Power BI that enables AI assistants to interact with datasets via natural language queries, supporting both desktop and cloud environments.

databasedeveloper-toolsai-llm
46
Forks
1
Open issues
6 mo ago
Last commit
2d ago
Indexed

Overview

Power BI MCP Server bridges AI assistants with Microsoft Power BI through the Model Context Protocol. It provides a unified interface for querying data, managing models, and performing bulk operations across local .pbix files and cloud-hosted datasets. The server features advanced security with PII detection, audit logging, and configurable access policies. Its standout capability is the PBIP Connector, which enables safe refactoring operations that update both semantic models and report visuals simultaneously, preventing common issues where renaming tables breaks report references.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Natural language data querying for business intelligence analysts
you:Automated Power BI model refactoring and maintenance
you:Row-level security testing and validation during development
you:Can this server work with both Power BI Desktop and Power BI Service?
you:How does the server handle renaming tables without breaking visuals?

When to choose this

Choose this server when you need AI assistants to interact with Power BI datasets through natural language, especially when working with complex model refactoring while preserving report visual integrity.

When NOT to choose this

Avoid this if you're not already using Power BI, need write access to datasets (this primarily focuses on read/analysis operations), or require cross-platform support (Windows-only).

Tools this server exposes

12 tools extracted from the README
  • desktop_discover_instances

    Auto-discover running Power BI Desktop instances

  • desktop_connect

    Connect to a specific Power BI Desktop instance with optional RLS role

  • desktop_execute_dax

    Execute DAX queries against Power BI Desktop model with security processing

  • list_workspaces

    List accessible Power BI Service workspaces

  • list_datasets

    List datasets in a specified Power BI workspace

  • execute_dax

    Execute DAX queries against Power BI Service datasets

  • desktop_list_rls_roles

    List Row-Level Security roles defined in the model

  • desktop_set_rls_role

    Activate a specific RLS role for testing data access

  • scan_table_dependencies

    Analyze dependencies before renaming tables/columns/measures

  • batch_update_measures

    Bulk update measure expressions in the model

  • pbip_rename_tables

    Safely rename tables in PBIP projects (updates model + visuals + DAX)

  • pbip_load_project

    Load a PBIP project for editing operations

Comparable tools

mcp-server-google-sheetsmcp-server-airtablemcp-server-sqlitemcp-postgres

Installation

# Install via pip
pip install powerbi-mcp

# Configure Claude Desktop
{
  "mcpServers": {
    "powerbi": {
      "command": "python",
      "args": ["-m", "powerbi_mcp"],
      "env": {
        "POWERBI_MCP_WORKSPACE": "your_workspace_path"
      }
    }
  }
}

FAQ

Can this server work with both Power BI Desktop and Power BI Service?
Yes, the server supports dual connectivity - it can interact with both local Power BI Desktop instances and cloud-hosted Power BI Service through XMLA endpoints.
How does the server handle renaming tables without breaking visuals?
The PBIP Connector uses text-based editing of TMDL files and JSON manipulation of report definitions to update both model layer and report layer references simultaneously, ensuring no visual references are broken after renaming operations.

Compare powerbi-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.