Skip to content
LangChain

Thru Explorer MCP for LangChain

org.thru/thru-explorer

Thru blockchain explorer: blocks, transactions, accounts, and program ABIs on the Thru RISC-V L1

client:LangChain transport:streamable-http tools:8

Install Thru Explorer MCP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "thru-explorer": {
            "transport": "streamable_http",
            "url": "https://scan.thru.org/api/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

Thru Explorer MCP in other clients