Ocultar PII Refinery — Goose Extension
Zero-egress PII protection for Goose AI workflows. Runs entirely in your infrastructure — no data leaves your environment.
Prerequisites
- Ocultar running locally (see Quick Start below)
- Python 3.10+
Quick Start — Docker
docker run --rm -p 4141:4141 \
-e OCU_MASTER_KEY=<64-hex-chars> \
-e OCU_SALT=<32-hex-chars> \
-e OCU_AUDITOR_TOKEN=<your-secret-token> \
ghcr.io/ocultar-dev/ocultar:latest -serve 4141
Installation
pip install ocultar-goose-mcp
Configuration in Goose
- Open Goose settings
- Add Extension → Command-line Extension
- Name:
ocultar-pii - Command:
ocultar-goose-mcp - Environment:
OCULTAR_URL=http://localhost:4141
Usage
Ask Goose: Refine this text before processing: [text with PII]
Goose will call ocultar-pii which redacts PII locally before any further processing.
The tool returns the cleaned text with each PII value replaced by a deterministic token
(e.g. [EMAIL_9c8f7a1b2d3e4f50]).
Available tools
| Tool | Description |
|---|---|
refine_text |
Redacts PII from text before AI processing |
sombra_query |
Asks a redacted question via the Ocultar Sombra gateway — redacts PII, routes to the chosen LLM, rehydrates the response. Requires OCULTAR_SOMBRA_TOKEN and Sombra running separately (go run ./apps/sombra). |
Note:
reveal_tokens(de-tokenization) and the Entity Registry tools (register_entity,list_entities,seed_entities) are intentionally omitted from this extension. They are auditor-only operations and not suitable for automated agent workflows. Use the Claude or Mistral MCP extension if you need them.
Why local-only?
The zero-egress design means your sensitive data never leaves your infrastructure. The MCP server runs on stdio — no network server, no remote calls, no supply chain attack surface. If Ocultar is unreachable, the extension returns an error and withholds the raw text — it never forwards unmasked data as a fallback.
License
AGPLv3 — see LICENSE. Commercial licensing available for organizations that cannot comply with AGPLv3's source-disclosure requirements — see COMMERCIAL_LICENSE.md.
Release files for ocultar-goose-mcp 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ocultar_goose_mcp-0.3.0.tar.gz | 5.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ocultar_goose_mcp-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.7 kB
Release files / ocultar_goose_mcp-0.3.0.tar.gz
| Download URL | ocultar_goose_mcp-0.3.0.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0144315be78ee0f95fd983158d1b7b214191080cb781c763b0f1b5d9cf91d830
|
|
BLAKE2b-256 checksum How to use checksums |
6ab96a802ba6dc414d6b0b94b9199ebe9e5e216ec440e8db326e9dcf5b9c9fa3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.
Transparency logRelease files / ocultar_goose_mcp-0.3.0-py3-none-any.whl
| Download URL | ocultar_goose_mcp-0.3.0-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
16f2c394264070d9858f247848f3b0ca49931f98e3683186bdfdd9e79336f2c4
|
|
BLAKE2b-256 checksum How to use checksums |
ac55c96d81b4c0a8afde865ff02d4c1f3a17234abbe442a6b0472d3ad7079401
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.
Transparency log