Skip to content
LangChain

Rulewise for LangChain

io.github.malithjayasinghe2000/rulewise

Warns developers which Sri Lankan laws apply to what they build. Legal information, not advice.

client:LangChain transport:streamable-http tools:4

Install Rulewise in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "rulewise": {
            "transport": "streamable_http",
            "url": "https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/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

Rulewise in other clients