Skip to content
LangChain

Loice for LangChain

ai.loice/mcp

B2B lead search, company employees, verified work emails, email and LinkedIn enrichment.

client:LangChain transport:streamable-http

Install Loice in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mcp": {
            "transport": "streamable_http",
            "url": "https://app.loice.ai/mcp",
        }
})

tools = await client.get_tools()

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

Loice in other clients