microsoft/powerbi-modeling-mcp
The Power BI Modeling MCP Server, brings Power BI semantic modeling capabilities to your AI agents.
What it solves
Power BI semantic models — the tables, measures, relationships, and security that sit behind reports — are usually edited one object at a time in a desktop tool or with hand-written scripts. This MCP server connects AI assistants directly to a semantic model, so the same work can be done through natural language: ask an assistant to rename columns, add a measure, translate the model to another language, or refactor hundreds of objects at once. It removes the repetitive, manual effort and makes large-scale modeling changes practical.
How it works
It implements the Model Context Protocol (MCP) to expose a standard set of "tools" that an AI agent can call. These tools cover connections (Power BI Desktop, Fabric workspaces, Power BI Project files in TMDL format), plus operations for tables, columns, measures, relationships, DAX queries, security roles, translations, calculation groups, and more. The server runs locally (or can be used via a hosted remote version in Fabric). It can be installed as a VS Code extension for use with GitHub Copilot, or configured manually in any MCP client using npm or a downloaded executable. Once connected, the AI agent issues tool calls to inspect and modify the model. The server also supplies built-in prompts and instruction resources that give the model context about how to work with DAX, Power BI Project files, and semantic model authoring.
Who it's for
Developers and AI application builders who want to automate Power BI semantic model authoring — from individual modelers using natural-language requests in VS Code, to teams building autonomous agentic workflows that plan and execute modeling changes against a codebase of TMDL files. It is also useful for anyone who needs bulk operations like renaming, translation, documentation, or refactoring across many objects at once.
Highlights
- Natural-language building and modification of semantic models (tables, columns, measures, relationships, hierarchies, etc.)
- Bulk operations with transaction support and error handling (e.g., bulk rename, translation, security rule updates)
- Works with Power BI Desktop, Fabric workspaces, and Power BI Project (TMDL) files
- DAX query execution, validation, and performance analysis with trace events
- Built-in prompts like
CreateDAXQuery,AnalyzeDAXQuery,ConnectToPowerBIDesktop,ConnectToFabric, andConnectToPBIP - Settings for read-only mode, different auth modes (interactive or service principal), and compatibility with Analysis Services
- Safety warnings and EULA acceptance flow to prevent unintended changes
Related
- Project
- Project
- Project
- Project
- Project