Skip to content
LangChain

foundrynet inference for LangChain

io.github.foundrynet/foundrynet-inference

x402 LLM proxy + data-enriched analysis (17 sources) + TimesFM predictive IoT intelligence.

client:LangChain transport:streamable-http

Install foundrynet inference in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "foundrynet-inference": {
            "transport": "streamable_http",
            "url": "https://foundrynet-inference-production.up.railway.app/mcp",
        }
})

tools = await client.get_tools()

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

foundrynet inference in other clients