# pbi-cli — Power BI Skills for Claude Code > pbi-cli is a Python CLI that installs Claude Code skills for Power BI models and PBIR reports. Get started with pipx + `skills install`. ## Install Copy the content below into your project: ## Quick Use ```bash pipx install pbi-cli-tool pbi-cli skills install pbi connect # then ask Claude Code to work with your model/report ``` ## Intro pbi-cli is a Python CLI that installs Claude Code skills for Power BI models and PBIR reports. Get started with pipx + `skills install`. **Best for:** Power BI users who want Claude Code to query and refactor models/reports **Works with:** Windows + Python 3.10+, Power BI Desktop, Claude Code skills **Setup time:** 6-15 minutes ### Key facts (verified) - GitHub: 286 stars · 81 forks · pushed 2026-05-13. - License: MIT · owner avatar + repo URL verified via GitHub API. - README-verified entrypoint: `pip install pbi-cli-tool`. ## Main - Use the two-layer approach described in README: connect to Power BI Desktop for semantic-model operations, and operate on PBIR JSON directly for report-layer changes. - Treat `skills install` as the key step: it registers the skill bundle so Claude Code can discover capabilities without you memorizing commands. - If PATH issues happen on Windows, prefer pipx (README explains why pip installs often land outside PATH). ### Source-backed notes - README Get Started flow is three commands: `pipx install pbi-cli-tool`, `pbi-cli skills install`, `pbi connect`. - README states it requires Windows with Python 3.10+ and Power BI Desktop running for the semantic-model layer. - README says Claude Code discovers 13 Power BI skills after installation. ### FAQ - **Is this an MCP server?**: No — README explicitly says ‘No MCP server’ and uses in-process interop for desktop model operations. - **Do reports require Desktop running?**: README says report-layer work can operate on PBIR files without a connection. - **Why pipx?**: README recommends pipx because it handles PATH automatically on Windows. ## Source & Thanks > Source: https://github.com/MinaSaad1/pbi-cli > License: MIT > GitHub stars: 286 · forks: 81 --- ## Quick Use ```bash pipx install pbi-cli-tool pbi-cli skills install pbi connect # then ask Claude Code to work with your model/report ``` ## Intro pbi-cli 是 Python CLI:安装一次即可为 Claude Code 注册 Power BI 技能,用于操作语义模型与 PBIR 报表。README 给出 `pipx install` 与 `pbi-cli skills install` 的一键流程。 **Best for:** 希望让 Claude Code 直接操控 Power BI 模型/报表的 BI 开发者 **Works with:** Windows + Python 3.10+;Power BI Desktop;Claude Code skills **Setup time:** 6-15 minutes ### Key facts (verified) - GitHub:286 stars · 81 forks;最近更新 2026-05-13。 - 许可证:MIT;作者头像与仓库链接均已通过 GitHub API 复核。 - README 中核对过的入口命令:`pip install pbi-cli-tool`。 ## Main - 按 README 的“两层架构”来用:语义模型层需要连接 Power BI Desktop;报表层可直接读写 PBIR JSON。 - 核心步骤是 `skills install`:它把技能包注册给 Claude Code,让你不必记住一堆 CLI 子命令。 - Windows 上如果遇到 PATH 问题,优先用 pipx;README 解释了 pip 安装常把命令放到不在 PATH 的目录。 ### Source-backed notes - README 的 Get Started 给出三步:`pipx install pbi-cli-tool`、`pbi-cli skills install`、`pbi connect`。 - README 写明语义模型层需要 Windows + Python 3.10+,且 Power BI Desktop 需处于运行状态。 - README 提到安装后 Claude Code 可发现 13 个 Power BI skills。 ### FAQ - **这是 MCP server 吗?**:不是。README 明确写了 ‘No MCP server’,语义模型层走进程内互操作。 - **改报表必须开 Desktop 吗?**:不必。README 说明报表层可直接操作 PBIR 文件,无需连接。 - **为什么推荐 pipx?**:README 推荐 pipx 因为它会自动处理 PATH,避免 Windows 下命令找不到。 ## Source & Thanks > Source: https://github.com/MinaSaad1/pbi-cli > License: MIT > GitHub stars: 286 · forks: 81 --- Source: https://tokrepo.com/en/workflows/pbi-cli-power-bi-skills-for-claude-code Author: Script Depot