Horizun PBI MCP
OfficialHorizun PBI MCP provides 127 tools across live model (ADOMD.NET/TOM) and on-disk (TMDL/PBIR) layers for Power BI Desktop and .pbip projects, covering:
Connection & DAX: Discover and select open models, run read-only DAX queries, validate DAX syntax (dry-run), test connections.
Model Documentation: List tables/measures/relationships/hierarchies/roles/partitions; analyze model quality; generate Markdown documentation; search objects; show dependencies.
Model Editing: Create/update/delete measures, calculated columns/tables; add tables from files; hide/show columns; set cross-filter direction, storage mode, auto date/time; build relationships/hierarchies.
Refresh & Desktop: Refresh model (full, calculate, per table); open .pbip/.pbix in Desktop; capture Desktop screenshot.
PBIP Project Management: Open, validate, backup, create projects; convert .pbix to .pbip (single/batch); inspect .pbix; list convertible files.
Report & Visual Editing (PBIR): List pages/visuals; create, duplicate, delete visuals; update titles, positions, Z-order, conditional formatting; replace fields, copy formats; align/distribute visuals; detect layout overlaps.
Page Generation & Design: Generate page specs from presets; validate, preview (HTML), diff, and apply specs; compose pages with design systems; propose dashboard designs; export page HTML.
Page Management: Create, duplicate, rename, reorder, delete pages.
Themes & Design Systems: List and apply themes/design systems (with accessible palettes); set canvas size, grid, typography.
Resources & Bookmarks: Add/list image resources; create/list/delete bookmarks.
Auditing & Quality: Audit model, report, or full project with scoring; profile data anomalies; plan and apply auto-fixes; list rules.
Safety & Recovery: Health/capabilities checks; journal-based recovery; dry-run change plans with confirmation required; backup purge.
Navigation & Discovery: Guided entry point (
pbi_start_here), dashboard proposals, building blocks inventory, capabilities snapshot.
All destructive actions require explicit confirmation.
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., "@Horizun PBI MCPList all measures and their DAX formulas."
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.
Horizun PBI MCP
Build and fix Power BI reports by describing what you want. Ask in plain language; the server runs the DAX, edits the model, writes the report pages — and checks its own work afterwards.

v2.0.2 · 134 tools · Windows · Python 3.10+ · Claude Code, Codex, any MCP client
Install
No repository clone, manual DLL download or .mcp.json editing is required.
Pick the line that matches you.
Claude Code
claude plugin marketplace add HorizunGroup/horizun-pbi-mcp
claude plugin install horizun-pbi-mcp@horizunCodex
codex plugin marketplace add HorizunGroup/horizun-pbi-mcpThen open /plugins, pick the Horizun marketplace and install
horizun-pbi-mcp.
Or just ask the agent — easiest of all
Paste this into Claude Code or Codex and let it install itself:
Install Horizun PBI MCP from
HorizunGroup/horizun-pbi-mcp. Complete the runtime setup, watchpbi_install_statusuntil it reportsready, restart the session, and confirm the 134pbi_*tools are available.
A brand-new Windows PC
One paste in PowerShell installs the prerequisites first — version-pinned and
SHA-256 verified, no administrator rights. See docs/INSTALL.md.
Finishing up
The first setup downloads the runtime and takes a few minutes. Run
pbi_install_status until it says ready, then restart your client once so the
tools load. If anything looks stuck, docs/INSTALL.md covers
repair and offline installs.
Related MCP server: Semantic Model MCP Server
Your first minute
Open Power BI Desktop with any report.
Ask: "List the Power BI models that are open and connect to the first one."
Ask: "Run a read-only DAX query that returns revenue by month for this year."
If step 2 answers, everything works.
Things worth asking for
Audit this PBIP project and explain the highest-risk issues before changing anything.This measure returns blank for December. Find out why.Create a report page from this specification, validate it, and show me the layout.Document every measure in the model and export it to Excel.What it provides
Area | Capabilities |
Live model | Discover Desktop sessions, run DAX, inspect metadata, refresh, and manage measures through TOM |
Semantic model | Read and edit TMDL tables, columns, measures, relationships, roles and calculation groups |
Report authoring | Create pages and visuals, clone templates, arrange layouts, apply themes, bookmarks and interactions |
Conversion | Convert |
Quality | Audit models and reports, document schemas, detect broken references and normalize report structures |
Delivery | Export verified PDF, Word, Excel and PowerPoint artifacts; ingest SharePoint data read-only |
See the tool catalog for all 134 tools and their risk classifications.
Why it is safe to point at real work
Local-first: Power BI Desktop communication stays on
localhost.No telemetry, and the MCP server needs no account.
Project writes stay inside the active project directory.
Every project write makes a backup and is re-read to confirm it landed.
Destructive tools require
confirm=true.JSON writes are atomic; invalid JSON is never written over good JSON.
Downloaded runtime components are version-pinned and SHA-256 verified.
Logs go to stderr or files, so stdout stays a clean JSON-RPC channel.
Full guarantees and failure behavior: security model and recovery guide. Report vulnerabilities privately as described in SECURITY.md.
Requirements
Windows 10 or 11.
Python 3.10 or newer.
Power BI Desktop — only for the live layer (DAX, refresh, capture, render checks).
A
.pbipproject with PBIR enabled, for report-file authoring.Node.js 20+ only for the optional Microsoft PBIR validator.
Claude Code, Codex and Power BI Desktop are external programs; this project does
not install them. Without Desktop the .pbip tools still work — the live tools
do not.
Known limits
Power BI does not expose pages or visuals through its live local endpoint, so those are edited in PBIR files while Desktop is safely closed.
mode="both"is disabled for dual live/disk writes: Desktop being open and a PBIP project being safe to edit are mutually exclusive states.The server does not publish to or refresh the Power BI Service.
Three PBIR schemas referenced by Power BI are not published by Microsoft; affected writes fail closed instead of guessing.
Documentation
Document | Purpose |
Setup, repair, offline installation and MCP client registration | |
First connection through report authoring | |
All tools, grouped by capability and risk | |
Components, boundaries and invariants | |
Threat model and operational guarantees | |
TMDL/PBIR validation layers and known limits | |
Breaking changes from 1.x to 2.0 | |
Development workflow and pull-request requirements |
Development
git clone https://github.com/HorizunGroup/horizun-pbi-mcp.git
cd horizun-pbi-mcp
python -m pip install -e .
python scripts/fetch_libs.py
python scripts/fetch_pbir_schemas.py
python scripts/doctor.pyBefore opening a pull request:
python -m pytest -q
python scripts/doctor.py
python -m tests.contract_utilsThe MCP contract is frozen and checked against tests/golden/tools_v1.json.
Real .pbix, .pbip, credentials, DLLs, outputs and backups are never
committed. See AGENTS.md for the repository invariants.
License
Apache License 2.0. See LICENSE and NOTICE.
MCP Registry
This package is the one published under the server name below. The registry
reads this line from the README of the PyPI package to confirm that whoever
publishes the metadata also owns the package, so it has to live here rather
than in .mcp/server.json alone.
mcp-name: io.github.HorizunGroup/horizun-pbi-mcpMaintenance
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
- AlicenseNot gradedqualityDmaintenanceMCP server for connecting to Microsoft Fabric and Power BI semantic models, enabling workspace browsing, dataset management, TMSL retrieval, DAX queries, model creation/editing, and includes a Best Practice Analyzer with 71 rules.2MIT
- AlicenseNot gradedqualityBmaintenanceLocal MCP server for editing Power BI Project reports saved in PBIR format.GPL 2.0
- FlicenseNot gradedqualityDmaintenanceMCP server for reading and analyzing Fabric semantic models. Supports getting model definitions and executing DAX queries against Power BI datasets.17
Related MCP Connectors
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
Official Microsoft MCP Server to query Microsoft Entra data using natural language
MCP Server for Slima - AI Writing IDE for Novel Authors with AI Beta Reader.
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/HorizunGroup/horizun-pbi-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server