Skip to content
LangChain

Dharma Sources for LangChain

io.github.gyatsodawa/dharma-sources

Quote Buddhist texts exactly as SuttaCentral, CBETA, 84000, Lotsawa House and BDRC publish them.

client:LangChain transport:streamable-http tools:4

Install Dharma Sources in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "dharma-sources": {
            "transport": "streamable_http",
            "url": "https://dharma-sources.gyatsodawa.com/mcp",
        }
})

tools = await client.get_tools()

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

What LangChain can do once it is connected

Dharma Sources in other clients