Tw Law for LangChain
io.github.pipeworx-io/tw-law
tw-law — Taiwan national statutes and the Constitution, in Chinese plus the Ministry of Justice's…
client:LangChain
transport:streamable-http
Install Tw Law in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"tw-law": {
"transport": "streamable_http",
"url": "https://gateway.pipeworx.io/tw-law/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs