Skip to content
LangChain

perpwatch for LangChain

io.github.cloudcorprecords/perpwatch

Cross-exchange crypto perps microstructure feed: funding, liquidations, footprint, big trades.

client:LangChain transport:stdio runtime:npm

Install perpwatch in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "perpwatch": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@reneturcios/perpwatch"],
        }
})

tools = await client.get_tools()

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

perpwatch in other clients