The Power BI Modeling MCP Server, brings Power BI semantic modeling capabilities to your AI agents.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Healthy fork ratio
- ✓Clear description
- ✓Trusted owner (microsoft)
git clone https://github.com/microsoft/powerbi-modeling-mcp{
"mcpServers": {
"powerbi-modeling-mcp": {
"command": "node",
"args": ["/path/to/powerbi-modeling-mcp/dist/index.js"]
}
}
}MCP Servers overview
# ✨ Power BI Modeling MCP Server
The **Power BI Modeling MCP Server** implements the [MCP specification](https://modelcontextprotocol.io/introduction) to create a seamless connection between AI agents and Power BI semantic models. This project is in Public Preview and implementation may significantly change prior to our General Availability.
The **Power BI Modeling MCP Server** brings Power BI semantic modeling capabilities to your AI agents through a **local MCP server**. This allows developers and AI applications to interact with Power BI models in entirely new ways, from using natural language to execute modeling changes to autonomous AI agentic development workflows.

## 💡 What can you do?
- **🔄 Build and Modify Semantic Models with Natural Language** - Tell your AI assistant what you need, and it uses this MCP server to create, update, and manage tables, columns, measures, relationships, and more... across Power BI Desktop and Fabric semantic models.
- **⚡ Bulk Operations at Scale** - AI applications can execute batch modeling operations on hundreds of objects simultaneously — bulk renaming, bulk refactoring, model translations, or model security rules - with transaction support and error handling, turning hours of repetitive work into seconds.
- **✅ Apply modeling best practices** - Easily evaluate and implement modeling best practices against your model.
- **🤖 Agentic Development Workflows** - Supports working with [TMDL and Power BI Project files](https://learn.microsoft.com/power-bi/developer/projects/projects-dataset#tmdl-format), enabling AI agents to autonomously plan, create, and execute complex modeling tasks across your semantic model codebase.
- **🔍 Query and Validate DAX** - AI assistants can execute and validate DAX queries against your model, helping you test measures, troubleshoot calculations, and explore your data
📹 Watch the video for an [end-to-end demo](https://aka.ms/power-modeling-mcp-demo).
> [!WARNING]
> - Use caution when connecting an AI Agent to a semantic model. The underlying LLM may produce unexpected or inaccurate results, which could lead to unintended changes. **Always create a backup of your model before performing any operations.**
> - LLMs might unintentionally expose sensitive information from the semantic model, including data or metadata, in logs or responses. **Exercise caution when sharing chat sessions.** See [Data Privacy and LLM Providers](#data-privacy-and-llm-providers).
> - The **Power BI Modeling MCP server** can only execute modeling operations. It cannot modify other types of Power BI metadata, such as report pages or semantic model elements like diagram layouts.
> - The AI model you select directly influences the quality and relevance of the responses you receive. For the best results, choose a deep-reasoning model such as `GPT-5` or `Claude Sonnet 4.5`. You can find more details about available models in the [GitHub Copilot AI model comparison](https://docs.github.com/en/copilot/reference/ai-models/model-comparison).
## 📦 Installation
The easiest way to install this MCP Server is by using the **Visual Studio Code extension** extension together with **GitHub Copilot**. However, you can also manually install it in any other MCP client.
### Visual Studio Code (Recommended)
1. Install [Visual Studio Code](https://code.visualstudio.com/download).
2. Install the [GitHub Copilot Chat](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat) extension.
3. Install the [**Power BI Modeling MCP** Visual Studio Code extension](https://aka.ms/powerbi-modeling-mcp-vscode).

4. Open [GitHub Copilot chat](https://code.visualstudio.com/docs/copilot/chat/copilot-chat) and confirm the **powerbi-modeling-mcp** is available and selected.

> [!NOTE]
> If you do not see **powerbi-modeling-mcp** in the available tool list, verify that the **MCP servers in Copilot** option is enabled in Copilot settings on GitHub.com. For enterprise accounts, this option is disabled by default and must be enabled by an administrator.
>
> 
### Manual
This MCP Server can also be configured across other IDEs, CLIs, and MCP clients.
**Node Package Executor (NPX) (requires [Node.js](https://nodejs.org/en))**
Add the JSON configuration to your MCP client. Node will automatically download the MCP server from the [@microsoft/powerbi-modeling-mcp npm package](https://www.npmjs.com/package/@microsoft/powerbi-modeling-mcp).
```json
{
"powerbi-modeling-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@microsoft/powerbi-modeling-mcp@latest",
"--start"
]
}
}
```
**Manual download**
1. Download the VSIX package for the version you want using the URL below:
- Template: `https://marketplace.visualstudio.com/_apis/public/gallery/publishers/analysis-services/vsextensions/powerbi-modeling-mcp/[version]/vspackage?targetPlatform=[platform]`
- Example (version `0.1.9`, platform `win32-x64`): `https://marketplace.visualstudio.com/_apis/public/gallery/publishers/analysis-services/vsextensions/powerbi-modeling-mcp/0.1.9/vspackage?targetPlatform=win32-x64`
2. Rename the downloaded `.visx` file to `.zip`
3. Unzip the contents to a folder of your choice, for example: `C:\MCPServers\PowerBIModelingMCP`
4. Run `\extension\server\powerbi-modeling-mcp.exe`
5. Copy the MCP JSON registration from the console and register it in your preferred MCP client tool.
Example of config that should work in most MCP clients:
```json
{
"powerbi-modeling-mcp": {
"type": "stdio",
"command": "C:\\MCPServers\\PowerBIModelingMCP\\extension\\server\\powerbi-modeling-mcp.exe",
"args": [
"--start"
],
"env": {}
}
}
```
## 🚀 Get started
**First, you must connect to a Power BI semantic model**, which can reside in Power BI Desktop, Fabric workspace or in Power BI Project (PBIP) files.
- **For Power BI Desktop:**
```
Connect to '[File Name]' in Power BI Desktop
```
- **For Semantic Model in Fabric Workspace:**
```
Connect to semantic model '[Semantic Model Name]' in Fabric Workspace '[Workspace Name]'
```
- **For Power BI Project files:**
```
Open semantic model from PBIP folder '[Path to the definition/ TMDL folder in the PBIP]'
```
Once the connection is established, you can use natural language to ask the AI agent to make any modeling changes. To get started, try one of the following scenarios.
### Example scenarios
| Scenario | Prompt examples |
| ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Analyze naming convention and bulk rename. | `Analyze my model’s naming conventions and suggest renames to ensure consistency.`<br>`Analyze the naming convention of the ‘Sales’ table and apply the same pattern across the entire model.` |
| Set descriptions across your model for documentation. | `Add descriptions to all measures, columns, and tables to clearly explain their purpose and explain the logic behind the DAX code in simple, understandable terms.` |
| Translate your semantic model. | `Generate a French translation for my model including tables, columns and measures.` |
| Refactor measures into Calculation Groups or UDF. | `Refactor measures 'Sales Amount 12M Avg' and 'Sales Amount 6M Avg' into a calculation group and include new variants: 24M and 3M.` |
| Refactor your queries to use semantic model parameters. | `Analyze the Power Query code for all tables, identify the data source configuration, and create semantic model parameters to enable easy switching of the data source location.` |
| Benchmark DAX queries against multiple models. | `Connect to semantic model 'V1' and 'V2. And benchmark the foWhat people ask about powerbi-modeling-mcp
What is microsoft/powerbi-modeling-mcp?
+
microsoft/powerbi-modeling-mcp is mcp servers for the Claude AI ecosystem. The Power BI Modeling MCP Server, brings Power BI semantic modeling capabilities to your AI agents. It has 856 GitHub stars and was last updated 15d ago.
How do I install powerbi-modeling-mcp?
+
You can install powerbi-modeling-mcp by cloning the repository (https://github.com/microsoft/powerbi-modeling-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is microsoft/powerbi-modeling-mcp safe to use?
+
Our security agent has analyzed microsoft/powerbi-modeling-mcp and assigned a Trust Score of 100/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains microsoft/powerbi-modeling-mcp?
+
microsoft/powerbi-modeling-mcp is maintained by microsoft. The last recorded GitHub activity is from 15d ago, with 51 open issues.
Are there alternatives to powerbi-modeling-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy powerbi-modeling-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/microsoft-powerbi-modeling-mcp)<a href="https://claudewave.com/repo/microsoft-powerbi-modeling-mcp"><img src="https://claudewave.com/api/badge/microsoft-powerbi-modeling-mcp" alt="Featured on ClaudeWave: microsoft/powerbi-modeling-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。