Skip to content
LangChain

agenttoll for LangChain

io.github.tevfikefeaydin/agenttoll

21 paid data tools plus free quote/budget inspection, with bounded USDC payments on Base.

client:LangChain transport:stdio runtime:npm

Install agenttoll in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

agenttoll in other clients