Skip to content
LangChain

EmidLabs Backtest for LangChain

io.github.emidlabs/backtest-mcp

Run crypto trading strategy backtests through EmidLabs's Backtesting API.

client:LangChain transport:streamable-http tools:9

Install EmidLabs Backtest in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "backtest-mcp": {
            "transport": "streamable_http",
            "url": "https://mcp.backtest.emidlabs.com/mcp",
        }
})

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

EmidLabs Backtest in other clients