Power BI MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Power BI MCP Server Show me the latest sales performance for this quarter."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Power BI MCP Server
Overview
Power BI MCP Server is a Python-based Model Context Protocol (MCP) server designed to integrate the Power BI REST API with GenAI applications.
The project provides an interface through which an AI application can interact with Power BI capabilities using MCP-based tools.
Related MCP server: powerbi-mcp-server
Objective
Business intelligence platforms traditionally require users to navigate dashboards and reports manually.
An MCP integration can provide a conversational interface where an AI application can access approved business intelligence capabilities and help users work with analytics using natural-language requests.
High-Level Architecture
User
|
v
GenAI Application
|
v
Model Context Protocol
|
v
Power BI MCP Server
|
v
Power BI REST API
|
v
Power BI / Business DataKey Capabilities
MCP server implementation
Power BI REST API integration
Python-based backend
Tool-based AI integration
Business intelligence access through MCP
Integration with compatible GenAI applications
Example Interaction
User:
"Show me the latest sales performance."
|
v
GenAI Application
|
v
MCP Tool Selection
|
v
Power BI MCP Server
|
v
Power BI REST API
|
v
Business Intelligence Data
|
v
AI-generated responseTechnology
Python
Model Context Protocol (MCP)
Power BI REST API
GenAI application integration
API authentication
pytest / Python testing tools
Business Use Cases
Potential enterprise use cases include:
Natural-language business analytics
KPI retrieval
Power BI report interaction
AI-assisted business intelligence
Automated analytics workflows
Conversational access to approved BI capabilities
Security Considerations
Power BI and MCP integrations should carefully protect:
Access tokens
API credentials
Business data
User permissions
Tool execution permissions
Credentials should be stored securely and never committed to source control.
Future Enhancements
Additional Power BI tools
Role-based access control
Azure-hosted deployment
Azure OpenAI integration
Audit logging
More business analytics functions
Automated KPI monitoring
Enterprise authentication
Disclaimer
This README documents the Power BI MCP Server repository. If the repository is not your original work, do not claim the entire project as your own. Retain the original author's license, copyright, attribution, and repository notices, and clearly document any modifications you personally make.
Available Tools
8 toolsexecute_dax_queryB
Execute a DAX query against a dataset and return tabular results.
Inputs: query (required), dataset_id (required), workspace_id. Returns: object
export_reportB
Start an export job for a report. format is one of PDF, PPTX, PNG, etc.
Inputs: format (required), report_id (required), workspace_id. Returns: object
get_dataset_refresh_historyB
Return the refresh history entries for a dataset (most recent first).
Inputs: dataset_id (required), top, workspace_id. Returns: result
list_dashboardsA
List dashboards, optionally scoped to a workspace (group) ID.
Inputs: workspace_id. Returns: result
list_datasetsA
List datasets, optionally scoped to a workspace (group) ID.
Inputs: workspace_id. Returns: result
list_reportsB
List reports, optionally scoped to a workspace (group) ID.
Inputs: workspace_id. Returns: result
list_workspacesA
List all Power BI workspaces (groups) accessible to the caller.
Inputs: no named parameters. Returns: result
refresh_datasetB
Trigger a dataset refresh. notify_option may be 'MailOnCompletion',
'MailOnFailure', or 'NoNotification'.
Inputs: dataset_id (required), workspace_id, notify_option. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a distinct resource or action: workspaces, datasets, reports, dashboards, dataset refresh, refresh history, DAX query, and report export. There is no overlap or ambiguity.
All tool names follow a consistent verb_noun pattern (e.g., list_workspaces, refresh_dataset, execute_dax_query). The style is uniform and predictable.
Eight tools is a well-scoped set for a Power BI server focused on listing resources and performing common actions like refresh, query, and export. No redundant tools.
The surface covers listing and key actions (refresh, query, export), but lacks get-by-id operations and any create/update/delete tools. This is a notable gap for full lifecycle management, though the server appears oriented toward read and operational tasks.
Related MCP Connectors
Governed BI MCP. Ask questions of live company data and list workspace sources via OAuth.
Query your org's data in natural language — read-only MCP access to SQL, NoSQL, files & warehouses.
Official Microsoft MCP Server to query Microsoft Entra data using natural language
Unified MCP Server is a remote MCP connector for AI agents and vertical AI products that provides access to 22,000+ authorized SaaS tools across 400+ integrations and 24 categories directly inside LLMs (Claude, GPT, Gemini, Cohere). Tools operate only on explicitly authorized customer connections, enabling agents to safely read and write against live third-party systems.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to query PowerBI workspaces, datasets, and execute DAX queries through the PowerBI REST API.727 PyPIMIT
- AlicenseNot gradedqualityDmaintenanceEnables natural language interaction with Power BI Desktop via MCP, allowing DAX authoring, measure optimization, and model inspection.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to query Power BI datasets via MCP, automatically anonymizing sensitive data before it reaches the AI, and generating rich HTML reports from natural language questions.MIT
- FlicenseAqualityBmaintenanceMCP server enabling AI agents to directly query and manage Power BI datasets, reports, and workspaces via DAX, with built-in data security policies and support for both Power BI Desktop and Service.163-