Microsoft · Official

Power BI Modeling (Authoring) MCP server

Create and change Power BI semantic models: tables, measures, relationships, security roles and DAX, with TMDL and PBIP files.

Verified publisher namespaceLocalProduct analytics
Registry name
com.microsoft/powerbi-modeling-mcp
Latest version
1.0.0 · updated 2026-09-25
Links
Vendor docsSource

Install

Commands are generated from the registry record. Remote servers usually ask you to sign in with OAuth on first use.

Step-by-step guides

Claude Code

claude mcp add power-bi-modeling -- npx -y @microsoft/powerbi-modeling-mcp --start

Codex

# ~/.codex/config.toml
[mcp_servers.power_bi_modeling]
command = "npx"
args = ["-y", "@microsoft/powerbi-modeling-mcp", "--start"]

Gemini CLI

gemini mcp add power-bi-modeling npx -y @microsoft/powerbi-modeling-mcp --start

Cursor

{
  "mcpServers": {
    "power-bi-modeling": {
      "command": "npx",
      "args": [
        "-y",
        "@microsoft/powerbi-modeling-mcp",
        "--start"
      ]
    }
  }
}

VS Code (GitHub Copilot)

code --add-mcp '{"name":"power-bi-modeling","command":"npx","args":["-y","@microsoft/powerbi-modeling-mcp","--start"]}'

What the Power BI Modeling (Authoring) MCP server can do

From Microsoft's own MCP documentation.

Authentication

Microsoft Entra ID interactive sign-in, or a service principal. Operations run with the signed-in user's Fabric permissions.

Options

  • The local server is generally available and runs over stdio. Install from the VS Code extension, npx @microsoft/powerbi-modeling-mcp --start, or a standalone executable.
  • A hosted version (preview) runs at https://api.fabric.microsoft.com/v1/mcp/powerbi/authoring.
  • Only the local server supports Power BI Desktop, PBIP files on disk, service principal sign-in, transactions and traces.
  • Tools are grouped by object type (tables, columns, measures, relationships). The full list is in the GitHub repo.

Good to know

  • The local server does not support macOS. Use the hosted server on a Mac.
  • It only does modeling. It cannot change report pages or diagram layouts.
  • DAX query tools have a hard limit of 100,000 rows.
  • Needs Write or Build permission on the model. With only Build it can just run DAX queries. Fabric workspace models need the XMLA endpoint set to Read Write.
  • Do not register the local and hosted servers together, since the overlapping tools confuse routing and cost tokens.
  • Not meant for answering business questions. Microsoft points to Fabric IQ for that.
  • Back up the model first, ideally as PBIP files in Git.
Microsoft MCP docs

Packages

  • npm @microsoft/powerbi-modeling-mcp

More product analytics

Get the weekly agent stack update

New official MCP servers, spec changes and harness releases, checked against the source. One email a week, no fluff.

Work at Microsoft?

Feature Power BI Modeling (Authoring) at the top of the product analytics category and the MCP directory from $49/month.

Feature this server

Add an install badge to the Power BI Modeling (Authoring) README

Free. One link that installs the server in Cursor, VS Code, Kiro, LM Studio or Goose with one click, and gives Claude Code, Codex, Gemini CLI and 10 more agents their exact config.

Install in any agent (Markdown)

[![Install with AgentAtlas](https://img.shields.io/badge/install-15_agents-111111)](https://agentatlas.dev/tools/setup-kit?servers=power-bi-modeling)

Listed on AgentAtlas (Markdown)

[![Listed on AgentAtlas](https://img.shields.io/badge/listed_on-AgentAtlas-111111)](https://agentatlas.dev/mcp/power-bi-modeling)

Reviewed Oct 20, 2026. Official means published under Microsoft's namespace in the MCP registry. It is not a security audit.