Skip to content
LangChain

Date Math Calculator for LangChain

com.apished/date-math-calculator

Date arithmetic: day differences, business days, age, leap years, day-of-week, add/subtract.

client:LangChain transport:streamable-http tools:6

Install Date Math Calculator in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "date-math-calculator": {
            "transport": "streamable_http",
            "url": "https://apished.com/mcp/v1/datemath",
        }
})

tools = await client.get_tools()

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

What LangChain can do once it is connected

Date Math Calculator in other clients