mcp-powerBI
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-powerBIget the full catalog of workspaces and semantic models"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-powerBI
Claude-compatible MCP server for discovering Fabric/Power BI workspaces and semantic models.
This repo is intentionally based around Microsoft's official powerbi-modeling-mcp:
get_catalog,list_workspaces, andlist_semantic_modelsuse the Power BI REST API for tenant/workspace discovery.list_semantic_models_in_workspace_via_modeling_mcplaunches Microsoft@microsoft/powerbi-modeling-mcpand uses its XMLA/TOM auth path to enumerate semantic models inside a known workspace.
That split is necessary because Microsoft Power BI Modeling MCP can connect and model/query semantic models, but it does not expose a tenant-wide workspace discovery tool.
Tools
auth_statusstart_device_logincomplete_device_loginlist_workspaceslist_semantic_modelsget_cataloglist_semantic_models_in_workspace_via_modeling_mcp
Related MCP server: powerbi-mcp
Install
npm install
npm run buildClaude Desktop config
Use the built JS after npm run build.
For this machine, start from docs/claude-desktop-config.example.json. It points the wrapper to the already installed Microsoft native binary:
/Users/ducna/.codex/mcp/powerbi-modeling-mcp/node_modules/@microsoft/powerbi-modeling-mcp-darwin-arm64/dist/powerbi-modeling-mcpGeneric service-principal config:
{
"mcpServers": {
"mcp-powerbi": {
"command": "node",
"args": ["/absolute/path/to/mcp-powerBI/dist/server.js"],
"env": {
"POWERBI_TENANT": "vnu.edu.vn",
"POWERBI_CLIENT_ID": "<app-client-id>",
"POWERBI_CLIENT_SECRET": "<client-secret-value>",
"POWERBI_MODELING_MCP_COMMAND": "/absolute/path/to/powerbi-modeling-mcp",
"POWERBI_MODELING_MCP_ARGS": "--start"
}
}
}
}For local development:
{
"mcpServers": {
"mcp-powerbi": {
"command": "npx",
"args": ["tsx", "/absolute/path/to/mcp-powerBI/src/server.ts"]
}
}
}Authentication
The server checks auth in this order:
POWERBI_ACCESS_TOKENservice principal:
POWERBI_TENANT,POWERBI_CLIENT_ID,POWERBI_CLIENT_SECRETcached delegated user token from
start_device_login/complete_device_login
For production Claude usage, service principal is the most reliable option.
Power BI tenant/admin requirements:
Enable Allow service principals to use Power BI APIs.
Add the service principal to the relevant workspaces, or to an allowed security group.
App/API permissions should allow workspace and dataset reads. In practice this normally means Power BI REST API application permissions such as
Workspace.Read.AllandDataset.Read.All, with admin consent where required.
Usage Examples
Ask Claude:
Use mcp-powerbi to get the full catalog of workspaces and semantic models.or:
Use mcp-powerbi to list semantic models in workspace test-mcp via Microsoft Modeling MCP.The second path works when the workspace name is already known and Microsoft powerbi-modeling-mcp can authenticate to XMLA.
If the workspace/model is not provided, Claude should call get_catalog first. If REST authentication is unavailable, Claude should ask the user for the workspace name instead of guessing.
Environment
Copy .env.example for local shell usage:
cp .env.example .envThen export values before running:
set -a
source .env
set +a
npm run devNotes
list_workspacesusesGET https://api.powerbi.com/v1.0/myorg/groups.list_semantic_modelsusesGET /datasetsfor My workspace orGET /groups/{groupId}/datasetsfor a workspace.The Microsoft Modeling MCP bridge uses
npx -y @microsoft/powerbi-modeling-mcp@latest --startby default. Override withPOWERBI_MODELING_MCP_COMMANDandPOWERBI_MODELING_MCP_ARGSif you have a signed local binary.Local verification notes are in
docs/verification.md.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nguyenanhducdeveloper86/mcp-powerBI'
If you have feedback or need assistance with the MCP directory API, please join our Discord server