Skip to content
MCP server

GLASTOR pii-veil

Reversible PII and secrets redaction engine for LLM prompts, MCP agents and logs

Runs locally

GLASTOR pii-veil is an open-source MCP server for security. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, API, Linux
Runs
Locally
Version
1.0.0
Listing updated

Similar MCP servers

About GLASTOR pii-veil

The README describes pii-veil as a Rust engine that finds personal data and credentials in text, swaps them for placeholder tokens such as [CREDIT_CARD_1], and restores the original values once a model responds. The mapping lives in an in-memory vault that can be exported as a passphrase-encrypted file, so the same tokens can be reversed later in a different process.

Detection covers 18 built-in patterns, with financial and national ID matches checked against checksums like Luhn, Mod-97 and Mod-23 before they are flagged. Besides chat prompts, the project targets streaming SSE responses, JSON and NDJSON logs, CSV files and large SQL dumps, and it ships as a CLI with an MCP server mode, a local HTTP proxy and bindings for Python, Node.js and Go.

It suits developers who send user text to hosted LLMs and want sensitive values kept out of provider requests, and teams that need to scan repositories or database exports in CI. Enterprise on-premise support and custom rules are offered separately by the vendor.

Tools this server provides (4)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 4 names don't say.

From the server's own tool labels and tool names; not verified by us.

veil_redact
Replaces detected sensitive values in text with placeholder tokens.
veil_restore
Restores original values into text using tokens from a redaction.
veil_redact_json
Applies redaction to JSON content.
veil_scan
Scans text for sensitive data without rewriting it.

What it does

Reversible placeholder tokens
Replaces detected values with typed tokens and restores them in model output, including chunk-by-chunk streams.
Checksum-validated detectors
Card numbers, IBANs and several national IDs are verified with their check digit algorithms to reduce false hits.
Encrypted vault export
Saves the token-to-value mapping to a file protected by a passphrase for storage outside the process.
Streaming file processing
Anonymizes and restores large SQL dumps, CSV files and JSONL logs without loading them fully into memory.
MCP server and HTTP proxy
Runs as an stdio MCP server for desktop AI clients or as a local reverse proxy in front of an LLM API.

Good for

  • Keep customer card numbers and emails out of prompts sent to hosted LLM APIs
  • Redact secrets and personal data from logs before they reach analytics or search tools
  • Scan git commits or database dumps for leaked credentials in a CI pipeline
  • Give Claude Desktop or Cursor access to redaction tools without exposing raw data

Pricing

Open source

Open-source core under Apache-2.0 / MIT; paid enterprise support and licensing offered separately.

Prices change. Check pii-veil.pages.dev before you buy.

GLASTOR pii-veil FAQ

Does pii-veil send data to any server?

The README states the engine runs in-process and makes no remote calls, and it is also compiled to WebAssembly for in-browser use.

Which detectors are included?

The README lists 18 built-in detectors covering credit cards, IBANs, US SSN, Spanish DNI/NIE, Argentine CUIT/CUIL, Chilean RUT, database URIs, common API keys, JWTs, PEM keys, emails, phones and IP or MAC addresses.

What MCP tools does the server expose?

The README names four tools: veil_redact, veil_restore, veil_redact_json and veil_scan.

What license is the core under?

The vendor site says the core is released under Apache-2.0 or MIT.

Is GLASTOR pii-veil free?

Yes. GLASTOR pii-veil is open source, so you can use and self-host it for free.

What are the best alternatives to GLASTOR pii-veil?

The closest alternatives to GLASTOR pii-veil are LLM Data Guard: PII & Secrets Redaction, Véu, Prompt Leak Scanner, Obscate PII redaction and EU PII Redaction.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.

How AIPoweredBot checks servers