Corpus Law for LangChain
us.corpuslaw/corpus-legal
Search and cite US law from official sources, then form an LLC or nonprofit with free agent tools.
client:LangChain
transport:streamable-http
tools:11
Install Corpus Law in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"corpus-legal": {
"transport": "streamable_http",
"url": "https://corpuslaw.us/api/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs