Mexico Law for LangChain
io.github.pipeworx-io/mexico-law
Mexico law -- federal laws and codes as published by the Chamber of Deputies (the in-force 'Leyes…
client:LangChain
transport:streamable-http
runtime:npm
tools:7
Install Mexico Law in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"mexico-law": {
"transport": "streamable_http",
"url": "https://gateway.pipeworx.io/mexico-law/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs