Articles / Power BI
Power BI MCP: letting Claude or another AI agent build and query models
What MCP is, briefly
MCP is an open standard that defines how an AI agent discovers and uses tools. A Power BI MCP server gives the agent tools such as "create measure", "rename column" or "run this DAX query". The agent picks the tools, combines them and explains what it did. It works with Claude, GitHub Copilot and other compatible clients.
Microsoft's servers
- Power BI Authoring MCP (build). Creates, changes and deletes tables, columns, measures, relationships, calculation groups, translations and security roles. It makes bulk changes (hundreds of names or measures at once), checks the model against best practices and runs DAX to validate. There is a local version, generally available, that works on Power BI Desktop and on project files (PBIP), and a Microsoft-hosted version in preview.
- Fabric IQ MCP (query). Finds reports and models, reads their structure and runs DAX queries on data the person can already access. It is read-only and respects row-level (RLS) and object-level security. It is generally available.
Microsoft itself separates the two: one to build and document the model, the other so everyone can ask it questions. For natural-language questions, see asking your data questions in natural language.
Why skills make the difference
Tools tell the agent what it can do. They do not tell it how to do it. Microsoft says the same and ships its own Power BI skills. Without them, the agent writes measures that work but ignore the house rules: names the team does not use, measures without descriptions, filters in the wrong place.
A skill is an instruction document the agent reads before it works. Ours say, for example:
- how tables, columns and measures are named, and in which language;
- that every new measure gets a written description with its business definition;
- that the model is a star schema, and what is never done (for example, bidirectional relationships without a reason);
- in what order a change is made and what is checked at the end (run test DAX and compare with a value the team already knows).
We work like this every day: Vasco, our internal assistant, runs on skills we wrote for each task, such as preparing proposals or reviewing materials. The more refined the skills, the less you correct afterwards.
How we use it
- The model becomes project files in a Git repository. We did this at an industrial client: the Power BI model moved to PBIP in a Git repository and we connected the Power BI MCP. The manual change log was no longer needed, because the history lives in Git.
- Start read-only. On a new model, the agent first reads, documents and flags problems. Only then does it start changing things.
- Every change is reviewed like code. The agent proposes, a person reviews the diff in Git, and only then does the change go ahead.
- Never in a client's environment without their written authorisation. That is our rule, whatever the tool allows.
What you need
- Local version: Power BI Desktop or the model as PBIP files, on the developer's computer.
- Hosted servers: the workspace on a Fabric capacity (the free trial is enough to test) and the tenant settings enabled by the administrator.
- Permissions: write access to the model to build; to query, the permissions the person already has are enough.
Frequently asked questions
Can the agent break the model?
It can make mistakes, like a person. That is why we start read-only, work on PBIP files in a Git repository and review every change before accepting it. Everything can be undone.
Does it only work with Claude?
No. MCP is an open standard: it works with Claude, GitHub Copilot and other compatible clients. We mostly use Claude.
Does this replace Power BI developers?
No. It takes away repetitive work (renaming, documenting, creating similar measures, reviewing DAX) and leaves more time to understand the business and validate the numbers.
Want to see this with your company's data?
In 30 minutes we will tell you frankly whether it makes sense and what it would take. You talk to the partners.