Skip to content
LangChain

Etherscan for LangChain

io.github.pipeworx-io/etherscan

Etherscan MCP — multichain block-explorer API (Etherscan V2)

client:LangChain transport:streamable-http

Install Etherscan in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "etherscan": {
            "transport": "streamable_http",
            "url": "https://gateway.pipeworx.io/etherscan/mcp",
        }
})

tools = await client.get_tools()

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

Etherscan in other clients