Skip to content
MCP server

Power BI Authoring MCP Server (Local)

Local MCP server that lets AI agents edit Power BI semantic models

Runs locallyActively maintained

The repository was last updated 16 days ago and is published under MIT.

Power BI Authoring MCP Server (Local) is an MCP server for analytics and data. It runs locally on your machine and is started by your AI client.

Platforms
VS Code, Windows, CLI
Runs
Locally
GitHub stars
1.3K
Last commit
License
MIT
Version
1.0.1

Similar MCP servers

Install

You install MCP servers on a computer. Send yourself the link.

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.json

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

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

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.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.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

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

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "powerbi-modeling-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@microsoft/powerbi-modeling-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.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

    Antigravity

    Add to ~/.gemini/config/mcp_config.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.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

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

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

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.json

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

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.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.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Power BI Authoring MCP Server (Local)

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.

Tools this server provides (1)

Taken from the project documentation; the running server may differ.

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.

What it does

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

Pricing

Pricing unknown

Prices not published; use requires accepting a EULA

Power BI Authoring MCP Server (Local) 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.

How AIPoweredBot checks servers