
Pbix Lineage
io.github.fabienfrfrPublished by GitHub account fabienfrfrv0.1.2Updated Oct 24, 2026
Bidirectional data lineage graph for Power BI (.pbix) files, from source to display
Overview
Builds a bidirectional data lineage graph for Power BI .pbix files, tracing sources through Power Query and DAX to report visuals.
- What you can do
- Parses a .pbix report into a traversable graph linking physical sources (HTTP, OData, SQL, files) through Power Query M, columns and calculated columns, DAX measures, and the fields shown in report visuals. It exposes search, upstream and downstream traversal, and tree printing, plus exports to GraphML and node/edge CSV. A codegen option generates a standalone Python pipeline reproducing a report's chain, and an HTTP API with an MCP mount offers the same operations over streamable HTTP.
- When to use it
- Use it when you need to understand or document where a Power BI report's numbers come from, trace a visual field back to its source, or find everything downstream of a source. It also suits exporting lineage into graph tools or generating a Python pipeline from an existing report. It is not for editing reports or querying live data.
- Requirements
- Runs as a local process on the user's machine, installed from PyPI (pbix-atlas) and started with uvx or uv run pbix-atlas. The HTTP/MCP mode needs the api extra and binds to PBIX_LINEAGE_HOST and PBIX_LINEAGE_PORT (default shown as 127.0.0.1:8080). Codegen needs the codegen extra. No accounts, API keys or headers are declared. Desktop only; no web executable.
Installation
In SourceWeft
- Open Pbix Lineage in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
🌐 PBIX‑Atlas
[PyPI] [GitHub] [CI] [MCP Registry]
Full lineage graph for Power BI — from source to visual field
PbixAtlas is an Universal lineage graph for Power BI .pbix files: source to visual field in one traversable graph.
Install
Quick start
Export
Codegen — standalone Python pipeline
Generates a single Python file reproducing a report's full chain: source → extraction → Power Query → semantic model → Vizro dashboard. The M source is executed at runtime by the built-in interpreter, not pattern-matched. Unimplemented functions raise MRuntimeError (no silent stubs).
HTTP API / MCP server
- REST:
POST /graphs,/search,/upstream,/downstream,/tree,/export,/codegen - MCP (streamable HTTP):
http://127.0.0.1:8080/mcp/ - Env vars:
PBIX_LINEAGE_HOST,PBIX_LINEAGE_PORT
Architecture
Sample files
- Retail Analysis Sample PBIX (Microsoft)
- Sales & Returns Sample v201912 (Microsoft)
Development
Source: README.md at commit 3b489b6
Tools
0Version history
1- v0.1.2LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.