Skip to content
LangChain

Semantic Warehouse for LangChain

io.github.grkapoor17/semantic-warehouse-mcp

Guarded read-only SQL plus dbt semantic-layer metrics for AI agents, over a DuckDB warehouse.

client:LangChain transport:stdio runtime:npm

Install Semantic Warehouse in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "semantic-warehouse-mcp": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "semantic-warehouse-mcp"],
        }
})

tools = await client.get_tools()

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

Semantic Warehouse in other clients