Skip to content
LangChain

Leapio for LangChain

com.leapio/analytics

Query your Leapio analytics, companies, and revenue from any AI assistant, and run your actions.

client:LangChain transport:streamable-http

Install Leapio in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "analytics": {
            "transport": "streamable_http",
            "url": "https://api.leapio.com/mcp",
        }
})

tools = await client.get_tools()

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

Leapio in other clients