Soheil Router for LangChain
fi.soheil/router
Best-price token swaps on EVM networks through a non-custodial contract: quotes and trade status.
client:LangChain
transport:streamable-http
tools:4
Install Soheil Router in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"router": {
"transport": "streamable_http",
"url": "https://api.soheil.fi/v1/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs