Skip to content
LangChain

cache proxy for LangChain

io.github.ainode-tech/cache-proxy

LLM caching proxy (x402 USDC on Base) - exact + semantic cache. Free health.

client:LangChain transport:streamable-http tools:2

Install cache proxy in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "cache-proxy": {
            "transport": "streamable_http",
            "url": "https://cache.api.ainode.tech/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

cache proxy in other clients