SuperAPIAI Directory

vilsem-mcp

github.com · AI developer platforms

vilsem-mcp is a local MCP server for Power BI that lets AI agents such as Claude Code and Codex create custom visualizations in existing Power BI reports. It does not generate charts; instead, it provides agents with model structure, real data, previews, and controlled report editing capabilities, while the calling agent designs the charts. The project is currently a 0.9 evaluation prerelease and must be used on Windows with Power BI Desktop.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

vilsem-mcp is the custom visualization layer for Power BI, serving “agent-driven Power BI authoring.” It does not create charts itself; instead, it provides MCP-capable agents such as Claude Code and Codex with model access, real data, previews, and safe report editing capabilities, and the agent completes the visualization design. MCP does not include a model and does not require an LLM API key; the calling agent's own services or account may incur charges.

Main capabilities and usage:

  • Provides tools such as get_schema that let agents discover fields and structure in the report model; for large models, it is recommended to first get an overview with profile:false and then analyze specific tables as needed.
  • Supports three authoring levels: composition (supported chart types and configurations), templates (ECharts structure, declarative slots and parameters), and expression series (a closed JSON AST describing restricted custom geometry, executed by a trusted interpreter, rejecting arbitrary renderItem/JavaScript).
  • Provides real data previews, validation (validate_visuals only checks Vilsem objects), and submission of visualizations to existing pages.
  • Provides an operation manual to agents via get_playbook; the manual can also be installed as a native skill.
  • Supports client integration for Claude Code plugins, Claude Desktop extensions (.mcpb), manual JSON configuration, Codex, GitHub Copilot, and others.

Environment and installation key points:

  • Requires Windows, Node.js 22.12+/24/26+, Power BI Desktop (August 2026 or later is recommended to support external live reload), and a local MCP-capable agent.
  • The server and Power BI Desktop must run on the same Windows machine; no npm registry publication is provided, so a fixed GitHub Release must be installed.
  • The report must be saved as a PBIP project and use the enhanced PBIR format; MCP does not directly modify the PBIX binary.
  • “Detect and reload external PBIP changes” must be enabled in Desktop. After the first Vilsem visualization is submitted, the report must be closed and reopened (without saving); subsequent submissions only need to respond to the external change prompt.

Use cases: In existing Power BI reports, use AI agents to quickly build custom visualizations outside the native catalog and preview and iterate based on real model data. Can be used with Microsoft's Power BI Report skill (native visuals) and Power BI Modeling MCP (model changes).

Limitations and status: The current version is the 0.9.3 evaluation prerelease (@vilsem/core 0.8.3, Vilsem Renderer 4.46.0.0), suitable for testing on report copies; production readiness, certification, and full consistency across targets have not yet been established. Passing tests does not mean that all visuals, properties, datasets, interactions, or exports are available. Before publishing or sharing, ensure that the report contains no visual-scoped measures. Browser dynamic previews require Chrome/Edge/Chromium or setting VILSEM_PREVIEW_BROWSER_PATH; static previews do not require a browser. Network/UNC paths and file URLs are rejected in all path parameters.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools