lawmatics mcp for LangChain
io.github.oktopeak/lawmatics-mcp
Connect Claude to Lawmatics: matters, contacts, pipelines, tasks, forms, custom fields, invoices.
client:LangChain
transport:stdio
runtime:npm
Install lawmatics mcp in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"lawmatics-mcp": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@oktopeak/lawmatics-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs