Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

PowerBI MCP Server

by gurvinder-dhillonversion 0.1.2i★ 0iRuns on your computerRepository ↗
Registry nameio.github.gurvinder-dhillon/powerbi-mcp

How to install

What it does

PowerBI REST API integration. Query workspaces, datasets, and execute DAX queries via MCP.

  • Connects Runs on your computer
  • Account or key Needs POWERBI_CLIENT_SECRET · 2 settings to fill in (POWERBI_TENANT_ID, POWERBI_CLIENT_ID)
  • Category Databases & datasets

Use together with

Skills that teach the AI this kind of work; they work alongside this one

timesfm

TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.

by google-research★ 35,6381 skills

Skill · How-to guide

Shadowbroker

Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…

by BigBodyCobain★ 11,6051 skills

Skill · How-to guide

google-maps-scraper

scrape data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place

by gosom★ 8,2361 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness3/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score3/100

Quality: Passed 2/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install PowerBI MCP Server. Follow https://mcp.popnx.com/i/gurvinder-dhillon-powerbi-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 2/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a PowerBI MCP Server key (create it on the maker’s site) · 2 setting(s) to fill in (POWERBI_TENANT_ID, POWERBI_CLIENT_ID) · Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server PowerBI MCP Server for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "powerbi": { "command": "uvx", "args": [ "powerbi-mcp" ], "env": { "POWERBI_TENANT_ID": "your-value", "POWERBI_CLIENT_ID": "your-value", "POWERBI_CLIENT_SECRET": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For POWERBI_CLIENT_SECRET, POWERBI_TENANT_ID, POWERBI_CLIENT_ID, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the PowerBI MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Sign up and create a PowerBI MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 2 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • POWERBI_TENANT_ID Azure AD Tenant ID for PowerBI authentication
    • POWERBI_CLIENT_ID Azure AD Application (Client) ID with PowerBI API access

    Descriptions are as written by the maker.

  4. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  5. Paste these settings and save the file

    {
      "mcpServers": {
        "powerbi": {
          "command": "uvx",
          "args": [
            "powerbi-mcp"
          ],
          "env": {
            "POWERBI_TENANT_ID": "your-value",
            "POWERBI_CLIENT_ID": "your-value",
            "POWERBI_CLIENT_SECRET": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Quit Claude and open it again

  7. Try it

    Use PowerBI MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using PowerBI MCP Server or shows a PowerBI MCP Server tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect PowerBI MCP Server yet

PowerBI MCP Server runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect PowerBI MCP Server

  • You need a PowerBI MCP Server key (create it on the maker’s site) · 2 setting(s) to fill in (POWERBI_TENANT_ID, POWERBI_CLIENT_ID) · Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a PowerBI MCP Server key (create it on the maker’s site) · 2 setting(s) to fill in (POWERBI_TENANT_ID, POWERBI_CLIENT_ID) · Install Python (uv) on your computer first (one time)
  • You need a PowerBI MCP Server key (create it on the maker’s site) · 2 setting(s) to fill in (POWERBI_TENANT_ID, POWERBI_CLIENT_ID) · Install Python (uv) on your computer first (one time)
  • You need a PowerBI MCP Server key (create it on the maker’s site) · 2 setting(s) to fill in (POWERBI_TENANT_ID, POWERBI_CLIENT_ID) · Install Python (uv) on your computer first (one time)

B · Others in Databases & datasets that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a PowerBI MCP Server key (create it on the maker’s site) · 2 setting(s) to fill in (POWERBI_TENANT_ID, POWERBI_CLIENT_ID) · Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server PowerBI MCP Server for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user powerbi --env POWERBI_TENANT_ID=your-value --env POWERBI_CLIENT_ID=your-value --env POWERBI_CLIENT_SECRET=your-value -- uvx powerbi-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For POWERBI_CLIENT_SECRET, POWERBI_TENANT_ID, POWERBI_CLIENT_ID, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the PowerBI MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Sign up and create a PowerBI MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 2 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • POWERBI_TENANT_ID Azure AD Tenant ID for PowerBI authentication
    • POWERBI_CLIENT_ID Azure AD Application (Client) ID with PowerBI API access

    Descriptions are as written by the maker.

  4. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  5. Paste this command and press Enter

    claude mcp add --scope user powerbi --env POWERBI_TENANT_ID=your-value --env POWERBI_CLIENT_ID=your-value --env POWERBI_CLIENT_SECRET=your-value -- uvx powerbi-mcp

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Type /mcp in Claude Code

    You should see PowerBI MCP Server listed as connected

  7. Try it

    Use PowerBI MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using PowerBI MCP Server or shows a PowerBI MCP Server tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a PowerBI MCP Server key (create it on the maker’s site) · 2 setting(s) to fill in (POWERBI_TENANT_ID, POWERBI_CLIENT_ID) · Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server PowerBI MCP Server for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "powerbi": { "command": "uvx", "args": [ "powerbi-mcp" ], "env": { "POWERBI_TENANT_ID": "your-value", "POWERBI_CLIENT_ID": "your-value", "POWERBI_CLIENT_SECRET": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For POWERBI_CLIENT_SECRET, POWERBI_TENANT_ID, POWERBI_CLIENT_ID, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the PowerBI MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Sign up and create a PowerBI MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 2 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • POWERBI_TENANT_ID Azure AD Tenant ID for PowerBI authentication
    • POWERBI_CLIENT_ID Azure AD Application (Client) ID with PowerBI API access

    Descriptions are as written by the maker.

  4. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  5. Fill in your key

    In the PowerBI MCP Server settings, POWERBI_CLIENT_SECRET, POWERBI_TENANT_ID, POWERBI_CLIENT_ID is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in Cursor in Agent mode

  7. Try it

    Use PowerBI MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using PowerBI MCP Server or shows a PowerBI MCP Server tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a PowerBI MCP Server key (create it on the maker’s site) · 2 setting(s) to fill in (POWERBI_TENANT_ID, POWERBI_CLIENT_ID) · Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server PowerBI MCP Server for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "powerbi": { "type": "stdio", "command": "uvx", "args": [ "powerbi-mcp" ], "env": { "POWERBI_TENANT_ID": "your-value", "POWERBI_CLIENT_ID": "your-value", "POWERBI_CLIENT_SECRET": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For POWERBI_CLIENT_SECRET, POWERBI_TENANT_ID, POWERBI_CLIENT_ID, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the PowerBI MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Sign up and create a PowerBI MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 2 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • POWERBI_TENANT_ID Azure AD Tenant ID for PowerBI authentication
    • POWERBI_CLIENT_ID Azure AD Application (Client) ID with PowerBI API access

    Descriptions are as written by the maker.

  4. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  5. Fill in your key

    In the PowerBI MCP Server settings, POWERBI_CLIENT_SECRET, POWERBI_TENANT_ID, POWERBI_CLIENT_ID is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in VS Code in Agent mode

  7. Try it

    Use PowerBI MCP Server and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using PowerBI MCP Server or shows a PowerBI MCP Server tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use PowerBI MCP Server💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user powerbi --env POWERBI_TENANT_ID=your-value --env POWERBI_CLIENT_ID=your-value --env POWERBI_CLIENT_SECRET=your-value -- uvx powerbi-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "powerbi": {
      "command": "uvx",
      "args": [
        "powerbi-mcp"
      ],
      "env": {
        "POWERBI_TENANT_ID": "your-value",
        "POWERBI_CLIENT_ID": "your-value",
        "POWERBI_CLIENT_SECRET": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "powerbi": {
      "command": "uvx",
      "args": [
        "powerbi-mcp"
      ],
      "env": {
        "POWERBI_TENANT_ID": "your-value",
        "POWERBI_CLIENT_ID": "your-value",
        "POWERBI_CLIENT_SECRET": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "powerbi": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "powerbi-mcp"
      ],
      "env": {
        "POWERBI_TENANT_ID": "your-value",
        "POWERBI_CLIENT_ID": "your-value",
        "POWERBI_CLIENT_SECRET": "your-value"
      }
    }
  }
}

Values you fill in

  • POWERBI_TENANT_ID required env
    Azure AD Tenant ID for PowerBI authentication
  • POWERBI_CLIENT_ID required env
    Azure AD Application (Client) ID with PowerBI API access
  • POWERBI_CLIENT_SECRET secret required env
    Azure AD Client Secret for service principal authentication

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
22/wk
Connection
Runs on your computer
Latest versioni
0.1.2
Published to registryi
Feb 5, 2026
Code last changedi
Feb 5, 2026
Maker
gurvinder-dhillon
Packages
pypi: powerbi-mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account gurvinder-dhillon, which owns the repo

  • ! Caution

    Still maintained

    Code last changed 10 months ago, more than 6 months ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for powerbi-mcp@0.1.2

Checks only this package version, not every dependency · checked Nov 16, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/gurvinder-dhillon-powerbi-mcp.svg)](https://mcp.popnx.com/en/servers/gurvinder-dhillon-powerbi-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Databases & datasetsi

  • More stars than 0% of the other 1237 servers in this category
  • Published to the registry more recently than 3% of the other 1237 servers in this category
  • Basic checks equal to or better than 50% of the other 1237 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is PowerBI MCP Server safe?

It passed 2 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: POWERBI_CLIENT_SECRET

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 10 months ago, and the latest version (0.1.2) reached the registry 10 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: QueryWeaver, Supabase, Neon, DBCode, Keboola MCP

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

QueryWeaver

An MCP server for Text2SQL: transforms natural language into SQL using graph schema understanding.

by FalkorDBGrowing★ 1.1KUpdated 14 months ago

Runs on your computer✓ falkordb.com

Supabase

Supabase’s official server lets AI create tables, query data and review project settings in your Supabase database.

by supabaseWidely used↓ 245.5K/wk★ 3K Stars for the whole repoUpdated yesterday

Computer or cloud✓ service owner · supabase.com

Neon

Official Neon MCP server for managing Neon projects and Lakebase Postgres databases.

by neondatabaseGrowing★ 666Updated 13 days ago

Runs in the cloud✓ service owner · neon.com

DBCode

Query and explore 100+ databases through your DBCode connections.

by dbcodeioEarly↓ 118/wk★ 368 Stars for the whole repoUpdated 2 months ago

Runs on your computer✓ service owner · dbcode.io

Keboola MCP

Connect your AI assistants to Keboola and expose your data, transformations, SQL queries, ...

by keboolaGrowing↓ 1.4K/wk★ 84Updated 3 days ago

Computer or cloud✓ service owner · keboola.com
Compared with similar ones
This one
PowerBI MCP Server
QueryWeaverSupabaseNeonDBCodeKeboola MCP
Runs whereInstalls on your computerInstalls on your computerCloud or install on your computerRuns in the cloud, nothing to installInstalls on your computerCloud or install on your computer
Needs a keyYesNoYesNoNoNo
Add with + in ClaudeNoNoYesYesNoNo
Basic checks2/33/35/55/52/35/5
LicenseMITAGPL-3.0Apache-2.0MITNOASSERTIONMIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

PowerBI MCP Server

A Model Context Protocol (MCP) server that provides tools for interacting with PowerBI REST APIs. This server enables AI assistants like Claude to query PowerBI workspaces, datasets, and execute DAX queries.

[!WARNING]

Security Best Practices

- Never commit credentials to version control

- Store credentials in .env files (add to .gitignore)

- Rotate client secrets regularly in Azure AD

- Use least-privilege access (only grant necessary workspace permissions)

- This server has read/write access to PowerBI datasets - use with caution

✨ Features

  • Query Your Data: Run DAX queries to extract insights and analyze your PowerBI data directly through conversation
  • Discover Workspaces & Datasets: Explore what data is available across your organization's PowerBI environment
  • Understand Data Models: Get detailed schema information to know what tables, columns, and relationships exist
  • Natural Language to Insights: Ask questions about your data and get answers without opening PowerBI

See all available tools below.

💡 What Can You Do?

ScenarioExample Prompt
Explore available data"What workspaces do I have access to?"
Discover reports"What reports are available in my workspace?"
Understand data schema"Show me the schema for dataset [dataset-name]"
Monitor data freshes"When was this dataset last refreshed?"
Check parameters"What parameters does this dataset accept?"
Query data with DAX"Run a DAX query to get top 10 sales by region from [dataset]"
Analyze data quality"What tables are in the Sales dataset?"
Extract insights"Get the list of all measures in the Financial dataset"

📋 Prerequisites

  • Azure AD Service Principal: Required for authentication. Follow the Azure AD Configuration steps below to set this up.

🔐 Azure AD Configuration

Before installing the server, you need to set up an Azure AD application with PowerBI access.

Create Azure AD App Registration
  1. Go to Azure Portal
  2. Navigate to Azure Active Directory > App registrations
  3. Click New registration
  4. Enter a name (e.g., "PowerBI MCP Server")
  5. Click Register
Get Credentials

After registration, collect these values:

  • Tenant ID: Found in app Overview page (Directory ID)
  • Client ID: Found in app Overview page (Application ID)
  • Client Secret:
  • Go to Certificates & secrets
  • Click New client secret
  • Add description and set expiry
  • Copy the secret Value (you can only see this once!)
Enable Service Principal in PowerBI
  1. Go to PowerBI Admin Portal
  2. Navigate to Tenant settings > Developer settings
  3. Enable Service principals can use PowerBI APIs
  4. Add your app to the security group or enable for entire organization
  5. Click Apply

[!NOTE]

Service principals can access workspaces where they've been granted explicit permissions (Admin, Member, or Contributor roles).

Grant Workspace Access

For each workspace you want to access:

  1. Go to the workspace in PowerBI
  2. Click workspace settings (⚙️) > Access
  3. Click Add people or groups
  4. Search for your app name
  5. Assign role: Admin, Member, or Contributor
  6. Click Add

📦 Installation

Method 0: From PyPI (Recommended)

Once published to PyPI, this is the simplest installation method.

Add the following to your MCP client configuration file:

For Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{

"mcpServers": { "powerbi-mcp": { "command": "uvx", "args": ["powerbi-mcp"], "env": { "POWERBI_TENANT_ID": "your-tenant-id-here", "POWERBI_CLIENT_ID": "your-client-id-here", "POWERBI_CLIENT_SECRET": "your-client-secret-here" } } } }

For Claude Code (./.mcp.json in your project directory):

{

"mcpServers": { "powerbi-mcp": { "command": "uvx", "args": ["powerbi-mcp"], "env": {} } } }

When using Claude Code, create a .env file in your project directory (where you run Claude Code from):

POWERBI_TENANT_ID=your-tenant-id-here

POWERBI_CLIENT_ID=your-client-id-here POWERBI_CLIENT_SECRET=your-client-secret-here

[!TIP]

The .env file should be in your working directory, not where the server is installed.

For OpenCode (~/.config/opencode/opencode.json):

{

"$schema": "https://opencode.ai/config.json", "mcp": { "powerbi-mcp": { "type": "local", "command": ["uvx", "powerbi-mcp"], "enabled": true, "env": { "POWERBI_TENANT_ID": "your-tenant-id-here", "POWERBI_CLIENT_ID": "your-client-id-here", "POWERBI_CLIENT_SECRET": "your-client-secret-here" } } } }

After adding the configuration, restart your MCP client.

Method 1: Direct from GitHub (Development)

This method uses uvx to run the server directly from GitHub without cloning the repository.

Add the following to your MCP client configuration file:

For Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{

"mcpServers": { "powerbi-mcp": { "command": "uvx", "args": [ "--from", "git+https://github.com/gurvinder-dhillon/powerbi-mcp@main", "run-server" ], "env": { "POWERBI_TENANT_ID": "your-tenant-id-here", "POWERBI_CLIENT_ID": "your-client-id-here", "POWERBI_CLIENT_SECRET": "your-client-secret-here" } } } }

For Claude Code (./.mcp.json in your project directory):

{

"mcpServers": { "powerbi-mcp": { "command": "uvx", "args": [ "--from", "git+https://github.com/gurvinder-dhillon/powerbi-mcp@main", "run-server" ], "env": {} } } }

When using Claude Code, create a .env file in your project directory (where you run Claude Code from):

POWERBI_TENANT_ID=your-tenant-id-here

POWERBI_CLIENT_ID=your-client-id-here POWERBI_CLIENT_SECRET=your-client-secret-here

[!TIP]

The .env file should be in your working directory, not where the server is installed.

The server will automatically load environment variables from the .env file in your current working directory.

For OpenCode (~/.config/opencode/opencode.json):

{

"$schema": "https://opencode.ai/config.json", "mcp": { "powerbi-mcp": { "type": "local", "command": [ "uvx", "--from", "git+https://github.com/gurvinder-dhillon/powerbi-mcp@main", "run-server" ], "enabled": true, "env": { "POWERBI_TENANT_ID": "your-tenant-id-here", "POWERBI_CLIENT_ID": "your-client-id-here", "POWERBI_CLIENT_SECRET": "your-client-secret-here" } } } }

After adding the configuration, restart your MCP client.

Method 2: Local Clone (Contributors)

For contributors who want to run from a local clone:

  1. Clone the repository:
git clone https://github.com/gurvinder-dhillon/powerbi-mcp.git

cd powerbi-mcp

  1. Install dependencies:
uv sync
  1. Add to your MCP client configuration:

For Claude Desktop:

{

"mcpServers": { "powerbi-mcp-local": { "command": "uv", "args": [ "--directory", "/absolute/path/to/powerbi-mcp", "run", "run-server" ], "env": { "POWERBI_TENANT_ID": "your-tenant-id-here", "POWERBI_CLIENT_ID": "your-client-id-here", "POWERBI_CLIENT_SECRET": "your-client-secret-here" } } } }

For Claude Code (./.mcp.json in your project directory):

{

"mcpServers": { "powerbi-mcp-local": { "command": "uv", "args": [ "--directory", "/absolute/path/to/powerbi-mcp", "run", "run-server" ], "env": {} } } }

For OpenCode (~/.config/opencode/opencode.json):

{

"$schema": "https://opencode.ai/config.json", "mcp": { "powerbi-mcp-local": { "type": "local", "command": [ "uv", "--directory", "/absolute/path/to/powerbi-mcp", "run", "run-server" ], "enabled": true, "env": { "POWERBI_TENANT_ID": "your-tenant-id-here", "POWERBI_CLIENT_ID": "your-client-id-here", "POWERBI_CLIENT_SECRET": "your-client-secret-here" } } } }

Replace /absolute/path/to/powerbi-mcp with the actual path to your cloned repository.

When using Claude Code or OpenCode, create a .env file in your project directory with your credentials (see Method 1 Claude Code section above for the format).

🚀 Quick Start

Once installed, try these steps to get started:

  1. Verify Connection: Ask Claude "What PowerBI workspaces do I have access to?"
  2. Explore Data: "Show me the datasets in workspace [workspace-name]"
  3. View Schema: "What tables are in dataset [dataset-name]?"
  4. Run a Query: "Execute this DAX query on [dataset-name]: EVALUATE TOPN(10, Sales)"

🛠️ Available Tools

ToolDescriptionKey Parameters
get_workspacesList accessible PowerBI workspacestop, detail
get_datasetsGet datasets from workspace or "My workspace"workspace_id, detail
get_datasetGet detailed dataset info including schemadataset_id, workspace_id, detail
get_reportsList PowerBI reports in workspaceworkspace_id, format, detail
get_refresh_historyGet dataset refresh history with status/timestampsdataset_id, workspace_id, top, format
get_parametersList dataset parameters and their current valuesdataset_id, workspace_id, format, detail
query_datasetExecute DAX queries against datasetdataset_id, dax_query, workspace_id
Tool Details
1. get_workspaces

List PowerBI workspaces accessible to the service principal.

Parameters:

  • top (optional): Number of workspaces to return (default: 100, max: 5000)
  • detail (optional): Level of detail - "concise", "normal", or "full" (default: "normal")
2. get_datasets

Get list of datasets from a workspace or "My workspace".

Parameters:

  • workspace_id (optional): Workspace ID (omit for "My workspace")
  • detail (optional): Level of detail - "concise", "normal", or "full" (default: "normal")
3. get_dataset

Get detailed information about a specific dataset including schema and tables.

Parameters:

  • dataset_id (required): Dataset ID
  • workspace_id (optional): Workspace ID (omit for "My workspace")
  • detail (optional): Level of detail - "concise", "normal", or "full" (default: "normal")
4. get_reports

List PowerBI reports in a workspace.

Parameters:

  • workspace_id (optional): Workspace ID (omit for "My workspace")
  • format (optional): Response format - "markdown" or "json" (default: "markdown")
  • detail (optional): Level of detail - "concise" or "normal" (default: "concise")
5. get_refresh_history

Get refresh history for a dataset showing recent refresh operations.

Parameters:

  • dataset_id (required): Dataset ID
  • workspace_id (optional): Workspace ID (omit for "My workspace")
  • top (optional): Number of refresh records t

Only the beginning is shown; read the rest in the repo