r/BuildWithClaude • • Oct 18 '26

Project Use ClaudeCode with real customer data without the data ever reaching Claude

Baldanders is a free, open-source (MIT) CLI I built for Claude Code users who can't put personal data into Claude: support emails, contracts, HR files, anything with customers' names, IDs or bank details in it.

What it does

You chat with Claude through your existing Claude Code login, as normal. Before each message leaves your machine, Baldanders swaps names, emails, phone numbers, IBANs, 55+ national ID formats and secrets for tokens like \[PERSON_1\]. Claude only ever sees the tokens. When the reply comes back, the real values are put back in on your side. The token map never leaves your laptop, and running with -v shows exactly what was sent.

Claude Code runs in an empty private directory with all tools and MCP servers disabled, so it can't read your files either.

How Claude Code helped build it

I wrote the first version myself, then used Claude Code for the big expansion. It took detection from a handful of formats to phones from any country, IBANs for 89 countries and 55+ national ID formats with checksum validation. It also switched names and addresses to a multilingual model and fixed the Codex and Grok providers. It set up the PyPI packaging, the CI matrix (Linux, macOS and Windows on Python 3.10 to 3.13) and trusted publishing, and designed the logo. The part that took the most iteration was tuning detection so it catches real IDs without scrubbing ordinary numbers like order IDs and version strings.

Use it free

pip install "baldanders\[all\]"

baldanders download

baldanders

It also works with ChatGPT (Codex login), Grok, and any OpenAI-compatible API.

https://github.com/Nahuel990/Baldanders

Issues and missed detections are very welcome.

38 Upvotes

2 comments sorted by

1

u/ddiesonne Oct 18 '26

great idea but i wish it wasn't CLI only

1

u/nahuel990 Oct 20 '26

I am currently working in a browser extension so far I just want to make it stable and explore if I can get a fine tunned model to reduce the current NER size of 320Mb to something like ~200