Skip to content
LangChain

dayrule for LangChain

io.github.cloudcorprecords/dayrule

NZ working-day math with the law section cited, holidays, and IRD, NZ bank and ABN checks.

client:LangChain transport:stdio runtime:npm

Install dayrule in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "dayrule": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@reneturcios/dayrule"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

dayrule in other clients