PowerBI REST API integration. Query workspaces, datasets, and execute DAX queries via MCP.
Powerbi MCP Server
Published by asklokeshMCP server for Power BI API integration
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 0.1.0
- 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_API_KEY=<your-powerbi-api-key>' --transport stdio powerbi -- uvx powerbi-mcp-serverReplace the <your-…> placeholder with your own POWERBI_API_KEY.
CursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"powerbi": {
"command": "uvx",
"args": [
"powerbi-mcp-server"
],
"env": {
"POWERBI_API_KEY": "<your-powerbi-api-key>"
}
}
}
}Replace the <your-…> placeholder with your own POWERBI_API_KEY.
CodexCommand
Run this in your terminal:
codex mcp add powerbi --env 'POWERBI_API_KEY=<your-powerbi-api-key>' -- uvx powerbi-mcp-serverReplace the <your-…> placeholder with your own POWERBI_API_KEY.
VS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"powerbi": {
"type": "stdio",
"command": "uvx",
"args": [
"powerbi-mcp-server"
],
"env": {
"POWERBI_API_KEY": "<your-powerbi-api-key>"
}
}
}
}Replace the <your-…> placeholder with your own POWERBI_API_KEY.
Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"powerbi": {
"command": "uvx",
"args": [
"powerbi-mcp-server"
],
"env": {
"POWERBI_API_KEY": "<your-powerbi-api-key>"
}
}
}
}Replace the <your-…> placeholder with your own POWERBI_API_KEY.
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 guideWhich 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_API_KEY first, with values from the publisher.
Is Powerbi MCP Server official?
It's published by asklokesh. The Official MCP Registry accepts names under io.github.asklokesh only from the GitHub account or organisation asklokesh. 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-server@0.1.0