Skip to content
LangChain

gasfeepredictor mcp for LangChain

io.github.higherbeing/gasfeepredictor-mcp

Live Ethereum and L2 gas fees for AI agents: current gas, cheapest L2, ETH price, cost estimates.

client:LangChain transport:stdio runtime:npm

Install gasfeepredictor mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

gasfeepredictor mcp in other clients