Skip to content
LangChain

Clotr Guard for LangChain

io.github.clotr-app/clotr-guard

Checks text for credentials and personal details on your device; makes no network calls.

client:LangChain transport:stdio runtime:npm

Install Clotr Guard in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "clotr-guard": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "clotr-guard"],
        }
})

tools = await client.get_tools()

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

Clotr Guard in other clients