Skip to content
LangChain

blockcypher mcp for LangChain

io.github.mrfentmen/blockcypher-mcp

Blockchain explorer for BTC, ETH, LTC, DOGE: block info, address balance, transaction details.

client:LangChain transport:stdio runtime:npm

Install blockcypher mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

blockcypher mcp in other clients