# Power BI Authoring MCP Server (Local)

> Power BI Authoring MCP Server (Local) is an MCP server for analytics and data. Local MCP server that lets AI agents edit Power BI semantic models. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** VS Code, Windows, CLI
- **Repository:** https://github.com/microsoft/powerbi-modeling-mcp
- **GitHub stars:** 1,314
- **License:** MIT
- **MCP Registry name:** com.microsoft/powerbi-modeling-mcp
- **Categories:** [analytics and data](https://ai-powered.com/categories/analytics-and-data)
- **Listing updated:** 2026-12-02

## About

Microsoft publishes this server for modelers who want an assistant to make changes inside a semantic model rather than only advise. It connects to a model open in Power BI Desktop, one in a Fabric workspace, or a Power BI Project folder in TMDL format, and then edits tables, columns, measures, relationships and more. A note at the top of the README says that for Fabric workspaces the hosted remote server is preferred.

Batch operations can touch hundreds of objects at once for bulk renames, refactoring, translations or security rules, with transaction support and error handling. The assistant can also run and validate DAX queries and check the model against modeling best practices. It cannot change report pages or diagram layouts.

The README advises backing up the model first, warns that an LLM may produce wrong edits or expose data in chat sessions, and recommends a deep-reasoning model. You must accept an EULA before any other tool works, either through the accept_eula tool, a command-line flag or an environment variable. A VS Code extension for GitHub Copilot is the suggested install, and it also runs through npx.

## Features

- **Natural-language modeling:** Creates and edits tables, columns, measures and relationships from a prompt.
- **Bulk operations:** Applies batch changes to hundreds of objects with transaction support.
- **DAX query and validation:** Runs and checks DAX against the connected model.
- **TMDL and PBIP support:** Works on Power BI Project files for agentic development workflows.
- **Best-practice evaluation:** Checks a model against modeling best practices.
- **Three connection targets:** Connects to Power BI Desktop, Fabric workspaces or PBIP folders.

## Good for

- Bulk rename and reorganize measures in a large model
- Translate a semantic model into another language
- Debug a DAX measure against live model data
- Apply modeling best practices to an inherited model

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add powerbi-modeling-mcp -- npx -y @microsoft/powerbi-modeling-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "powerbi-modeling-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@microsoft/powerbi-modeling-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "powerbi-modeling-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@microsoft/powerbi-modeling-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "powerbi-modeling-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@microsoft/powerbi-modeling-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "powerbi-modeling-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@microsoft/powerbi-modeling-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add powerbi-modeling-mcp -- npx -y @microsoft/powerbi-modeling-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.powerbi-modeling-mcp]
command = "npx"
args = ["-y", "@microsoft/powerbi-modeling-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "powerbi-modeling-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@microsoft/powerbi-modeling-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user powerbi-modeling-mcp npx -- -y @microsoft/powerbi-modeling-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "powerbi-modeling-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@microsoft/powerbi-modeling-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "powerbi-modeling-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@microsoft/powerbi-modeling-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "powerbi-modeling-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@microsoft/powerbi-modeling-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "powerbi-modeling-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@microsoft/powerbi-modeling-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "powerbi-modeling-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@microsoft/powerbi-modeling-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "powerbi-modeling-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@microsoft/powerbi-modeling-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "powerbi-modeling-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@microsoft/powerbi-modeling-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "powerbi-modeling-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@microsoft/powerbi-modeling-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `accept_eula`: Records acceptance of the EULA so other tools unlock.

## FAQ

### Do I need to accept a licence?

Yes. The server blocks other tools until the EULA is accepted, through the accept_eula tool, --accepteula or an environment variable.

### What can Power BI Authoring MCP Server (Local) not change?

Report pages and semantic model elements such as diagram layouts.

### How do I install Power BI Authoring MCP Server (Local)?

Use the Visual Studio Code extension with GitHub Copilot, or run npx -y @microsoft/powerbi-modeling-mcp@latest --start.

### Should I use the local or remote server?

The README recommends the hosted remote server for Fabric workspace authoring.

### Is Power BI Authoring MCP Server (Local) safe to run on a production model?

The README advises creating a backup before any operation.

### How do I add Power BI Authoring MCP Server (Local) to Claude Code?

Run this command in your terminal: claude mcp add powerbi-modeling-mcp -- npx -y @microsoft/powerbi-modeling-mcp

### What are the best alternatives to Power BI Authoring MCP Server (Local)?

The closest alternatives to Power BI Authoring MCP Server (Local) are Horizun PBI MCP, Powerbi, Metabase, Ploten: live report MCP for Power BI Desktop and Stackless.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Horizun PBI MCP](https://ai-powered.com/mcp/horizun-pbi-mcp): Horizun PBI MCP is a free MCP server for analytics and data.
- [Powerbi](https://ai-powered.com/mcp/powerbi): Powerbi is an open-source MCP server for analytics and data.
- [Metabase](https://ai-powered.com/mcp/metabase-2): Metabase is an open-source MCP server for analytics and data.
- [Ploten: live report MCP for Power BI Desktop](https://ai-powered.com/mcp/ploten-live-report-mcp-for-power-bi-desktop): Ploten: live report MCP for Power BI Desktop is an MCP server for analytics and data.
- [Stackless](https://ai-powered.com/mcp/stackless): Stackless is an MCP server for analytics and data.
- [Metabase MCP (headless)](https://ai-powered.com/mcp/metabase-mcp-headless): Metabase MCP (headless) is an open-source MCP server for browser automation.
- [Omniscope](https://ai-powered.com/mcp/omniscope): Omniscope is an MCP server for analytics and data.
- [Analytics Got Simplified](https://ai-powered.com/mcp/analytics-got-simplified): Analytics Got Simplified is a freemium MCP server for analytics and data.

---
Source: https://ai-powered.com/mcp/power-bi-authoring-mcp-server-local
