Pbi Cli
Pbi Cli: free open-source Python CLI that gives Claude Code Power BI modeling and reporting skills.
Working when we checked on .
What is Pbi Cli?
Pbi Cli is a free, open-source Python CLI that gives Claude Code the skills to build, manage, and deploy Power BI semantic models and reports. It is aimed at Power BI developers and analysts who want to author measures, run DAX, and edit reports by describing what they want instead of clicking through dialogs. It connects to a running Power BI Desktop session via .NET interop for model work, and edits PBIR JSON directly for report work. Capabilities include bulk measure creation, row-level security testing, TMDL export/import for version control, and binding visuals across 32 visual types.
Pbi Cli pricing
Pricing model: Free
Free, open source (MIT)
Pbi Cli pros
- Open source under MIT license with source on GitHub
- 30K+ downloads and 440+ GitHub stars
- 27 command groups and 13 Claude skills installed with one command
- Supports TMDL export/import and model diffing as a CI gate
- Adds and binds visuals across 32 visual types without a Desktop session
- Installs isolated via pipx on Python 3.10 or newer
Pbi Cli cons
- Requires Power BI Desktop and .NET interop for semantic model operations
- Report layer only supports PBIR JSON format
- Designed specifically for Claude Code; not a general-purpose tool
- The PyPI package must be named pbi-cli-tool, not the shorter pbi-cli name
Frequently asked questions about Pbi Cli
What is pbi-cli?
A free, open-source Python CLI that gives Claude Code the ability to build, manage, and deploy Power BI semantic models and reports. It offers 27 command groups and 13 Claude skills.
How much does pbi-cli cost?
It is free and open source under the MIT license. The developer also offers a free 30-minute consulting call.
How do I install pbi-cli?
Run `pipx install pbi-cli-tool` to install the CLI on Python 3.10 or newer, then `pbi-cli skills install` to drop the skills into Claude Code. Note the PyPI package is pbi-cli-tool, not pbi-cli.
Can it create measures in bulk?
Yes. It connects through .NET interop to a running Power BI Desktop session, allowing measures to be created and edited in bulk rather than one dialog at a time.
Does it support version control for Power BI models?
Yes. It exports and imports TMDL, and can diff two models to serve as a CI gate, with atomic transactions that roll back on failure.
Can it edit Power BI reports without Desktop open?
Yes. The report layer works directly on PBIR JSON files, so no Desktop session is needed to add visuals, manage pages, bookmarks, and apply themes.
What visual types are supported?
It can add and bind visuals across 32 visual types, from bar charts to Azure Maps, including setting formatting and bulk updates.
Can it test row-level security?
Yes. It supports row-level security roles, lets you audit model health, and test RLS as a specific role.
Who is pbi-cli for?
Power BI developers and analysts who use Claude Code and want to speed up the authoring loop of measures, models, and reports by describing changes in natural language.
Can it build custom visuals?
Yes. It can scaffold, build, and package a custom .pbiviz visual in TypeScript.