Skip to content
LangChain

pickthebus for LangChain

io.github.goldcote/pickthebus

Direct cross-border buses: times, running days, night buses, and one-change trips if none is direct.

client:LangChain transport:streamable-http tools:2

Install pickthebus in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "pickthebus": {
            "transport": "streamable_http",
            "url": "https://pickthebus.com/mcp",
        }
})

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

pickthebus in other clients