What can you do with Powerbi?
- Comprehensive Power BI API coverage
- Multiple authentication methods
- Enterprise-ready with rate limiting
- Full error handling and retry logic
- Async support for better performance
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
powerbi-mcp-serverclaude mcp add powerbi -e 'POWERBI_API_KEY=<your powerbi_api_key>' -e 'POWERBI_API_URL=<POWERBI_API_URL>' -- uvx powerbi-mcp-server==0.1.0
{
"mcpServers": {
"powerbi": {
"command": "uvx",
"args": [
"powerbi-mcp-server==0.1.0"
],
"env": {
"POWERBI_API_KEY": "<your powerbi_api_key>",
"POWERBI_API_URL": "<POWERBI_API_URL>"
}
}
}
}
Environment variables
POWERBI_API_KEYrequired secret API Key for POWERBIPOWERBI_API_URLAPI URL for POWERBI
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
Contents
Power BI MCP Server
Powerbi Mcp Server
A Model Context Protocol (MCP) server for integrating Power BI with GenAI applications.
Overview
Business analytics and data visualization
Features
- Comprehensive Power BI API coverage
- Multiple authentication methods
- Enterprise-ready with rate limiting
- Full error handling and retry logic
- Async support for better performance
Installation
pip install powerbi-mcp-server
Or install from source:
git clone https://github.com/asklokesh/powerbi-mcp-server.git
cd powerbi-mcp-server
pip install -e .
Configuration
Create a .env file or set environment variables according to Power BI API requirements.
Quick Start
from powerbi_mcp import PowerBiMCPServer
# Initialize the server
server = PowerBiMCPServer()
# Start the server
server.start()
License
MIT License - see LICENSE file for details
Frequently asked questions
What is Powerbi?
MCP server for Power BI API integration
How do I install Powerbi?
It runs on your machine. In Claude Code: claude mcp add powerbi -e 'POWERBI_API_KEY=<your powerbi_api_key>' -e 'POWERBI_API_URL=<POWERBI_API_URL>' -- uvx powerbi-mcp-server==0.1.0. For other clients, paste the JSON configuration from this page into their MCP settings.
Does Powerbi need an API key?
Yes. It expects POWERBI_API_KEY, which you set in its configuration.
Is Powerbi open source?
Its code is public on GitHub, but the repository does not declare a standard license.
Who maintains Powerbi?
It is published by asklokesh. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.