Powerbi MCP
P

Powerbi MCP

The Power BI MCP Server is a service based on the Model Context Protocol (MCP) that allows interaction with Power BI datasets through natural language, enabling automatic DAX query generation, data exploration, and instant insight capabilities.
2.5 points
9.0K

What is the Power BI MCP Server?

The Power BI MCP Server is a Model Context Protocol (MCP) service that allows AI assistants to interact with Power BI datasets through natural language. It can convert natural language queries into DAX queries and return the results.

How to use the Power BI MCP Server?

By configuring an Azure AD service principal and a Power BI XMLA endpoint, you can connect to a Power BI dataset. Then, you can ask questions in natural language or execute DAX queries to gain data insights.

Applicable scenarios

Suitable for users who need to quickly obtain insights from Power BI datasets, especially non - technical users who wish to query data using natural language.

Main Features

Direct connection to Power BI
Connect directly to any Power BI dataset through the XMLA endpoint.
Natural language query
Ask questions in natural language, and the system will automatically generate DAX queries and return the results.
Automatic DAX generation
AI - driven DAX query generation using the GPT - 4o - mini model.
Table discovery
Automatically explore tables, columns, and measures.
Optimized performance
Asynchronous operations and intelligent caching improve query speed.
Secure authentication
Use an Azure AD service principal for secure authentication.
Intelligent suggestions
Provide relevant question suggestions based on your data.
Advantages
Obtain data insights without writing complex DAX queries
Support natural language interaction, reducing the usage threshold
Provide intelligent query suggestions to improve efficiency
Limitations
Requires configuration of an Azure AD service principal and a Power BI XMLA endpoint
Some advanced features may require an OpenAI API key
Running on Linux requires a Docker container

How to Use

Clone the repository
Clone the Power BI MCP server code repository from GitHub.
Install dependencies
Install the Python dependencies required for the project.
Configure environment variables
Create and configure the.env file, and fill in the relevant credentials for Azure AD and Power BI.
Test the connection
Run the quick - start script to test the connection to Power BI.

Usage Examples

Calculate total sales by region
Users can ask 'Calculate total sales by region', and the system will automatically generate a DAX query and return the results.
View revenue trend
Users can ask 'View revenue trend', and the system will generate a DAX query and return the revenue trend over the past 12 months.
Find the store with the highest gross margin
Users can ask 'Which store has the highest gross margin', and the system will generate a DAX query and return the results.

Frequently Asked Questions

What are the prerequisites for the Power BI MCP Server?
How to solve the problem of ADOMD.NET not found?
Is an OpenAI API key required?
How to connect to a Power BI dataset?

Related Resources

GitHub Repository
Source code and documentation for the Power BI MCP Server
MCP Specification
Official specification of the Model Context Protocol (MCP)
Power BI XMLA Endpoint Setup
Configuration guide for the Power BI XMLA endpoint
Azure AD Service Principal Configuration
Guide for creating and configuring an Azure AD service principal
OpenAI API Documentation
Detailed documentation for the OpenAI API

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "powerbi": {
      "command": "python",
      "args": ["C:/path/to/powerbi-mcp-server/src/server.py"],
      "env": {
        "PYTHONPATH": "C:/path/to/powerbi-mcp-server",
        "OPENAI_API_KEY": "your-openai-api-key"
      }
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

N
Next Devtools MCP
The Next.js development tools MCP server provides Next.js development tools and utilities for AI programming assistants such as Claude and Cursor, including runtime diagnostics, development automation, and document access functions.
TypeScript
8.6K
5 points
P
Praisonai
PraisonAI is a production-ready multi-AI agent framework with self-reflection capabilities, designed to create AI agents to automate the solution of various problems from simple tasks to complex challenges. It simplifies the construction and management of multi-agent LLM systems by integrating PraisonAI agents, AG2, and CrewAI into a low-code solution, emphasizing simplicity, customization, and effective human-machine collaboration.
Python
7.4K
5 points
M
Maverick MCP
MaverickMCP is a personal stock analysis server based on FastMCP 2.0, providing professional level financial data analysis, technical indicator calculation, and investment portfolio optimization tools for MCP clients such as Claude Desktop. It comes pre-set with 520 S&P 500 stock data, supports multiple technical analysis strategies and parallel processing, and can run locally without complex authentication.
Python
10.3K
4 points
B
Blueprint MCP
Blueprint MCP is a chart generation tool based on the Arcade ecosystem. It uses technologies such as Nano Banana Pro to automatically generate visual charts such as architecture diagrams and flowcharts by analyzing codebases and system architectures, helping developers understand complex systems.
Python
10.0K
4 points
K
Klavis
Klavis AI is an open-source project that provides a simple and easy-to-use MCP (Model Context Protocol) service on Slack, Discord, and Web platforms. It includes various functions such as report generation, YouTube tools, and document conversion, supporting non-technical users and developers to use AI workflows.
TypeScript
18.4K
5 points
D
Devtools Debugger MCP
The Node.js Debugger MCP server provides complete debugging capabilities based on the Chrome DevTools protocol, including breakpoint setting, stepping execution, variable inspection, and expression evaluation.
TypeScript
9.6K
4 points
S
Scrapling
Scrapling is an adaptive web scraping library that can automatically learn website changes and re - locate elements. It supports multiple scraping methods and AI integration, providing high - performance parsing and a developer - friendly experience.
Python
13.1K
5 points
M
Mcpjungle
MCPJungle is a self-hosted MCP gateway used to centrally manage and proxy multiple MCP servers, providing a unified tool access interface for AI agents.
Go
0
4.5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
21.1K
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
19.3K
4.5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
63.2K
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
31.5K
5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
27.2K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
59.4K
4.5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
20.1K
4.5 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
85.7K
4.7 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2026AIBase