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.7K

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

P
Paperbanana
Python
7.5K
5 points
F
Finlab Ai
FinLab AI is a quantitative financial analysis platform that helps users discover excess returns (alpha) in investment strategies through AI technology. It provides a rich dataset, backtesting framework, and strategy examples, supporting automated installation and integration into mainstream AI programming assistants.
6.1K
4 points
A
Assistant Ui
assistant - ui is an open - source TypeScript/React library for quickly building production - grade AI chat interfaces, providing composable UI components, streaming responses, accessibility, etc., and supporting multiple AI backends and models.
TypeScript
6.6K
5 points
A
Apify MCP Server
The Apify MCP Server is a tool based on the Model Context Protocol (MCP) that allows AI assistants to extract data from websites such as social media, search engines, and e-commerce through thousands of ready-to-use crawlers, scrapers, and automation tools (Apify Actors). It supports OAuth and Skyfire proxy payment and can be integrated into MCP clients such as Claude and VS Code through HTTPS endpoints or local stdio.
TypeScript
7.4K
5 points
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
10.9K
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
10.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.2K
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.7K
4 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
34.6K
5 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
20.5K
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
24.7K
4.3 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
72.7K
4.3 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#
32.6K
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
63.9K
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
22.1K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
48.5K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2026AIBase