powerbi-agent
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@powerbi-agentshow me total sales by region for 2024"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
powerbi-agent
🌐 Language: English · Tiếng Việt
⚠️ Windows only. Power BI Desktop ships for Windows only, so the tools that talk to Desktop require Windows 10/11. There is no macOS/Linux build.
An MCP server + skill pack that turns any AI Agent into a data analyst working DIRECTLY on Power BI. Not just a bridge: it also ships the analysis process, the documentation templates and the report design kits that a senior consultant would bring to the job.
Supports Power BI Desktop (local) · Power BI Service (cloud) · PBIP/PBIR project files. Hosts: Claude Code · Codex CLI · Google Antigravity and any stdio MCP client.
🌐 ducnguyen.vn/powerbi-agent · 📘 Full install guide · 🗺️ INDEX.md — the complete repo map · 🤖 AGENTS.md · Roadmap · UAT results
🏛️ Built by KPIM — shared free with the community
The analysis process and report templates were built by KPIM — a consultancy delivering Data & Business Intelligence solutions and in-depth Data & AI training. The workflows and templates here are distilled by many KPIM experts from real engagements and shared FREE with the community, students and data practitioners.
Related MCP server: power-bi-mcp
What you get — four pillars
Pillar | What it means in practice | |
1 | MCP Server | 16 tools so the agent queries DAX, edits the model and writes report pages itself — every query passing a server-side data-safety policy, not a prompt hint. |
2 | Digitized expertise | 4 skills · 8 commands · 1 curator agent · a Knowledge OS. The agent follows a real consultant's process instead of improvising. |
3 | Report design kits | Clone a proven page and rebind the fields — style preserved 100%. Layouts an AI draws from scratch always look off; this fixes that. |
4 | Document templates | 7 markdown deliverables + a 6-sheet Excel + a Power BI theme + 6 mindmaps, ready to fill in for a new project. |
→ Where everything lives, folder by folder: INDEX.md.
Install
Paste this into your agent (Claude Code / Codex / Antigravity):
Clone https://github.com/ducnguyen221/powerbi-agent into ~/.mcp/powerbi-mcp, then run install.ps1 there (read the script first), and restart the MCP host.Or run it yourself:
git clone https://github.com/ducnguyen221/powerbi-agent "$env:USERPROFILE\.mcp\powerbi-mcp"
cd "$env:USERPROFILE\.mcp\powerbi-mcp"
powershell -ExecutionPolicy Bypass -File .\install.ps1The installer builds a .venv, probes for ADOMD.NET/TOM, registers the MCP server on all three
hosts, then installs the 4 skills + 8 commands on each host (the curator agent only lands in Claude Code's agents/ folder — other hosts
get the same capability through the powerbi-knowledge skill). It is
idempotent — safe to re-run. To refresh only the workflows: .\install.ps1 -Only plugin.
Requirements: Windows · Python 3.11+ · ADOMD.NET (bundled with SSMS, or the Analysis Services client libraries).
Or install as a plugin
The same .claude-plugin/marketplace.json works for both Claude Code and Codex — it ships the
skills, commands and agent, but not the 16 MCP tools (run install.ps1 for those).
claude plugin marketplace add ducnguyen221/powerbi-agent && claude plugin install powerbi-agent@powerbi-agent
codex plugin marketplace add https://github.com/ducnguyen221/powerbi-agent && codex plugin add powerbi-agent@powerbi-agentPer-host details: hosts/.
Your first 10 minutes
1. restart your AI host → it picks up the MCP server
2. /powerbi-help → the agent lists what it can do and routes your request
3. /powerbi-setup → designate a project dir (a folder OUTSIDE the repo). Once.
4. /powerbi-new "Revenue report" → it reads past lessons, surveys the data, documents, then buildsAlready have a .pbip you like? /powerbi-scan <path> explains its design;
/powerbi-kit <path> turns it into reusable kits.
Main features
8 commands
Command | What it does |
| List every capability + route your request to the right process |
| Declare the project dir — where all knowledge lives, outside the repo (once) |
| Open a project: its own folder + prior lessons + the analysis process |
| Scan a report's design: every page + theme + DESIGN.md + catalog |
| Distill a report into a set of reusable report-page kits |
| Close a project: handoff checklist + distill + timeline + knowledge packaging |
| Package lessons on 4 axes: tech-stack · industry · business-domain · powerbi |
| "Have we done something like this before?" |
16 tools, in 6 groups
Group | Tools |
Discover |
|
Query 🛡️ |
|
Write model |
|
Templates 🎨 |
|
Distill |
|
Knowledge OS 🧠 |
|
Full table with descriptions: INDEX.md.
4 skills
kpim-analysis (business phase: survey → document → plan) · powerbi-pipeline (9 technical steps) ·
powerbi-mcp (tool reference) · powerbi-knowledge (Knowledge OS).
🛡️ Data safety
Raw data stays inside the Power BI engine — only aggregated results reach the LLM.
aggregate-only, ON by default —
EVALUATE '<table>'andEVALUATE ALL(...)are refused with a rewrite hint towardSUMMARIZECOLUMNS/TOPN. Disable withPOWERBI_AGGREGATE_ONLY=0.PII blocklist + audit log — copy
policy.example.json→policy.jsonand list the columns to block; every query is recorded to<project dir>/audit/*.jsonlwith its verdict and row count.Honest about limits — this guards against accidental leaks. Real security is still RLS on the model plus a least-privilege service principal.
Your project knowledge lives in a project dir you designate, outside the repo. Nobody receives
anyone else's knowledge through git. The only path out is you asking, sanitize=True, and a review.
Runs alongside microsoft/powerbi-modeling-mcp
powerbi-agent doesn't rebuild modeling — it delegates:
claude mcp add powerbi-modeling -s user -- npx -y "@microsoft/powerbi-modeling-mcp@latest" --startTask | Server |
DAX + policy, schema discovery, report/PBIR layer, distill | powerbi-agent |
Bulk table/column/measure/relationship edits, transactions, TMDL, DAX validate | powerbi-modeling (Microsoft) |
Where to go next
🗺️ INDEX.md | Complete repo map: four pillars, every folder, glossary, end-to-end flow |
Working rules for agents + the multi-agent protocol (§4) | |
The digitized expertise: skills, commands, agent | |
How report kits work | |
🗓️ ROADMAP.md | Positioning, architecture, milestones |
Uninstall: .\uninstall.ps1 (keeps files) · .\uninstall.ps1 -RemoveVenv.
Already have a skill with the same name? The installer never deletes a skill it did not create.
If it finds one whose name: matches ours but which lacks our ownership marker, it moves that copy
next to the skills folder (powerbi-agent-backup-<timestamp>\) and installs ours. To keep yours
instead, put an empty file named .powerbi-agent-keep inside its folder — install and uninstall both
leave such a folder completely alone, on every run.
Authors & credit
The KPIM analysis process, tooling, templates and techniques here were built by KPIM (many experts collaborating), technical lead & development by Duc Nguyen (Nguyễn Quang Đức — ducnguyen221) — so an AI Agent can do data analysis like an expert. Shared free with the community and students.
If you reuse the process / templates / tools, please keep the credit to KPIM & Duc Nguyen.
License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityAmaintenanceLocal-first MCP server for Power BI Desktop automation. Automate semantic model changes, DAX, Power Query, Excel, and report layout from MCP-capable AI clients.100MIT
- AlicenseAqualityBmaintenanceAn MCP (Model Context Protocol) server that lets AI agents manage Power BI workspaces, datasets, and refreshes via natural language.112MIT
- Alicense-qualityDmaintenanceA self-hosted MCP server that proxies MCP clients to Power BI, using your own Entra tenant and Azure subscription. It enables DAX queries, workspace listing, and dataset management while preserving user-specific row-level security.2MIT
- Flicense-qualityDmaintenanceA comprehensive MCP server for Power BI DAX query execution, validation, optimization, and intelligent assistance with tools for schema analysis, template generation, and health monitoring.
Related MCP Connectors
Official Microsoft MCP Server to query Microsoft Entra data using natural language
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
GibsonAI MCP server: manage your databases with natural language
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ducnguyen221/powerbi-agent'
If you have feedback or need assistance with the MCP directory API, please join our Discord server