io.github.ragbase/ragbase-shield
OfficialThe server provides local, masked access to RAGbase Shield case dossiers and documents for AI workflows.
List registered client dossiers by code, with document and entity counts, never real titles.
List a dossier’s documents by coded ID with masked filenames, type, and size.
Read a specific document masked with codes such as PERSONNE_A, SOCIETE_B, or IBAN_1, paginated for long documents.
Search locally within a dossier using words or entity codes, returning only masked snippets.
Save a final draft written with codes into the dossier’s “Shield - sorties” folder; real names are restored only on the local computer, and the tool returns only a coded output ID and size.
Check Shield version, detection mode, and its documented limits.
Enables GitHub Copilot in VS Code and Copilot web to work with masked case files through Shield, keeping client names and identifiers out of the AI chat while restoring them locally.
Enables ChatGPT desktop, Codex, and chatgpt.com to work on masked case documents via Shield, with local masking before sending and local restoration of names in returned text.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@io.github.ragbase/ragbase-shield mask the client names in this file before sending it to Claude"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
RAGbase Shield
Use Claude on your client files, without leaking any sensitive information.
The best pseudonymisation engine on the market.
Local, reversible pseudonymisation for lawyers who use Claude. A free, open-source tool that runs on your own computer.

Results: ahead of Hexagone and Presidio on four French test sets (96.9 on FR-PII-Bench). Legal terms changed: 0 to 4% with Shield, 18 to 58% with Hexagone. See the results.
Version française (la version de référence pour les cabinets français) : README.fr.md
RAGbase Shield 0.4.4 is a free, open-source tool (Apache-2.0). On your own computer, it replaces your clients' names and numbers with codes before the text goes to Claude. The real names come back only on your computer, in the final document that Shield saves. The law stays readable: articles, courts, dates and amounts stay in clear, so Claude can do the work.
This is local, reversible pseudonymisation. It is not anonymisation: facts, dates and amounts stay readable by the AI. Nothing goes to RAGbase. Shield sends no usage statistics.
Do you use the Claude app on a Mac or a PC? Add the Claude plugin in a few clicks, with nothing else to install: shield.ragbase.ai/en/install. Other ways: see Install.
Contents:
For lawyers: the essentials
What Shield does
You write or open this text (invented example):
M. Thibault Mercadier, domicilié 12 rue des Glycines, 69007 Lyon, conteste son
licenciement par la société Ateliers Brunelac SAS, notifié le 3 mars 2025.
Il réclame 48 000 € devant le conseil de prud'hommes de Lyon (RG n° 25/01234).
Contact : t.mercadier@example.orgClaude receives this text:
M. PERSONNE_A, domicilié ADRESSE_1, conteste son
licenciement par la société SOCIETE_A SAS, notifié le 3 mars 2025.
Il réclame 48 000 € devant le conseil de prud'hommes de Lyon (RG n° RG_1).
Contact : EMAIL_1This is the real output of Shield 0.4.4 on this example, in Fast mode (the default).
Note what stays readable: the date, the amount, the court. Claude needs them to do the work.
Shield is built for French legal documents first. It also works on English text.
With RAGBASE_SHIELD_LOCALE=en, codes use English labels (PERSON_A, COMPANY_A, ADDRESS_1).
Inside one dossier, a person always keeps the same code. "M. Mercadier", "Thibault Mercadier" and "MERCADIER Thibault" all become PERSONNE_A.
After "M.", "Mme", "Mlle" or "Me", Shield masks the name that follows, with or without capitals, in every French text. In text typed without capitals, as on a phone or in a quick note, Shield also masks names with or without a title, companies written with their legal form, postal addresses and the fields "nom :" and "prénom :". The setting RAGBASE_SHIELD_LOWERCASE_NAMES=0 turns these rules off.
Three rules to remember
Protect a folder with Shield. Do not attach the file to the chat. A file attached to a chat reaches the AI provider before Shield can act. In the Claude app: in a new conversation, write « Protège un dossier avec Shield » ("Protect a folder with Shield") and choose the client folder in the Shield window. If your Claude app has a "Cowork" tab, open the conversation in that tab. Claude then reads the documents through Shield, masked. Other ways: add the folder in Shield Desk or with
ragbase-shield add <folder>.Do not paste raw text into the chat box. Text you type or paste in the chat is not masked. To talk about a person in the chat, write their code (PERSONNE_A), not their name. Other ways, outside the Claude plugin: the "Masquer" page of Shield Desk, or the browser extension (see Daily use).
Text already sent cannot be recalled. Shield protects only what goes through it. If a name was sent by mistake, Shield cannot undo it.
What reaches the AI provider, what stays with you
Reaches the AI provider (Anthropic, OpenAI, Microsoft) | Stays on your computer |
Masked text with codes (PERSONNE_A, SOCIETE_A, IBAN_1) | Real names and real numbers |
Facts, dates (except dates of birth), amounts, legal reasoning | The code-to-name table (the "vault"), encrypted |
Courts, laws and articles cited | The vault encryption key |
The dossier code (DOSSIER_1) and masked file names | The real dossier name and folder path |
Your question | The local journal (events, codes and counts only) |
Details: docs/PRIVACY_MODEL.md.
Codes
What is masked | Code (French labels, default) |
Person | PERSONNE_A, PERSONNE_B, ... |
Company | SOCIETE_A, ... |
Postal address | ADRESSE_1, ... |
Email, phone | EMAIL_1, TEL_1 |
IBAN, payment card | IBAN_1, CARTE_1 |
French social security number (NIR) | NIR_1 |
SIREN, SIRET, EU VAT number | SIREN_1, SIRET_1, TVA_1 |
Case references (RG, pourvoi, Portalis, ECLI) | RG_1 |
Other identifiers (ISIN, LEI, passport, licence plate, IP address) | IDENT_1 |
Websites and URLs (except well-known public sites) | SITE_1 |
Date of birth | NAISSANCE_1 |
Shield does not mask courts, institutions (Cour de cassation, CNIL, URSSAF...), laws, codes, articles, months and days.
Related MCP server: Redacta
Install
The simplest way, in the Claude app on a Mac or a PC: the Claude plugin. It carries the whole Shield engine: nothing else to install (no uv, no Python, no Terminal, no installer). It needs the Claude desktop app, signed in, with a paid Claude plan. On shield.ragbase.ai/en/install, click the button for your computer. In Claude, click « Synchro » ("Sync"), « Ajouter » ("Add"), then « Continuer » ("Continue"). Then, in a new conversation, write « Protège un dossier avec Shield » ("Protect a folder with Shield") and choose the folder of one client in the Shield window.
Other way, by hand: in the Claude app, on the Claude tab (not the Code tab), open
Customize > Plugins > Add > Add marketplace > Add from a repository.
Type ragbase/ragbase-shield-mac (Mac) or ragbase/ragbase-shield-windows (Windows) and click Sync.
Then, in the Discover tab, click Add next to "RAGbase Shield (Mac)" or "RAGbase Shield (Windows)".
Claude then opens a window that says Shield is a program that runs on your computer: click Continue.
Use and limits: docs/INSTALL.md.
Downloads (installers, Claude Desktop extension, SHA256SUMS): the releases page,
https://github.com/ragbase/ragbase-shield/releases/latest. Python package: the wheel of the release (commands below).
Your app or system | What to install | Guide |
Claude app on a Mac or a PC (Claude tab) | The Claude plugin, nothing else to install: add | |
Mac (macOS 13 or later) |
| docs/INSTALL.md, section 0 |
Windows 10 or 11 |
| docs/INSTALL.md, section 0 |
Claude Desktop, other way ( |
| docs/INSTALL.md, section 2 |
Claude Code | Plugin: | docs/INSTALL.md, section 3 |
ChatGPT desktop and Codex, GitHub Copilot in VS Code |
| docs/INSTALL.md, sections 4 and 5 |
Any web app (claude.ai, chatgpt.com, Copilot web) | Shield Desk, and the browser extension for Chrome and Edge (not in the stores yet: load the folder | docs/INSTALL.md, sections 6 and 7 |
Terminal, with uv or pip | Shield Desk with uv, or the package with pip | below |
With uv. uv is the open-source tool that downloads and runs Shield.
On a Mac: open the Terminal app, paste this line, press Enter.
curl -LsSf https://astral.sh/uv/install.sh | shOn Windows: open PowerShell, paste this line, press Enter.
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"If uv is already on your computer, paste this line anyway: it updates uv.
Close the window and open a new one. Then install the ragbase-shield command once, from the wheel of the release,
and start Shield Desk:
uv tool install https://github.com/ragbase/ragbase-shield/releases/download/v0.4.4/ragbase_shield-0.4.4-py3-none-any.whl
ragbase-shield deskYour browser opens http://127.0.0.1:7878 with a private link that holds a secret token.
This is a local page: it works only on your computer.
To open it again, run ragbase-shield desk again or use the link shown in the Terminal.
The address alone, without the token, shows "Token refused".
Keep the Terminal window open: closing it stops Shield Desk and the browser extension.
To start Shield Desk without installing the command:
uvx --from https://github.com/ragbase/ragbase-shield/releases/download/v0.4.4/ragbase_shield-0.4.4-py3-none-any.whl ragbase-shield deskWith pip: install the wheel of the release, then start Shield Desk.
pip install https://github.com/ragbase/ragbase-shield/releases/download/v0.4.4/ragbase_shield-0.4.4-py3-none-any.whl
ragbase-shield deskPrecise mode (with AI model) is optional (see docs/NER.md). With uv:
uv tool install --python 3.12 "ragbase-shield[ner] @ https://github.com/ragbase/ragbase-shield/releases/download/v0.4.4/ragbase_shield-0.4.4-py3-none-any.whl"On a Mac with an Intel processor, use this line:
uv tool install --python 3.12 --with "numpy<2" --with "sentencepiece<0.2.3" "ragbase-shield[ner] @ https://github.com/ragbase/ragbase-shield/releases/download/v0.4.4/ragbase_shield-0.4.4-py3-none-any.whl"With pip:
pip install "ragbase-shield[ner] @ https://github.com/ragbase/ragbase-shield/releases/download/v0.4.4/ragbase_shield-0.4.4-py3-none-any.whl"On a Mac with an Intel processor, use this line:
pip install "numpy<2" "sentencepiece<0.2.3" "ragbase-shield[ner] @ https://github.com/ragbase/ragbase-shield/releases/download/v0.4.4/ragbase_shield-0.4.4-py3-none-any.whl"On a Mac, the first use may ask for keychain access for the Shield key: click "Always Allow".
Daily use
With the Claude plugin (Claude app)
In a new conversation, write: "Protège un dossier avec Shield" (or "Protect a folder with Shield"). A RAGbase Shield window opens on top of Claude: click in it and choose the folder of one client (2,000 files or 2 GB at most). Shield reads and masks the whole folder on your computer: a large folder is read in the background, and Claude tells you how far the reading is. Claude only gets a code, for example
DOSSIER_1. Then the protected folder is ready at once in each new conversation.Ask for your work, for example: "Draft a formal notice". Claude reads the documents with the codes.
Write: "Save the final document with Shield". Shield puts the real names back on your computer, in the "Shield - sorties" folder of the client folder.
Text you type in the conversation, and a file you drop directly into it, are not masked by the plugin. A folder added to the conversation is not protected either: only the folder chosen in the Shield window is.
With Claude Desktop and Claude Code
In Shield Desk, on the Dossiers page, under "Ajouter un dossier" (Add a folder), type the full path of the client's case folder, then click "Ajouter et analyser" (Add and scan). Shield gives it a code (DOSSIER_1) and reads the documents. The Desk has an EN toggle for English labels (tabs: Matters, Mask, Restore, Files, Log). To copy a folder path: on a Mac, in the Finder, hold Option and right-click the folder, then "Copy ... as Pathname"; on Windows, Shift + right-click, then "Copy as path".
Click "Voir les entités" (Show entities) to see the detected names. Add the missing ones with "Add a name or a term", above the list: the client, the parties, a project name. Turn on the "Keep in clear" switch for a name that must stay readable.
In Claude, ask for example: "List my Shield dossiers. Read the documents of DOSSIER_1 and draft submissions. Save the draft with Shield."
Claude sees only codes. It saves the draft with the Shield tool.
Shield writes the document, with the real names, into the "Shield - sorties" subfolder of the case folder. Open it on your computer and review it.
Claude cannot ask Shield for the real names. Only your computer puts them back. The same steps work in ChatGPT desktop, Codex and GitHub Copilot in VS Code.
With any other app, through Shield Desk
For claude.ai, chatgpt.com, Microsoft 365 Copilot, Word and Outlook.
Open Shield Desk with the link that its command shows (see Install), page Masquer (Mask). Choose the dossier. Without a dossier, registered names become [PERSONNE] or [SOCIETE] and restore is not possible.
Paste your text into the original-text box (not into the chat), then click "Masquer" (Mask).
Check the detected items, then click "Copier le texte masqué" (Copy masked text).
Paste the masked text into the AI app.
Copy the AI's answer. In Shield Desk, page Restaurer (Restore), paste it and click "Restaurer les noms" (Restore names). Shield also lists codes it does not know in this dossier (for example a code the AI invented). Copy the restored text into your document. Never paste it back into the chat: it contains the real names.
From a terminal, the same in two commands:
ragbase-shield mask --dossier DOSSIER_1 --clipboard replaces the clipboard with the masked text.
ragbase-shield restore --dossier DOSSIER_1 --clipboard puts the real names back into the clipboard.
Results
Masking everything is easy, but then Claude cannot do the work. Shield masks your clients' data and keeps the law readable. We measured Shield against Hexagone and Presidio on four French benchmarks, all public.
Shield 0.4.4 Fast | Shield 0.4.4 Precise | Hexagone 0.3.9 Fast | Hexagone 0.3.9 Precis | Presidio 2.2.364 | |
Overall score (F1), higher is better | |||||
FR-PII-Bench | 96.9 | 96.2 | 80.7 | 80.7 | 66.5 |
MAPA | 81.1 | 82.8 | 43.8 | 37.9 | 63.5 |
REF | 97.3 | 97.3 | 66.7 | 61.1 | 79.2 |
Max | 94.9 | 91.5 | 54.0 | 48.9 | 47.4 |
Legal terms changed, lower is better | |||||
MAPA | 0.0 % | 0.0 % | 43.1 % | 47.6 % | 18.0 % |
REF | 4.1 % | 4.1 % | 17.8 % | 47.1 % | 15.3 % |
Max | 2.1 % | 4.2 % | 47.2 % | 58.3 % | 55.6 % |
Speed and memory, lower is better | |||||
Time for one document | 0.63 s | 17.7 s | 26.93 s | 9 min | 1.59 s |
Peak memory | 79 to 80 MB | 3.7 to 3.8 GB | 1.6 to 1.7 GB | 3.8 to 5.4 GB | 0.57 GB |
Fast is the default mode. Precise adds an AI model that runs on your computer. The best value of each row is in bold.
Method and detailed results: evaluation/laptop/RESULTS_PUBLIC.md.
REF and Max, with their answer keys and one command that reproduces the Shield and Presidio results: evaluation/datasets.
Limits (please read)
The Claude plugin masks only the folder chosen in its window. Text you type, or a file you drop directly into the conversation, is sent as it is. 2,000 files or 2 GB at most per folder.
No OCR. A scanned PDF (an image) has no text. Shield says so and does not read it.
Detection is never complete. A name nobody registered can slip through: a rare name, a foreign name, a nickname, a typo. Register the parties of each dossier. Those are the names Shield masks most reliably. Check the list of detected names, and read the masked text before you send it.
Restored names use the spelling stored in the dossier. "M. Mercadier" can come back as "M. Thibault Mercadier", and capital letters can change. Identifiers come back in the first spelling seen in the dossier (for example "832 456 719" for "832456719"). Re-read the restored document.
Facts can still identify a client, even without a name: a well-known case, a unique job title, a precise place, an amount. Shield does not mask facts. Review, and generalise when needed.
ChatGPT web (chatgpt.com) has no native connection. Use Shield Desk or the browser extension.
Microsoft 365 Copilot (Word, Outlook, Teams, the Copilot app): through Shield Desk only. Warning: Copilot in Word or Outlook reads the open document or email. Open a masked copy, not the original.
The browser extension masks text you paste or drop. Text you type goes out as typed. A file pasted or dropped into the chat is blocked; "Attach anyway" sends it unmasked. It is not in the Chrome or Edge stores yet.
The installers are not signed yet. macOS and Windows show a warning the first time.
An administrator can block Shield: extensions in Claude Team or Enterprise, MCP servers in Copilot Business or Enterprise.
The GDPR still applies. For you, pseudonymised data are still personal data. Shield reduces what the AI provider receives. It is not a conformity guarantee.
French compliance sheet (CNB, Paris bar, avocats aux Conseils, GDPR): docs/CONFORMITE.fr.md FAQ: docs/FAQ.md
Privacy model in 5 lines
Masking and restoring run on your computer. The AI provider receives codes, never the real names that Shield detected or that you registered.
The code-to-name table (the vault) is encrypted, one per dossier; its key stays in the OS keychain (or a file only you can read).
No tool gives real names to the model, and an AI agent cannot change what is masked.
No network call in the library, no telemetry, no update check. The only download, which you start yourself, is the optional AI model of Precise mode.
Pseudonymised data are still personal data: Shield reduces what the provider sees. It is pseudonymisation, not anonymisation.
Full model: docs/PRIVACY_MODEL.md.
For developers and IT
Architecture in short
Fast mode (the default; technical name: rules). A local engine of rules, dictionaries and check digits finds names and identifiers, in French and in English (the language is detected per text, or pinned with
RAGBASE_SHIELD_LANGUAGE).Precise mode (optional; technical name: GLiNER). An AI model for name recognition works next to the rules. It takes about 1.2 GB, has an Apache-2.0 licence and runs offline, on the CPU. No model is installed by default. To add it with pip:
pip install "ragbase-shield[ner] @ https://github.com/ragbase/ragbase-shield/releases/download/v0.4.4/ragbase_shield-0.4.4-py3-none-any.whl"On a Mac with an Intel processor, use this line:
pip install "numpy<2" "sentencepiece<0.2.3" "ragbase-shield[ner] @ https://github.com/ragbase/ragbase-shield/releases/download/v0.4.4/ragbase_shield-0.4.4-py3-none-any.whl"or with uv:
uv tool install --python 3.12 "ragbase-shield[ner] @ https://github.com/ragbase/ragbase-shield/releases/download/v0.4.4/ragbase_shield-0.4.4-py3-none-any.whl"On a Mac with an Intel processor, use this line:
uv tool install --python 3.12 --with "numpy<2" --with "sentencepiece<0.2.3" "ragbase-shield[ner] @ https://github.com/ragbase/ragbase-shield/releases/download/v0.4.4/ragbase_shield-0.4.4-py3-none-any.whl"Then download the model once (fastino/gliner2-privacy-filter-PII-multi, into
~/.ragbase-shield/models) and check it (ragbase-shield doctorchecks it too):ragbase-shield ner download ragbase-shield ner statusWhat the model finds passes the same whitelist and precision guards as the rules; the hooks and the canary never use it.
RAGBASE_SHIELD_NER=offturns it off.Replacement by codes (
PERSONNE_A) by default, or by realistic pseudonyms (ragbase-shield set DOSSIER_n --replacement synthetic): reversible through the vault, pseudonymisation, not anonymisation.One encrypted vault per dossier (SQLite + Fernet). The key lives in the OS keychain, or in a file only you can read (mode 0600).
A local MCP server (stdio) for Claude, ChatGPT desktop, Codex and VS Code. Its tools take dossier and document codes, never raw text. No tool gives real names to the model.
Shield Desk: a local web page on 127.0.0.1, with a per-install token.
Claude Code hooks block a prompt that contains a registered name, and direct reads of a dossier folder.
No network calls in library code. No telemetry.
Full contract: ARCHITECTURE.md. Privacy model: docs/PRIVACY_MODEL.md.
Command line
ragbase-shield add <folder> [--title TEXT] # register a dossier folder, prints DOSSIER_n, scans it
ragbase-shield list # dossiers (real titles: local terminal)
ragbase-shield entities <DOSSIER_n> # detected and registered entities
ragbase-shield register <DOSSIER_n> --person NAME | --org NAME | --kind KIND VALUE
ragbase-shield keep-clear <DOSSIER_n> <CODE> [--off]
ragbase-shield mask [--dossier D] [--clipboard] [--mode codes|synthetic] [FILE|-] # prints masked text, or replaces the clipboard
ragbase-shield set <DOSSIER_n> --replacement codes|synthetic [--language auto|fr|en] # per-dossier settings
ragbase-shield ner status | download [--model fastino|urchade|all] [--dir DIR] [--dry-run] [--force] # optional NER model
ragbase-shield restore --dossier D [--clipboard] [FILE|-] # prints restored text, or replaces the clipboard
ragbase-shield desk [--port 7878] [--no-browser]
ragbase-shield mcp # stdio MCP server (used by every app integration)
ragbase-shield hook <user-prompt-submit|pre-tool-use|post-tool-use> # Claude Code hooks, JSON stdin/stdout
ragbase-shield install <claude-desktop|claude-code|chatgpt|codex|vscode> [--dry-run]
ragbase-shield doctor # checks install, key storage, each app integration
ragbase-shield verify # plants synthetic data, runs every path, prints CLEAN or LEAK
ragbase-shield export <DOSSIER_n> <FILE> / import <FILE> # encrypted vault handoff (passphrase prompt)
ragbase-shield journal [DOSSIER_n]With uv, install the command once, from the wheel of the release:
uv tool install https://github.com/ragbase/ragbase-shield/releases/download/v0.4.4/ragbase_shield-0.4.4-py3-none-any.whlOr run one command without installing it:
uvx --from https://github.com/ragbase/ragbase-shield/releases/download/v0.4.4/ragbase_shield-0.4.4-py3-none-any.whl ragbase-shield doctorFrom a copy of the repository: uv tool install . (or uv tool install --editable . to develop).
The configs written by install then work, and doctor checks that each app can start Shield.
From an AI agent's terminal (Claude Code, Codex), entities, restore and export refuse to run, because
what they print reaches the model. add, register, keep-clear and import refuse too: an AI assistant
cannot change what is masked. list shows codes only. Run these commands in your own terminal, or use
Shield Desk.
Supported apps
App | How Shield plugs in |
Claude app (Claude tab), Mac and Windows | The Claude plugin: engine inside the plugin, local MCP server with 7 tools, skill, no hooks |
Claude Desktop, other way ( | Extension ( |
Claude Code | Plugin: MCP server + skill + hooks |
ChatGPT desktop and Codex | Local MCP server ( |
GitHub Copilot (VS Code) | Local MCP server ( |
Any other app (claude.ai, chatgpt.com, Copilot, Word, Outlook) | Shield Desk, clipboard, browser extension |
Check it yourself
ragbase-shield doctorchecks the install, key storage and each app integration.ragbase-shield verifyplants invented data, runs every path (MCP tools, hooks, Desk) and prints CLEAN or LEAK.Tests:
uv run --extra dev pytest -q. Synthetic data only.Regression bench:
uv run python bench/run_bench.py(recall and precision per kind, on an invented French legal corpus).Benchmark runners:
evaluation/public/(public benchmarks; data downloaded into the git-ignored.bench_data/),evaluation/holdout-en/(an invented English corpus),evaluation/laptop/(the benchmark scripts and results),evaluation/datasets/(the REF and Max benchmarks, with their answer keys).Desktop installers: packaging/README.md.
Environment variables
Variable | Effect |
| Data folder (default |
| English code labels (PERSON_A, COMPANY_A) instead of PERSONNE_A, SOCIETE_A |
| Shield Desk port (default 7878) |
| Key in a 0600 file instead of the OS keychain |
| Keeps lawyers' "toque" numbers visible (masked by default) |
| Turns off the rules for names in lower case after a title and for text typed without capitals (on by default) |
Contributing, security, licence
Security issues: SECURITY.md. Do not open a public issue.
Release history: CHANGELOG.md.
Licence: Apache-2.0. Attributions: NOTICE. Benchmark sets in
evaluation/datasets: CC BY 4.0.Test data: invented only. Never put real client data in an issue.
Links
Source code: https://github.com/ragbase/ragbase-shield
Releases (installers,
.mcpb,SHA256SUMS): https://github.com/ragbase/ragbase-shield/releases/latestProduct page: https://shield.ragbase.ai/en/?utm_source=github-readme
Install guide per app: docs/INSTALL.md. FAQ: docs/FAQ.md.
Public results: evaluation/laptop/RESULTS_PUBLIC.md
Going further
Shield reduces what the AI sees. It does not replace an AI that runs on your own machines. If your firm wants a private AI installed on its own hardware, RAGbase offers one: https://ragbase.ai
Available Tools
6 toolsshield_list_documentsLister les piècesARead-onlyIdempotent
List the documents of a dossier by coded id (DOC_n) with masked file names, type and size. Liste les pièces d'un dossier (identifiants DOC_n, noms masqués).
Inputs: dossier (required).
shield_list_dossiersLister les dossiersARead-onlyIdempotent
List the registered client dossiers by code (DOSSIER_1, DOSSIER_2...) with document and entity counts. Never shows real dossier titles. Liste les dossiers clients par code.
Inputs: no named parameters.
shield_read_documentLire une pièce masquéeARead-onlyIdempotent
Read one document of a dossier, masked on this computer. Returns the text with codes (PERSONNE_A, SOCIETE_B, IBAN_1) instead of the real values. Long documents come in pages: call again with the returned start value. Lit une pièce masquée, page par page.
Inputs: dossier (required), document (required), start, max_chars.
shield_save_draftEnregistrer le projet finalA
Save the final draft (written with codes) into the dossier's 'Shield - sorties' folder. Real names are restored on this computer only; the tool returns a coded file id (OUTPUT_n) and the size, never the restored text. Enregistre le projet final ; les vrais noms sont remis sur l'ordinateur uniquement.
Inputs: title (required), content (required), dossier (required), format.
shield_searchChercher dans un dossierARead-onlyIdempotent
Search the documents of a dossier locally. Codes in the query (PERSONNE_A) match every mention of that entity. Returns masked snippets only. Recherche locale, extraits masqués.
Inputs: query (required), dossier (required).
shield_statusStatut de ShieldARead-onlyIdempotent
Show the Shield version, the detection mode and its honest limits. Version, mode et limites.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool covers a distinct step of a clear hierarchy: status, dossier listing, document listing, document reading, search, and draft saving. list_dossiers vs list_documents is unambiguous because one is a parent of the other, and read_document (single full doc) is clearly separated from search (snippet-level query).
All six tools share a single shield_ prefix and use snake_case, giving a predictable pattern. The only minor deviation is shield_status (a noun, not a verb_noun), while all others follow verb_noun like list_dossiers or save_draft.
Six tools is a tight, well-scoped set for a masked-document reader: each tool corresponds to a necessary step in the workflow (orient, browse, read, search, output). No tool appears redundant or out of place.
The read-side lifecycle is fully covered, including status, dossier and document enumeration, paged reads with continuation, and search. Minor gaps remain on the write side: there is no way to list or reopen previously saved outputs (OUTPUT_n) or to add/register new documents, which could dead-end an agent revisiting prior drafts.
Maintenance
Related MCP Connectors
Detect and redact PII and secrets before text reaches an LLM, with reversible placeholders.
Mask, restore and black out personal data in text and files, processed in the EU.
Detecta e mascara dado pessoal brasileiro (CPF, CNPJ, RG, e-mail) antes do texto ir a uma IA. LGPD.
Detect and redact PII and secrets (API keys, tokens) in text, HTML or PDF before it reaches an LLM.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides local anonymization of Czech legal documents by replacing sensitive entities with pseudonyms to ensure privacy during LLM interactions. It allows users to safely process documents like contracts and judgments by keeping original data offline and facilitating local deanonymization.55MIT
- AlicenseAqualityBmaintenancePrivacy layer for healthcare AI agents. Pseudonymises patient identifiers (NHS numbers, names, dates of birth, addresses; UK and US) into labelled tokens locally before text reaches an agent, then restores the originals afterwards, keeping the token map out of agent context.79MIT No Attribution
- FlicenseNot gradedqualityFmaintenanceEnables Claude to work on documents containing personal data by pseudonymizing names, addresses, IBANs, health data and other GDPR categories locally before they are sent, then restoring the real values on your own machine. Supports Word, Excel, PowerPoint, PDF, CSV, Markdown, e-mail and other formats with consistent pseudonyms per project and no data leaving the computer.-
- AlicenseNot gradedqualityBmaintenanceEnables irreversible anonymisation of documents and spreadsheets (PDF, Word, PowerPoint, HTML, Excel, CSV) into consistent pseudonymised Markdown before they reach an AI, keeping names, national IDs, bank details and contact data unrecoverable. Runs as a free online HTTP endpoint needing no key, or locally with the full engine bundled so nothing leaves the machine.MIT