1. Conduid
  2. Developer Tools
  3. Powerbi MCP Server
MCP server · Developer Tools

Powerbi MCP Server

MCP server for controlling Power BI Desktop through Claude

Unclaimed MIT last commit 11 months ago devtools
39Low

Scored 8 days ago · breakdown

About Powerbi MCP Server

Powerbi MCP Server is an MCP server published by enelyse in the Developer Tools category: mCP server for controlling Power BI Desktop through Claude.

The repository has 27 stars and 7 forks, with the last commit 11 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/enelyse/powerbi-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Powerbi MCP Server

Powered by Claude · Grounded in docs

I know everything about Powerbi MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.

1 check has not been run yet.

README

Power BI Desktop MCP Server

Python Version License Tests Coverage

⚠️ Alpha version – APIs and behaviours may change without notice.

Power BI Desktop MCP Server lets Claude (or any MCP client) talk to a running Power BI Desktop instance using natural language. It bridges the Model Context Protocol to the Tabular Object Model so you can inspect, optimize, and author DAX without leaving chat.

Installation

Step-by-step setup (Power BI prerequisites, .NET libraries, environment variables) lives in INSTALLATION.md.

For local development:

pip install -e .
# or install from the current directory:
pip install .

Quick Example

List the tables in your current Power BI model:

python examples/list_model_info.py --include-columns

Export measures to the knowledge base:

python examples/export_measures_to_knowledge_base.py --project "Executive Dashboard"

Run the optimizer on an expression:

python examples/optimize_dax.py --expr "CALCULATE(SUM(Sales[Amount]), FILTER(ALL(Date), Date[Year] = 2024))"

Configuration

  • Copy .env.example to .env and set TOM_DLL_PATH if the Microsoft Analysis Services DLLs are not auto-detected. Optional variables include LOG_LEVEL, MCP_KNOWLEDGE_BASE, and POWERBI_WORKSPACE_NAME.

  • Add the CLI entry point to Claude Desktop (or any MCP host):

    {
      "mcpServers": {
        "powerbi": {
          "command": "powerbi-mcp-server",
          "args": []
        }
      }
    }
    
  • The CLI is a thin wrapper around python -m powerbi_mcp.server, so either invocation works for deployments and debugging.

Features

  • DAX code generation and measure creation
  • Measure and table metadata inspection
  • DAX optimizer with rule-based suggestions
  • TMDL import/export helpers
  • Knowledge base bridge for storing curated measures
  • Example scripts for quick automation (examples/ directory)

Known Issues

  • Power BI visuals live outside the XMLA endpoint, so visual creation/editing is not supported.
  • The server connects to the most recently opened Power BI Desktop workspace; multiple instances are not yet multiplexed.
  • Write operations require the Power BI model to allow external tools and, in some scenarios, elevated permissions.
  • pythonnet relies on local Microsoft Analysis Services DLLs; misconfigured TOM_DLL_PATH is the most common setup failure.

Contributing

Pull requests are welcome. Please:

  1. Open an issue describing the change if it alters behaviour or APIs.
  2. Keep additions formatted with ruff/black style conventions (if configured) and include type hints.
  3. Add or update example scripts/tests where it helps illustrate new functionality.
  4. Run the example scripts or manual smoke tests before submitting.

Issues and feature requests are tracked at the repository’s GitHub Issues page.

README fetched from the repository 6 days ago. The original is authoritative.

Questions

About Powerbi MCP Server

How do I install Powerbi MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Powerbi MCP Server safe to use with an AI agent?

Its trust score is 39 out of 100 (low). It passes 4 of the 5 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Powerbi MCP Server still maintained?

The last commit was 11 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.