Skip to content
LangChain

SafeSwapGlobal Crypto Swap Quotes for LangChain

io.github.safeswapglobal-prog/safeswapglobal-mcp

Real-time non-custodial crypto swap estimates and on-chain routing across 240+ pairs.

client:LangChain transport:streamable-http tools:2

Install SafeSwapGlobal Crypto Swap Quotes in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "safeswapglobal-mcp": {
            "transport": "streamable_http",
            "url": "https://rates.safeswapglobal.online",
        }
})

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

SafeSwapGlobal Crypto Swap Quotes in other clients