[CloakLLM]

CloakLLM Documentation

Open-source PII protection middleware for LLMs. Detect, tokenize, and audit — before prompts leave your infrastructure.

CloakLLM Documentation

Welcome to the CloakLLM documentation. CloakLLM is open-source PII protection middleware for LLMs that detects sensitive data, replaces it with reversible tokens, and maintains tamper-evident audit logs — all before your prompts leave your infrastructure.

Quick Install

Python:

pip install cloakllm

JavaScript / TypeScript:

npm install cloakllm

MCP Server:

pip install cloakllm-mcp

Next Steps

Read the complete usage guide covering installation, configuration, middleware integration, audit logs, and more.

On this page