Skip to content
LangChain

Robot Resources Router for LangChain

io.github.robot-resources/router

Intelligent LLM routing proxy — 60-90% cost savings by auto-selecting the cheapest model

client:LangChain transport:stdio runtime:npm

Install Robot Resources Router in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

Robot Resources Router in other clients