Skip to content
LangChain

Horizun PBI MCP for LangChain

io.github.horizungroup/horizun-pbi-mcp

Build, audit and repair Power BI Desktop models and PBIP reports with DAX, TMDL and PBIR.

client:LangChain transport:stdio runtime:pypi

Install Horizun PBI MCP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "horizun-pbi-mcp": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["horizun-pbi-mcp"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

Horizun PBI MCP in other clients