complydoc
io.github.complydoc/complydoc · 11 stars · Python · MIT
MCP server Open documents with personal details masked and hidden instructions taken out, on your machine.
Install
The repo has no one-line install. Follow its README.
Published as
- PyPI
complydocstdio - Docker
ghcr.io/complydoc/complydoc:0.8.2stdio
From the server's entry in the official MCP Registry.
Files
Get document loading right.
Compare loaders, trace every step and evaluate what reaches your model.
A PDF can say one thing to a person and another to your model. White text, tiny type, an IBAN behind a black bar: it's all still in the text layer, and most loaders pass it straight through. complydoc shows what your loaders actually extracted, flags hidden text and personal and financial identifiers before they're embedded, and traces every ingestion step with its time and cost. Nothing leaves your machine.
Works with LangChain, LlamaIndex, Unstructured, Haystack, Docling, LlamaParse, Azure Document Intelligence, Marker, Chonkie and the common vector stores and embedding APIs.
Try it
uv tool install complydoc complydoc ui ./documents
complydoc ui audits the folder and opens the viewer on it, served from your machine. To
see a hidden clause caught, try the one-page contract in
examples/hidden_clause.pdf.
In your assistant
complydoc mcp lets any MCP client, such as Claude, Cursor, VS Code (Copilot),
Windsurf or Codex, open documents with personal and financial details masked and hidden
instructions taken out. It runs on your machine:
uvx complydoc mcp --folder ~/Documents/Contracts
It is in the MCP Registry as
io.github.complydoc/complydoc, as a Claude Desktop extension on the
releases page, as a Claude Code
plugin (/plugin install complydoc --marketplace complydoc/complydoc) and as the image
ghcr.io/complydoc/complydoc. The setup for each client is in
Documents into an assistant, cleaned.
Observe a pipeline
import complydoc as cd
with cd.observe("contracts-ingest"):
documents = PyMuPDF4LLMLoader("contract.pdf").load()
chunks = splitter.split_documents(documents)
vector_store.add_documents(chunks)
Every loader, splitter, embedding call and vector store becomes a step, with its settings,
time, tokens, cost and the identifiers it passed on. Open it with complydoc ui.
What it shows
- Traces of each ingestion step, and how runs compare over time.
- Loader diffs: each loader's reading of a page side by side, with the page itself.
- Identifiers from Europe, the Americas, India and Australia, checksum-validated and masked until you choose to see them.
- Hidden content: text a reader does not see and a model does, and instructions written to a model.
- Evals: the facts a document must keep, checked on every reading.
- Chunks and cost: splitters side by side, and tokens priced across models.
In CI
- uses: complydoc/complydoc@v0.8.2
with:
path: documents
policy: policy.yaml
complydoc check fails when a folder breaks your rules; finance, legal and hr ship as
ready policies. See GitHub Action.
Privacy
complydoc runs on your machine and sends nothing anywhere: every run blocks outbound
connections. complydoc mcp reads only the folders you share, keeps the list of folders
chosen in a conversation in ~/.complydoc/mcp-folders.json and writes clean copies only
where you ask. The one download is the optional name model, fetched once from Hugging Face
when you ask for it. Questions go to the
issue tracker.
More
- Documentation, and the playground with everything ready to run
- Run it for your team, in a container or from a bucket
- Network isolation: every run blocks outbound connections and records that it did
- Optional extras for scans and names:
complydoc doctorsays what is installed and how to add the rest - Changelog · Contributing · MIT
If complydoc is useful to you, a star helps other engineers find it.
Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 11
- License
- MIT
- Language
- Python
- Last push
- 2026-11-22
- Forks
- 8
- MCP Registry
- io.github.complydoc/complydoc
- Homepage
- complydoc.io
- Topics
- ai-extraction, document-processing, ocr, document-analysis, langchain, llamaindex, llm, pii, prompt-injection, rag
Also new this week
- 73rust-anythingio.github.erkamyaman/rust-anythingRewrite an app in Rust one piece at a time, checked against the original's recorded behavior.8.1k
- 144obsidian-wikiio.github.Ar9av/obsidian-wikiMemory for agents in a markdown vault you own: search, read, write, recap, context packs.3.8k
- 150Z-Libraryio.github.heartleo/zlibSearch and download Z-Library books, fix e-book metadata, and send books to Kindle or WeRead.3.5k
- 178LearnHouseapp.learnhouse/learnhouseBuild, edit and run courses, learning paths and communities in your LearnHouse academy.2.5k
- 183MR Officeai.mroffice/officeCreate, open and edit documents, spreadsheets and PDFs in MR Office's editor, inline in chat.2.4k
- 227Seal Open Datafr.sealopendata/open-dataFrench public open data (data.gouv.fr) cross-referenced by commune, EPCI and department.1.7k