Skip to content
LangChain

Timeapi Io for LangChain

io.github.pipeworx-io/timeapi-io

Keyless time/timezone: current, by IP/coords, conversion, DST, list zones.

client:LangChain transport:streamable-http

Install Timeapi Io in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "timeapi-io": {
            "transport": "streamable_http",
            "url": "https://gateway.pipeworx.io/timeapi-io/mcp",
        }
})

tools = await client.get_tools()

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

Timeapi Io in other clients