PO

PowerBI MCP Server

Published by gurvinder-dhillon

PowerBI REST API integration. Query workspaces, datasets, and execute DAX queries via MCP.

CATEGORY
More to explore
DEPLOYMENT
Local package
LATEST SOURCE VERSION
0.1.2
SOURCE CHECKED
Dec 3, 2026

Quick answers

How do I add PowerBI MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --env 'POWERBI_TENANT_ID=<your-powerbi-tenant-id>' --env 'POWERBI_CLIENT_ID=<your-powerbi-client-id>' --env 'POWERBI_CLIENT_SECRET=<your-powerbi-client-secret>' --transport stdio powerbi -- uvx powerbi-mcp

Replace the <your-…> placeholder with your own POWERBI_TENANT_ID and POWERBI_CLIENT_ID and POWERBI_CLIENT_SECRET.

Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "powerbi": {
      "command": "uvx",
      "args": [
        "powerbi-mcp"
      ],
      "env": {
        "POWERBI_TENANT_ID": "<your-powerbi-tenant-id>",
        "POWERBI_CLIENT_ID": "<your-powerbi-client-id>",
        "POWERBI_CLIENT_SECRET": "<your-powerbi-client-secret>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own POWERBI_TENANT_ID and POWERBI_CLIENT_ID and POWERBI_CLIENT_SECRET.

Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add powerbi --env 'POWERBI_TENANT_ID=<your-powerbi-tenant-id>' --env 'POWERBI_CLIENT_ID=<your-powerbi-client-id>' --env 'POWERBI_CLIENT_SECRET=<your-powerbi-client-secret>' -- uvx powerbi-mcp

Replace the <your-…> placeholder with your own POWERBI_TENANT_ID and POWERBI_CLIENT_ID and POWERBI_CLIENT_SECRET.

Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

{
  "mcpServers": {
    "powerbi": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "powerbi-mcp"
      ],
      "env": {
        "POWERBI_TENANT_ID": "<your-powerbi-tenant-id>",
        "POWERBI_CLIENT_ID": "<your-powerbi-client-id>",
        "POWERBI_CLIENT_SECRET": "<your-powerbi-client-secret>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own POWERBI_TENANT_ID and POWERBI_CLIENT_ID and POWERBI_CLIENT_SECRET.

VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "powerbi": {
      "command": "uvx",
      "args": [
        "powerbi-mcp"
      ],
      "env": {
        "POWERBI_TENANT_ID": "<your-powerbi-tenant-id>",
        "POWERBI_CLIENT_ID": "<your-powerbi-client-id>",
        "POWERBI_CLIENT_SECRET": "<your-powerbi-client-secret>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own POWERBI_TENANT_ID and POWERBI_CLIENT_ID and POWERBI_CLIENT_SECRET.

Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use PowerBI MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does PowerBI MCP Server need an API key?

To run it on your computer, set POWERBI_TENANT_ID, POWERBI_CLIENT_ID and POWERBI_CLIENT_SECRET first, with values from the publisher.

Is PowerBI MCP Server official?

It's published by gurvinder-dhillon. The Official MCP Registry accepts names under io.github.gurvinder-dhillon only from the GitHub account or organisation gurvinder-dhillon. We last checked its listing on Dec 3, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

pypi · powerbi-mcp@0.1.2
View source repository