Daxlib MCP
MCP server by daxlib Verified · npm:@daxlib
Daxlib MCP is a local MCP server for DAX Lib, a public gallery of reusable DAX function packages. It lets an AI assistant search packages, get DAX functions as DEFINE blocks, and install them into Power BI Desktop models.
Install Daxlib MCP
Built from the published package, never by AI.
claude mcp add daxlib-mcp -- npx -y @daxlib/mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"daxlib-mcp": {
"args": [
"-y",
"@daxlib/mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"daxlib-mcp": {
"args": [
"-y",
"@daxlib/mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"daxlib-mcp": {
"args": [
"-y",
"@daxlib/mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add daxlib-mcp -- npx -y @daxlib/mcp{
"mcpServers": {
"daxlib-mcp": {
"args": [
"-y",
"@daxlib/mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add daxlib-mcp npx -y @daxlib/mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the daxlib-mcp block.
About
DAX Lib MCP server is a local Model Context Protocol server for DAX Lib, a public gallery of reusable DAX user-defined function packages. It gives an MCP-compatible assistant, such as Claude, GitHub Copilot or Codex, three capabilities: searching the catalog and inspecting package metadata, versions and READMEs, getting a package's functions as a DEFINE block for a DAX query, and installing functions into a semantic model open in Power BI Desktop.
The server is started with npx and needs Node.js 18 or later. Installing packages requires Power BI Desktop and a model at compatibility level 1702 or later, and the published package supports Windows x64 only. No configuration file, environment variables or API keys are needed. It is aimed at Power BI and DAX authors who want to reuse community functions.
Written from the project's README and checked against it.
Tools it gives your assistant
search_packagesSearches the DAX Lib catalog by keyword, with paging and optional prereleases.get_packageReturns the description, authors, tags, links, release notes and published versions of a package.get_package_readmeReturns the README published with a package version.get_function_definitionsReturns a DAX query DEFINE block with selected package functions and the functions they call.list_local_instancesLists the Power BI Desktop instances running on the local machine with their connection details.install_packageInstalls a DAX Lib package into a local Power BI Desktop model.
What you need
- Node.js 18 or later
- Power BI Desktop, required only to install packages
- Model at compatibility level 1702 or later for installation
- Windows x64 for the published package with all tools
Try asking
- Search DAX Lib for packages that generate SVG images.
- Give me the DEFINE block for DaxLib.SVG.Viz.Pill.
- Install DaxLib.SVG into the Sales Report model.
Good to know
- Installation into a model requires Power BI Desktop and compatibility level 1702 or later.
- Only Windows x64 is published. Linux, macOS and Windows ARM64 are not currently published.
- Some functions published before a DAX parser change cannot run in a query because part of their name is reserved.
- Packages on DAX Lib are contributed by the community under their own licenses.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Daxlib MCP
All alternatives →World Monitor is a real-time global intelligence dashboard covering conflict, markets, energy, trade, shipping and cyber. Its MCP server gives AI assistants access to that data, and it is aimed at analysts, agents and scripts.
Lets AI agents create and change Power BI semantic models through a local MCP server. Built for developers who want natural language modeling in Power BI Desktop, Fabric workspaces and PBIP files.
Seal Open Data serves French public datasets from data.gouv.fr to AI assistants. It covers topics such as territories, companies, housing and population. It is aimed at users who want to query French open data from clients like Claude.
OpenMetadata MCP server lets MCP-compatible assistants search metadata, inspect lineage, and manage data quality tests. It is for data teams and AI agents that need governed context about enterprise data.
Compiles, validates and renders semantic chart specs for AI assistants through the Model Context Protocol. It is for agents that need reliable, good-looking and interactive charts across several chart libraries.
Query PostHog analytics, manage feature flags and experiments, and investigate errors from your AI assistant. It suits product teams and developers who already use PostHog for analytics, replays, and error tracking.
Compare with World Monitor, Power BI Authoring MCP Server (Local) or Seal Open Data
Daxlib MCP: common questions
Does Daxlib MCP need Power BI Desktop?
Only to install packages into a model. Getting a DEFINE block needs no Power BI Desktop instance and no installation.
Which platforms does Daxlib MCP support?
The published package supports Windows x64 with all tools. Linux, macOS and Windows ARM64 are not currently published.
Does a DEFINE block change my semantic model?
No. The functions apply to that DAX query only, and a function in the block replaces a model function with the same name for that query only.
How do I install Daxlib MCP?
In Claude Code run claude mcp add daxlib-mcp -- npx -y @daxlib/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Daxlib MCP the official server?
Daxlib MCP is published by npm:@daxlib from its verified domain in the official MCP Registry.
Is Daxlib MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Daxlib MCP safe to use?
It scores 67 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Daxlib MCP?
Similar MCP servers: World Monitor, Power BI Authoring MCP Server (Local), Seal Open Data, OpenMetadata.
Does Daxlib MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
