Power BI Translation Workspace
VS Code extension that auto-configures a Claude Code translation workspace when you open a Power BI .pbip project.
What It Does
- Detects Microsoft's Power BI Modeling MCP extension on your machine
- Generates
.mcp.json with the correct path to the MCP server binary
- Copies the translation toolkit into your workspace:
CLAUDE.md — Agent instructions for Claude Code
TRANSLATION_PLAYBOOK.md — Full 10-phase translation process
pbip_translate_display_names.py — Bulk nativeQueryRef → displayName script
translation_map_sv-SE.json — Swedish translation dictionary (109 terms)
mcp-translation-audit/ — MCP server for translation validation (PASS/FAIL)
Prerequisites
- VS Code 1.80+
- Microsoft's Power BI Modeling MCP extension — install from the VS Code Marketplace
- Claude Code — the CLI tool that reads
.mcp.json and uses the MCP servers
- Python 3.10+ — for the translation scripts and audit server
Installation
- Install the Power BI Modeling MCP extension from the VS Code Marketplace
- Install this extension
- Open a folder containing a
.pbip file
- The extension auto-configures on first open (or run
Power BI Translation: Setup Workspace from the Command Palette)
- Restart Claude Code to load MCP servers
Usage
Automatic Setup
Open any folder containing a .pbip file. On first activation, the extension:
- Finds the Power BI MCP binary
- Writes
.mcp.json with the real path
- Copies toolkit files (won't overwrite existing)
Manual Setup
Open Command Palette (Ctrl+Shift+P) and run:
Power BI Translation: Setup Workspace
This re-detects the MCP binary and offers to overwrite existing files if the bundled versions are newer.
Translation Workflow
Once set up, tell Claude Code:
"translate using the playbook"
Claude Code reads CLAUDE.md and TRANSLATION_PLAYBOOK.md, then executes the full 10-phase translation pipeline using MCP tools and file editing.
- Windows x64 / ARM64
- macOS x64 / ARM64
License Note
This extension is MIT licensed. However, the Power BI Modeling MCP binary (powerbi-modeling-mcp.exe) is Microsoft's proprietary software under their preview license. This extension detects it on your machine — it does not redistribute it.
License
MIT