PBIXRaySAFE
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.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://mseep.ai/app/jonaolden-pbixray-mcp-server)
Info!
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.
Features
- [x] Loading and analyzing PBIX files
- [x] Data model exploration
- [x] Listing tables in the model
- [x] Retrieving model metadata
- [x] Checking model size
- [x] Getting model statistics
- [x] Getting comprehensive model summary
- [x] Query language access
- [x] Viewing Power Query (M) code
- [x] Accessing M Parameters
- [x] Exploring DAX calculated tables
- [x] Viewing DAX measures
- [x] Examining DAX calculated columns
- [x] Data structure analysis
- [x] Retrieving schema information
- [x] Analyzing table relationships
- [x] Accessing table contents with pagination
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.
Tools
d0a4defb78a6OBSERVED · 2026-10-08Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add pbixray-mcp-server -- uvx pbixray-mcp-server
{
"mcpServers": {
"pbixray-mcp-server": {
"command": "uvx",
"args": [
"pbixray-mcp-server"
]
}
}
}Exposed tools (14)
14 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
get_dax_columns | read | |
get_dax_measures | read | |
get_dax_tables | read | |
get_m_parameters | read | |
get_metadata | read | |
get_model_size | read | |
get_model_summary | read | |
get_power_query | read | |
get_relationships | read | |
get_schema | read | |
get_statistics | read | |
get_table_contents | read | |
get_tables | read | |
load_pbix_file | read |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (2)
mcp, pbixray, numpy, pytest, pandas, pandas
demo/AdventureWorks Sales.pbix
Gates applied: no_behavioural_pass.
d0a4defb78a6full audit observations/trust-audit/mcp-server/jonaolden__pbixray.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | d0a4defb78a6 | SAFE | B | 89 | first audit |
Questions
What is the PBIXRay MCP server?
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.
What tools does PBIXRay expose?
14 in total: 14 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is PBIXRay safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does PBIXRay need?
No credential environment variables were found in its source, so it appears to need none.
How does PBIXRay run?
It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as pbixray-mcp-server.
How current is this page?
The grade is for one exact copy of the source (d0a4defb78a6), read on 2026-10-08. The repository is watched and re-audited when it changes.