Open-source MCP server

Power BI MCP

Generate Power BI dashboards from natural language. Point it at a CSV, or connect your data to an existing .pbip report, describe the dashboard you want, and get a .pbip Report folder that Power BI Desktop opens directly.

Power BI report showing real GDP growth for advanced economies from 1980 to 2025 as a bar chart, with region, time period and view controls
Example report built with Power BI MCP

What it does

Power BI MCP (SimBI MCP on GitLab) gives AI assistants such as Claude and Cursor 8 tools and 1 resource for building Power BI reports over local .pbip projects.

It profiles your data, writes and lints the semantic model's TMDL, and turns an annotated HTML mockup into a PBIR report folder with a professional default theme baked in. It only writes the .Report folder; Power BI Desktop creates the .pbip and semantic model.

  1. 01 · Your data

    sales.csv
    Region · OrderDate · Revenue
  2. 02 · Annotated mockup

    <div data-pbi="card"
      data-pbi-measure="Total Revenue">
    <div data-pbi="columnChart"
      data-pbi-axis="sales[Region]"
      data-pbi-values="Total Revenue">
  3. 03 · Power BI report

    Sales.Report/
      definition/report.json
      pages/…/page.json
      pages/…/visuals/…/visual.json

How it works

  1. 01

    Profile your data

    analyze_data_source inspects a CSV or Excel file: columns, types, null stats and wide-format layouts that need unpivoting.

  2. 02

    Build the semantic model

    write_semantic_model saves agent-authored TMDL into the .SemanticModel folder, or the Microsoft Power BI MCP builds a live model you export to TMDL.

  3. 03

    Parse the schema

    parse_schema converts the TMDL into the schema JSON the layout and validation tools use.

  4. 04

    Design an annotated mockup

    The assistant reads the annotation vocabulary and writes an HTML mockup with data-pbi-* annotations.

  5. 05

    Validate the mockup

    validate_mockup_html checks the annotations against the schema without rendering or writing files.

  6. 06

    Emit the report

    emit_report renders the mockup in Chrome, extracts visual positions and writes the .Report folder beside your .pbip.

Close Power BI Desktop before emit_report runs, then open the .pbip fresh. While the file is open, Desktop ignores changes to the .Report folder.

8 tools and 1 resource

  • analyze_data_source

    Profiles a CSV or Excel file's structure before authoring TMDL.

  • write_semantic_model

    Writes TMDL into the .SemanticModel folder, normalising reserved names and indentation and rejecting load-blocking errors.

  • parse_schema

    Converts TMDL text or a folder of .tmdl files into schema JSON.

  • lint_measures

    Advisory DAX lint for a narrow set of mechanical mistakes, such as unknown tables or columns and invalid lineage tags.

  • get_vocabulary

    Returns the data-pbi-* annotation vocabulary and CSS class catalog for mockups.

  • validate_mockup_html

    Dry-runs an annotated mockup against the schema, with no render and no files written.

  • get_theme_schema

    Documents the report theme: Microsoft's CY25SU10 base, SimBI's default visual styles and your optional overrides.

  • emit_report

    Renders the mockup in Chrome and writes the PBIR .Report folder beside an existing .pbip.

Resource

simbi://annotation-vocabulary

The annotation spec and CSS class catalog the assistant reads once per session.

Coming soon

Custom visuals

Built and tested in Power BI Desktop; not yet part of the released server.

Deneb (Vega-Lite) custom visuals

Reports that include Deneb visuals with their Vega-Lite spec embedded, such as bar charts and row-level box plots.

SVG measures in tables and cards

Sparklines, share bars, trend arrows and badges drawn as SVG image measures in native tables and the new card visual.

Cross-filtering from Deneb to native visuals

Selections in a Deneb visual filter the report's native visuals.

Get started

You'll need

  • Python 3.11+ and uv
  • Google Chrome (used to lay out the report)
  • Power BI Desktop, to create the .pbip and open the result
  • Optional: the Microsoft Power BI MCP, to build a live semantic model