Skip to content
LangChain

Pyfile LLM & Data API for LangChain

io.github.pyfile-toolkit/pyfile-llm

Pay-per-call LLM chat plus data tools: DNS, crypto, Base gas, Wikipedia. x402 USDC or Lightning.

client:LangChain transport:streamable-http tools:13

Install Pyfile LLM & Data API in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "pyfile-llm": {
            "transport": "streamable_http",
            "url": "https://pyfile-agent.taile3ff35.ts.net:8443/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

Pyfile LLM & Data API in other clients