MCP server for Power BI API integration
A Model Context Protocol (MCP) server for integrating Power BI with GenAI applications.
Business analytics and data visualization
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 .
Create a .env file or set environment variables according to Power BI API requirements.
from powerbi_mcp import PowerBiMCPServer
# Initialize the server
server = PowerBiMCPServer()
# Start the server
server.start()
MIT License - see LICENSE file for details
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
uvx powerbi-mcp-serverMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-asklokesh-powerbi-mcp-server": {
"command": "uvx",
"args": [
"powerbi-mcp-server"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencePowerbi works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.