Skip to content
LangChain

llmxray for LangChain

io.github.lognebudo/llmxray

What went wrong with your own Ollama calls, in sentences with the fix. Local, read-only.

client:LangChain transport:stdio runtime:npm

Install llmxray in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

llmxray in other clients