Skip to content
LangChain

fetchmux for LangChain

io.github.krutftw/fetchmux

Self-hosted retrieval router for AI agents: budgets, provider routing, route receipts.

client:LangChain transport:stdio runtime:npm

Install fetchmux in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

fetchmux in other clients