PowerBI MCP Server
by gurvinder-dhillonio.github.gurvinder-dhillon/powerbi-mcpv0.1.2
PowerBI REST API integration. Query workspaces, datasets, and execute DAX queries via MCP.
context tax
queued
security
queued
cold start
queued
freshness
Stale8mo ago
Install PowerBI MCP server
Install in Claude Code
claude mcp add powerbi-gurvinder-dhillon -e POWERBI_TENANT_ID='<powerbi-tenant-id>' -e POWERBI_CLIENT_ID='<powerbi-client-id>' -e POWERBI_CLIENT_SECRET='<powerbi-client-secret>' -- uvx powerbi-mcpInstall in Cursor
{
"mcpServers": {
"powerbi-gurvinder-dhillon": {
"command": "uvx",
"args": [
"powerbi-mcp"
],
"env": {
"POWERBI_TENANT_ID": "<powerbi-tenant-id>",
"POWERBI_CLIENT_ID": "<powerbi-client-id>",
"POWERBI_CLIENT_SECRET": "<powerbi-client-secret>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"powerbi-gurvinder-dhillon": {
"command": "uvx",
"args": [
"powerbi-mcp"
],
"env": {
"POWERBI_TENANT_ID": "<powerbi-tenant-id>",
"POWERBI_CLIENT_ID": "<powerbi-client-id>",
"POWERBI_CLIENT_SECRET": "<powerbi-client-secret>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"powerbi-gurvinder-dhillon": {
"type": "stdio",
"command": "uvx",
"args": [
"powerbi-mcp"
],
"env": {
"POWERBI_TENANT_ID": "<powerbi-tenant-id>",
"POWERBI_CLIENT_ID": "<powerbi-client-id>",
"POWERBI_CLIENT_SECRET": "<powerbi-client-secret>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"powerbi-gurvinder-dhillon": {
"command": "uvx",
"args": [
"powerbi-mcp"
],
"env": {
"POWERBI_TENANT_ID": "<powerbi-tenant-id>",
"POWERBI_CLIENT_ID": "<powerbi-client-id>",
"POWERBI_CLIENT_SECRET": "<powerbi-client-secret>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| POWERBI_TENANT_ID | yes | — | Azure AD Tenant ID for PowerBI authentication |
| POWERBI_CLIENT_ID | yes | — | Azure AD Application (Client) ID with PowerBI API access |
| POWERBI_CLIENT_SECRET | yes | yes | Azure AD Client Secret for service principal authentication |
Freshness
Stale — last maintenance signal 8mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-02-05 · 8mo ago · GitHub
Latest release
2026-02-05 · 8mo ago · GitHub · v0.1.2
Package published
no data · npm/PyPI
Registry entry updated
2026-02-05 · 8mo ago · official registry · v0.1.2
FAQ
›How do I install the PowerBI MCP server in Claude Code?
Run: claude mcp add powerbi-gurvinder-dhillon -e POWERBI_TENANT_ID='<powerbi-tenant-id>' -e POWERBI_CLIENT_ID='<powerbi-client-id>' -e POWERBI_CLIENT_SECRET='<powerbi-client-secret>' -- uvx powerbi-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does PowerBI require an API key?
Yes. It expects POWERBI_TENANT_ID, POWERBI_CLIENT_ID, POWERBI_CLIENT_SECRET, of which 1 is a secret.
›Can I use PowerBI as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is PowerBI in the official MCP registry?
Yes, as io.github.gurvinder-dhillon/powerbi-mcp.