MCP server to give llms such as Claude, GitHub Copilot etc full PowerBI model context (from input .pbix) through tools based on PBIXRay python package.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"pbixray": {
"args": [
"bash",
"-c",
"source ~/dev/pbixray-mcp/venv/bin/activate && python ~/dev/pbixray-mcp/src/pbixray_server.py"
],
"command": "wsl.exe"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
those interested in this project might also be interested in this follow-up project, tabular-mcp, which allows running DAX queries against a local PowerBI model. support is highly appreciated !
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
uvx 'pbixray-mcp-server' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked pbixray-mcp-server against OSV.dev.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in analytics
MCP Server for GCP environment for interacting with various Observability APIs.
MCP server for InsightSentry financial data API - market data, options, screeners, and more
Last9 MCP Server
Access Dynatrace observability data: logs, metrics, problems, vulnerabilities via DQL and Davis AI
MCP Security Weekly
Get CVE alerts and security updates for Pbixray Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
those interested in this project might also be interested in this follow-up project, tabular-mcp, which allows running DAX queries against a local PowerBI model. support is highly appreciated !
A [Model Context Protocol][mcp] (MCP) server for PBIXRay.
This MCP server exposes the capabilities of PBIXRay as tools and resources for LLM clients to interact with Power BI (.pbix) files.
The list of tools is configurable, so you can choose which tools you want to make available to the MCP client. This is useful if you don't use certain functionality or if you don't want to expose sensitive information.
| Tool | Category | Description |
|---|---|---|
load_pbix_file | Core | Load a Power BI (.pbix) file for analysis |
get_tables | Model | List all tables in the model |
get_metadata | Model | Get metadata about the Power BI configuration |
get_power_query | Query | Display all M/Power Query code used for data transformation |
get_m_parameters | Query | Display all M Parameters values |
get_model_size | Model | Get the model size in bytes |
get_dax_tables | Query | View DAX calculated tables |
get_dax_measures | Query | Access DAX measures with filtering by table or measure name |
get_dax_columns | Query | Access calculated column DAX expressions with filtering options |
get_schema | Structure | Get details about the data model schema and column types |
get_relationships | Structure | Get the details about the data model relationships |
get_table_contents | Data | Retrieve the contents of a specified table with pagination |
get_statistics | Model | Get statistics about the model with optional filtering |
get_model_summary | Model | Get a comprehensive summary of the current Power BI model |
Add the server configuration to your client configuration file. For example, for Claude Desktop:
{
"mcpServers": {
"pbixray": {
"command": "wsl.exe",
"args": [
"bash",
"-c",
"source ~/dev/pbixray-mcp/venv/bin/activate && python ~/dev/pbixray-mcp/src/pbixray_server.py"
]
}
}
}
When using the PBIXRay MCP Server in WSL with Claude Desktop on Windows, you need to be aware of path differences when loading PBIX files.
Windows paths (like C:\Users\name\file.pbix) cannot be directly accessed in WSL. Let your AI assistant know how to convert between pats by adding
"Note that mcp server is running in wsl. Window