npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

powerbi-kit

v0.1.0

Published

Power BI agentic workspace setup for OpenCode.

Downloads

24

Readme

powerbi-kit

npm version CI license: MIT node >=18 OpenCode Power BI Modeling MCP

Power BI agentic workspace setup for OpenCode.

powerbi-kit scaffolds a local workspace with Power BI agents, skills, MCP presets, and a PBIX testing manual. It is OpenCode-first for 0.1.0, uses Microsoft's official Power BI Modeling MCP, and keeps Power BI Desktop in control of the open PBIX.

Status: experimental MVP. The OpenCode + Power BI Modeling MCP path has been validated locally; broader adapter support is still evolving.

Why

Power BI agent work needs more than a prompt. A useful workspace needs model-aware agents, DAX and Power Query skills, safe MCP permissions, repeatable setup, and a clear way to test against an open PBIX.

powerbi-kit gives you that baseline in one command.

Install

Use it directly with npx:

npx powerbi-kit --opencode

Or install into a dedicated project folder:

mkdir E:\DEV\teste-powerbi-opencode
mkdir E:\DEV\teste-powerbi-opencode\pbix
npx powerbi-kit --opencode --target E:\DEV\teste-powerbi-opencode

Local development from this repository:

node E:\DEV\powerbi-kit\bin\powerbi-kit.js --opencode --target E:\DEV\teste-powerbi-opencode
node E:\DEV\powerbi-kit\bin\powerbi-kit.js doctor --target E:\DEV\teste-powerbi-opencode

Full install notes: docs/INSTALL.md.

Quickstart

  1. Create a workspace and a pbix folder.
  2. Copy a .pbix file into pbix\.
  3. Open the PBIX in Power BI Desktop.
  4. Install the kit:
npx powerbi-kit --opencode --target E:\DEV\teste-powerbi-opencode
  1. Validate the workspace:
npx powerbi-kit doctor --target E:\DEV\teste-powerbi-opencode
  1. Open OpenCode in that folder and run:
Use the registered Power BI Modeling MCP tools, not shell commands. Connect to the open Power BI Desktop model, then list tables, measures, relationships, and connection status.

PBIX smoke test guide: docs/OPEN_CODE_PBIX_TESTING.md.

What You Get

The OpenCode install writes:

  • AGENTS.md
  • .powerbi-kit/agents/
  • .powerbi-kit/skills/
  • .powerbi-kit/mcp/
  • .opencode/agent/*.md
  • .opencode/skills/*/SKILL.md
  • .opencode/README.md
  • opencode.json
  • docs/OPEN_CODE_PBIX_TESTING.md

Agent team:

  • powerbi-orchestrator: routes broad Power BI requests.
  • powerbi-modeler: works with semantic model metadata and MCP operations.
  • dax-specialist: reviews and creates DAX safely.
  • power-query-specialist: handles Power Query/M, sources, parameters, and refresh flow.
  • data-engineer: handles source contracts, SQL, ETL, and data quality.
  • report-documenter: creates model and measure documentation.
  • report-qa: checks reports against acceptance criteria.

Safety Model

The kit does not parse .pbix files directly. For live model inspection, open the PBIX in Power BI Desktop and let Power BI Modeling MCP connect to the running local model.

Default MCP mode is readonly. It can inspect model metadata but should not write changes. To allow edits:

npx powerbi-kit --opencode --target E:\DEV\teste-powerbi-opencode --mcp-mode readwrite

Or edit opencode.json and remove only --readonly from mcp.powerbi-modeling.command.

After changing MCP permissions, restart or reload OpenCode MCP connections. Do not close or restart Power BI Desktop as part of MCP recovery unless you intentionally want to close the open PBIX.

MCP Modes

# Safe default: inspect only
npx powerbi-kit --opencode --target E:\DEV\teste-powerbi-opencode --mcp-mode readonly

# Allows model edits after MCP reload
npx powerbi-kit --opencode --target E:\DEV\teste-powerbi-opencode --mcp-mode readwrite

opencode.json includes:

  • powerbi-modeling via npx -y @microsoft/powerbi-modeling-mcp@latest --start --compatibility=powerbi
  • context-mode via npx -y context-mode

Use this inside the generated project to verify the MCP is loaded:

opencode mcp list

Troubleshooting guide: docs/MCP_TROUBLESHOOTING.md.

Roadmap

Near-term direction:

  • OpenCode-first 0.1.x validation.
  • Stronger Power BI Modeling MCP workflows.
  • Better docs for safe read/write model changes.
  • Antigravity support after OpenCode is stable.
  • PBIP/TMDL fallback workflows.

Full roadmap: docs/ROADMAP.md.

Contributing

Contributions are welcome while the project is still small and explicit. Read CONTRIBUTING.md before opening a PR.

Release process is manual for now. See docs/RELEASE.md.

Release Safety

Before publishing:

npm test
npm run release:check

This project is MIT licensed.