Skip to content
LangChain

timezone mcp for LangChain

io.github.mrfentmen/timezone-mcp

IANA time zone maths offline: the time right now anywhere, wall-clock conversion and DST

client:LangChain transport:stdio runtime:npm

Install timezone mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

timezone mcp in other clients