Skip to content
LangChain

RMV public transport for LangChain

io.github.udondan/rmv

Stops, departures and connections in the Rhein-Main-Verkehrsverbund, with cancellations and delays

client:LangChain transport:stdio runtime:oci

Install RMV public transport in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "rmv": {
            "transport": "stdio",
            "command": "docker",
            "args": ["run", "-i", "--rm", "docker.io/udondan/rmv:1.0.0"],
        }
})

tools = await client.get_tools()

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

RMV public transport in other clients