Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ“Š Data Platforms
  3. Power Bi MCP
Power Bi MCP logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 5:17:02 PM

Power Bi MCP

User RatingsBe the first to rate and review this MCP server!
View Repository2 GitHub StarsTotal stargazers on GitHub for the source repository (2 stars).Visit Website
power-bimicrosoftdata-platformdaxrefresh-management

Manage Power BI workspaces, datasets, refreshes, diagnostics, DAX queries, and PBIP source locations through MCP.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

One-click editor setup isn’t available for this listing yet β€” we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ
No confirmed setup config for this listing yet. We only publish a config block when the install details come from the project itself β€” its README, its docs, or a verified owner. We haven’t found those for FreelexHo/power-bi-mcp, and we’d rather show nothing than a guess you’d paste into your client. Follow the project’s own setup instructions for the current steps.
Install Directory Badge Claim listing AlternativesπŸ“Š More in Data Platforms

Overview

This server lets AI agents authenticate to Power BI and manage workspace datasets and refresh operations. It supports enhanced refresh polling and retries, refresh diagnostics, DAX queries with RLS impersonation, scheduled refresh reports, and optional local PBIP source lookup. Use it when Power BI administration or dataset troubleshooting needs to be performed through an MCP client.

Use cases

β€’List accessible Power BI workspaces and datasets
β€’Trigger, monitor, inspect, or cancel dataset refreshes
β€’Diagnose failed refreshes and identify likely root causes
β€’Execute DAX queries with RLS impersonation
β€’Locate PBIP source files and generate scheduled refresh reports

Key features

β€’Azure AD device code authentication with cached, auto-refreshed tokens
β€’Workspace and dataset discovery
β€’Enhanced table-level refresh with polling, retry, and timeout support
β€’Refresh history, execution details, and cancellation
β€’Refresh error classification and diagnostic reports
β€’DAX queries, RLS simulation, PBIP locating, and scheduled refresh reporting

Capabilities & Tool Schemas

Inspect callable tools, capabilities, and parameters exposed to AI agents by Power Bi MCP.

Extracted Tool Capabilities
Azure AD device code authentication with cached, auto-refreshed tokens
Workspace and dataset discovery
Enhanced table-level refresh with polling, retry, and timeout support
Refresh history, execution details, and cancellation
Refresh error classification and diagnostic reports
DAX queries, RLS simulation, PBIP locating, and scheduled refresh reporting

Documentation Overview

Power BI MCP Server

An MCP (Model Context Protocol) server that lets AI agents manage Power BI workspaces, datasets, and refreshes via natural language.

Features

Authentication & Discovery

ToolDescription
pbi_authAuthenticate via Azure AD device code flow (with token caching & auto-refresh)
pbi_list_workspacesList accessible workspaces (with optional name filter)
pbi_list_datasetsList datasets in a workspace

Dataset & Refresh Management

ToolDescription
pbi_dataset_infoAggregate dataset metadata + datasources + gateways + refresh schedule + impacted reports + PBIP locate (single call)
pbi_refresh_datasetTrigger an Enhanced refresh (supports table-level, polling, retry, timeout)
pbi_refresh_manageRefresh lifecycle: view history (status), get execution details (details), or cancel (cancel)

Diagnostics & Source Code

ToolDescription
pbi_diagnoseOne-shot diagnostic report for refresh failures β€” root cause classification, error catalog, next actions, PBIP source hints
pbi_locate_pbipLocate PBIP source code for a dataset (fuzzy folder match + optional table TMDL & M source extraction)

Query & Reporting

ToolDescription
pbi_execute_queryExecute DAX queries against a dataset (supports RLS impersonation)
pbi_scheduled_refresh_reportGenerate a daily scheduled-refresh status report across all datasets in a workspace (JSON or Markdown table)

Architecture

Code
server.py            # Entry point β€” configures logging, runs MCP via stdio
app.py               # FastMCP instance with server instructions
config.py            # Configuration loader (config.json, defaults, constants)
auth.py              # Azure AD device code flow, token caching, HTTP helpers
diagnostics.py       # Refresh error classification, PBIP folder/table locator
error_catalog.py     # Error code catalog + regex patterns for failure classification
tools/               # MCP tool modules (auto-registered via __init__.py)
  β”œβ”€β”€ auth_tool.py   #   pbi_auth
  β”œβ”€β”€ workspace.py   #   pbi_list_workspaces, pbi_list_datasets
  β”œβ”€β”€ dataset.py     #   pbi_dataset_info
  β”œβ”€β”€ refresh.py     #   pbi_refresh_dataset, pbi_refresh_manage
  β”œβ”€β”€ diagnose.py    #   pbi_diagnose, pbi_locate_pbip
  β”œβ”€β”€ query.py       #   pbi_execute_query
  └── report.py      #   pbi_scheduled_refresh_report
setup.ps1            # Azure AD App Registration automation (PowerShell)
config.json          # User-specific config (gitignored)

Quick Start

1. Install dependencies

bash
git clone https://github.com/FreelexHo/power-bi-mcp.git && cd power-bi-mcp
uv venv && uv sync
Don't have uv? Use pip instead
bash
python -m venv .venv
# Windows
.venv\Scripts\activate
# macOS/Linux
source .venv/bin/activate

pip install -e .

2. Register in your MCP client

Add to your MCP client configuration:

Cursor / Windsurf / Antigravity IDE (mcp.json):

config.json
{
  "mcpServers": {
    "power-bi": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/power-bi-mcp", "server.py"],
      "transport": "stdio"
    }
  }
}

3. Authenticate (one-time)

Just use the MCP! On first use, the agent will call pbi_auth and show you a message like:

Code
To sign in, visit https://microsoft.com/devicelogin
and enter the code XXXXXXXX
  1. Open the link in your browser
  2. Enter the code shown
  3. Sign in with your Microsoft work account
  4. Approve the permissions

That's it. Tokens are cached to ~/.powerbi-mcp/token.json and auto-refreshed β€” you won't need to do this again unless you revoke access.

Configuration

The server works out of the box with a built-in public client_id. Create a config.json in the project root to customize:

config.json
{
    "client_id": "<your-azure-ad-client-id>",
    "token_cache_dir": "~/.powerbi-mcp",
    "pbip_root": "C:/path/to/your/pbip-repo/data/power-bi-report"
}
KeyDefaultDescription
client_idBuilt-in public appAzure AD App Registration client ID
token_cache_dir~/.powerbi-mcpDirectory for cached OAuth tokens
pbip_root(none)Local PBIP repo root β€” enables pbi_locate_pbip and pbi_diagnose source-level hints

A setup.ps1 script is included to automate App Registration creation via Azure CLI. See Advanced Setup below.

Troubleshooting

AADSTS7000218: The request body must contain ... client_assertion

Your organization may block public client flows. Ask your Azure AD admin to either:

  • Allow public client flows on the app registration, or
  • Create a dedicated App Registration for your team (use setup.ps1)

AADSTS65001: The user or administrator has not consented

First-time users in a new Azure AD tenant need to consent to Power BI permissions. If your tenant requires admin consent:

  • Ask your admin to grant consent via Azure Portal -> App registrations -> API permissions -> "Grant admin consent"
  • Or use setup.ps1 to create your own App Registration where you are the owner

AADSTS50076: MFA required or AADSTS50079

Multi-factor authentication is required by your organization. The device code flow supports MFA β€” complete the MFA challenge in your browser when prompted.

Not authenticated. Call pbi_auth first.

Token has expired and could not be refreshed. The agent should automatically re-trigger pbi_auth. If it doesn't, ask the agent to call pbi_auth again.

Token keeps expiring

By default, tokens are cached at ~/.powerbi-mcp/token.json. Make sure:

  • The directory is writable
  • You are not running multiple instances that overwrite each other's tokens

Refresh details return 403

A 403 on pbi_refresh_manage action=details typically indicates insufficient permissions or the refresh record has expired.

Advanced Setup

For organizations that require their own App Registration:

Prerequisites

  • Azure CLI
  • Azure AD permissions to create App Registrations

Run setup

powershell
./setup.ps1

This creates an Azure AD App Registration with the correct configuration:

SettingValue
Sign-in audienceMulti-tenant (any Azure AD directory)
Public client flowsEnabled
Redirect URIhttps://login.microsoftonline.com/common/oauth2/nativeclient
API PermissionsPower BI Service: Dataset.ReadWrite.All, Workspace.Read.All (Delegated)

Tech Stack

  • Python β‰₯ 3.10
  • FastMCP (mcp[cli] β‰₯ 1.6.0) β€” MCP server framework, stdio transport
  • httpx β‰₯ 0.27.0 β€” HTTP client for Azure AD & Power BI REST API calls

License

MIT

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Data Platforms View all alternatives
  • MCP Databricks Server logoMCP Databricks Server

    Connect to Databricks API, allowing LLMs to run SQL queries, list jobs, and get job status.

    πŸ“Š Data Platforms3 views
    Compare vs MCP Databricks Server β†’
  • Powerbi Analyst MCP logoPowerbi Analyst MCP

    Connect LLMs to Power BI semantic models. Browse workspaces, tables, and measures, run DAX queries, and automatically page large results via local CSV.

    πŸ“Š Data Platforms2 views
    Compare vs Powerbi Analyst MCP β†’
  • Method Crm MCP logoMethod Crm MCP

    Production-ready MCP server for Method CRM API integration with 20 comprehensive tools for tables, files, users, events, and API key management. Features rate limiting, retry logic, and dual transport support (stdio/HTTP).

    πŸ“Š Data Platforms2 views
    Compare vs Method Crm MCP β†’
  • Keboola MCP Server logoKeboola MCP Server

    interact with Keboola Connection Data Platform. This server provides tools for listing and accessing data from Keboola Storage API.

    πŸ“Š Data Platforms2 views
    Compare vs Keboola MCP Server β†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks β€” not a rating.

GitHub stars
2
Stargazers on the source repository.
Last commit
3mo ago
Most recent push to the default branch.
Directory activity
1 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Power Bi MCP

The server uses Azure AD device code flow. On first use, sign in through the displayed microsoft.com/devicelogin URL; tokens are cached and automatically refreshed.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPower Bi MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/freelexho-power-bi-mcp?style=directory)](https://allmcps.com/mcp/freelexho-power-bi-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/freelexho-power-bi-mcp"><img src="https://allmcps.com/api/badge/freelexho-power-bi-mcp?style=directory" alt="Power Bi MCP on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ“ŠData Platforms
PricingFree
More technical detailsExpand β–Ύ
AuthOAuth
ClientsCursor, Windsurf
Last updatedAug 9, 2026
11/11 checks healthy over the last 32d
Views1
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars2
GitHub Star CountTotal stargazers on GitHub representing community popularity (2 stars).
Last commit3mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Jun 2, 2026
43Quality signal: Fair Β· 43/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools20/30
Adoption & activity2/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ“Š Data Platforms β†’Best MCP servers for Data Platforms β†’Alternatives to Power Bi MCP β†’Install in Claude DesktopInstall in CursorInstall in VS Code