Tabular MCP Server is an MCP server that connects LLM clients to local Tabular models running within Power BI Desktop. Designed for Power BI developers, data analysts, and BI engineers, it enables assistants like Roo Code in VS Code to interact directly with running semantic models. The server uses ADOMD.NET AdomdConnection to bridge the local model port with your development environment. Through this link, LLMs can inspect database metadata, examine tables, inspect relationships, and retrieve detailed measure definitions. It also allows models to validate DAX query syntax, test performance, and execute custom DAX queries against local data. To safeguard confidential information during query generation, the server includes configurable obfuscation modes that mask entire fields, text dimensions, or numeric facts while maintaining semantic context. By providing direct model visibility, Tabular MCP Server helps users draft accurate DAX expressions, debug calculation logic, and analyze model schemas without constantly switching windows or manually inspecting Power BI Desktop.
Category: Data & Analytics
Tags: analysis, bi, dax, powerbi, tabular
.\pbi-local-mcp.DiscoverCli.exe. 5. Register the server in your MCP client configuration (such as .roo/mcp.json for VS Code with Roo): json { "mcpServers": { "MCPBI": { "type": "stdio", "command": "path\\to\\release\\mcpbi.exe", "cwd": "path\\to\\release", "args": ["--port", "YOUR_PBI_PORT"] } } } 6. Replace the binary path and port with your local values, then launch your client to start interacting with the model.Part of MCP Servers
Tabular MCP Server is a Model Context Protocol server that links AI clients to local Tabular model instances running inside Power BI Desktop. It enables LLMs to inspect model schemas, write and validate DAX measures, test query performance, and view data samples through standard tools.
You can find the active port by opening Tabular Editor and checking the port listed in the connection string. Alternatively, run the included discovery executable pbi-local-mcp.DiscoverCli.exe from PowerShell while your PBIX file is open to automatically detect the port and database.
The server requires Windows OS, .NET 8.0 Runtime, an active installation of Power BI Desktop running a PBIX file, and an MCP-compatible client environment such as Visual Studio Code using the Roo extension.
Yes. The server includes obfuscation options configured via startup arguments. You can mask all data, mask only text and date dimensions while keeping numbers visible, or mask facts to preserve dimensional context when sharing query outputs with an LLM.