Skip to main content
Glama
MCP_powerbi_TS

MCP_powerbi_TS

by Mavline

MCP_powerbi_TS

TypeScript MCP (Model Context Protocol) server for Power BI Desktop integration. Connects to a running Power BI Desktop instance through its local Analysis Services (XMLA) endpoint and exposes a set of specialized agents for model work: running DAX queries, inspecting and editing table structure, and managing model relationships.

Layout

src/
  index.ts    entry point
  agents/     13 specialized agents (DAX, tables, relationships, ...)
  server/     MCP server wiring
  services/   XMLA / Power BI connection services
  types/      shared types
  utils/      helpers
tests/        unit and integration tests (synthetic star-schema demo data)

Related MCP server: Claude Power BI MCP

Install & build

npm install
npm run build   # tsc -> dist/

Use with an MCP client

Power BI Desktop must be running with the target model open (the server discovers the local XMLA port).

{
  "mcpServers": {
    "powerbi": {
      "command": "node",
      "args": ["<path-to-repo>/dist/index.js"]
    }
  }
}

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables Claude Code to read and modify Power BI data models locally, including searching DAX formulas and editing measures through a direct SSAS connection.
      MIT
    • A
      license
      B
      quality
      A
      maintenance
      Enables AI agents to author and edit Power BI files locally (.pbix/PBIP), covering semantic models, reports, and Power Query M with 490 tools.
      100
      23 npm
      3
      Cryptographic Autonomy 1.0 (Combined Work Exception)
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables authorized AI agents to inspect, query, create, modify, validate, refresh, and manage eligible cloud semantic models in Microsoft Fabric and Power BI through stateless Streamable HTTP.
      -