DAX Formatter is a service by SQLBI that formats DAX expressions following the rules for DAX code formatting and reports their syntax errors. This repository holds the packages that call it from your own code and from AI clients.
| Package | Published as | What it does |
|---|---|---|
| .NET client library | Dax.Formatter on NuGet |
Formats DAX from .NET applications |
| MCP server | @sqlbi/daxformatter-mcp on npm |
Formats DAX from AI clients that support the Model Context Protocol, running locally over stdio |
The service also hosts a remote MCP server, which needs nothing installed.
- User documentation: SQLBI Docs.
- Connecting an AI client: to the remote MCP server or to the stdio MCP server.
Report bugs and request features in GitHub Issues. Report security vulnerabilities privately, as the security policy explains.
See CONTRIBUTING.md.