PII Shield is an MCP server published by ai.piishield, hosted at piishield.ai. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 6 tools, including redact, detect_pii, redact_document, list_detectors, get_coverage.
Redact names, IDs, emails, phones and card numbers before they reach the model; restore them after.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Redact personal data (email, phone, cards, SA ID, SSN, IP, IBAN, names, custom terms) from text, replacing each value with a stable token like [EMAIL_1]. Call this before putting sensitive text into a prompt or context. NOTE: detection is automated and is not a guarantee; it can miss personal data. Review the output before relying on it.
| Parameter | Type | Description |
|---|---|---|
| text * | string | The text to redact. |
| reject | array | Finding ids (from a preview) to leave unredacted — a human said 'not PII here'. |
| preview | boolean | Dry run: return what WOULD be redacted (type, confidence, rationale) without changing the text or consuming quota. |
| detectors | object | Optional map of detector→bool to override defaults. |
| customTerms | array | Extra literal terms to always mask (custom PII). |
None yet. Changes appear after a server's second daily check.
Inferred from the host name and headers: what a server runs on, not who runs it.
| customPatterns | array | Custom PII as regexes, e.g. {type:'EMPID', pattern:'EMP-\\d{5}'}. |
{
"name": "redact",
"description": "Redact personal data (email, phone, cards, SA ID, SSN, IP, IBAN, names, custom terms) from text, replacing each value with a stable token like [EMAIL_1]. Call this before putting sensitive text into a prompt or context. NOTE: detection is automated and is not a guarantee; it can miss personal data. Review the output before relying on it.",
"inputSchema": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "The text to redact."
},
"reject": {
"type": "array",
"items": {
"type": "string"
},
"description": "Finding ids (from a preview) to leave unredacted — a human said 'not PII here'."
},
"preview": {
"type": "boolean",
"description": "Dry run: return what WOULD be redacted (type, confidence, rationale) without changing the text or consuming quota."
},
"detectors": {
"type": "object",
"description": "Optional map of detector→bool to override defaults."
},
"customTerms": {
"type": "array",
"items": {
"type": "string"
},
"description": "Extra literal terms to always mask (custom PII)."
},
"customPatterns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"flags": {
"type": "string"
},
"pattern": {
"type": "string"
}
}
},
"description": "Custom PII as regexes, e.g. {type:'EMPID', pattern:'EMP-\\\\d{5}'}."
}
}
}
}Report what personal data appears in text (counts by type) without returning the raw values. Use to check whether text is safe to share. NOTE: detection is automated and is not a guarantee; a clean result does not prove the text is free of personal data.
| Parameter | Type | Description |
|---|---|---|
| text * | string |
{
"name": "detect_pii",
"description": "Report what personal data appears in text (counts by type) without returning the raw values. Use to check whether text is safe to share. NOTE: detection is automated and is not a guarantee; a clean result does not prove the text is free of personal data.",
"inputSchema": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string"
}
}
}
}Redact PII from an uploaded file or document before sharing it with an AI. Works on PDFs, Word (.docx), Excel (.xlsx), and text-based files (txt, csv, json, code, transcripts, logs). Pass base64 file data with media_type/filename, OR raw text. Returns the redacted text and counts. Requires your workspace key (via the MCP server URL). NOTE: detection is automated and is not a guarantee; it can miss personal data. Review the file yourself before sharing it.
| Parameter | Type | Description |
|---|---|---|
| text | string | or raw text instead of a file |
| base64 | string | base64-encoded file bytes |
| filename | string | |
| detectors | object | |
| media_type | string | e.g. application/pdf, text/csv |
| customTerms | array | |
| customPatterns | array |
{
"name": "redact_document",
"description": "Redact PII from an uploaded file or document before sharing it with an AI. Works on PDFs, Word (.docx), Excel (.xlsx), and text-based files (txt, csv, json, code, transcripts, logs). Pass base64 file data with media_type/filename, OR raw text. Returns the redacted text and counts. Requires your workspace key (via the MCP server URL). NOTE: detection is automated and is not a guarantee; it can miss personal data. Review the file yourself before sharing it.",
"inputSchema": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "or raw text instead of a file"
},
"base64": {
"type": "string",
"description": "base64-encoded file bytes"
},
"filename": {
"type": "string"
},
"detectors": {
"type": "object"
},
"media_type": {
"type": "string",
"description": "e.g. application/pdf, text/csv"
},
"customTerms": {
"type": "array",
"items": {
"type": "string"
}
},
"customPatterns": {
"type": "array",
"items": {
"type": "object"
}
}
}
}
}List the PII types this shield can mask, and confirm custom regex/terms are supported. Call this to see what coverage is available.
No parameters.
{
"name": "list_detectors",
"description": "List the PII types this shield can mask, and confirm custom regex/terms are supported. Call this to see what coverage is available.",
"inputSchema": {
"type": "object",
"properties": {}
}
}Show your workspace's current PII coverage (which detectors are on, custom terms, custom patterns). Uses the workspace key from your MCP server URL.
| Parameter | Type | Description |
|---|---|---|
| shield_key | string | optional — only if not already in the server URL |
{
"name": "get_coverage",
"description": "Show your workspace's current PII coverage (which detectors are on, custom terms, custom patterns). Uses the workspace key from your MCP server URL.",
"inputSchema": {
"type": "object",
"properties": {
"shield_key": {
"type": "string",
"description": "optional — only if not already in the server URL"
}
}
}
}Change what this workspace masks, right from your chat. Turn detectors on/off (e.g. enable PERSON name masking), add always-mask terms, or add custom PII as regex (e.g. employee IDs 'EMP-\\d{5}'). Uses the workspace key from your MCP server URL.
| Parameter | Type | Description |
|---|---|---|
| detectors | object | map of detector→bool, e.g. {"PERSON":true} |
| shield_key | string | optional — only if not already in the server URL |
| customTerms | array | literal terms to always mask |
| customPatterns | array | custom PII as regex |
{
"name": "set_coverage",
"description": "Change what this workspace masks, right from your chat. Turn detectors on/off (e.g. enable PERSON name masking), add always-mask terms, or add custom PII as regex (e.g. employee IDs 'EMP-\\\\d{5}'). Uses the workspace key from your MCP server URL.",
"inputSchema": {
"type": "object",
"properties": {
"detectors": {
"type": "object",
"description": "map of detector→bool, e.g. {\"PERSON\":true}"
},
"shield_key": {
"type": "string",
"description": "optional — only if not already in the server URL"
},
"customTerms": {
"type": "array",
"items": {
"type": "string"
},
"description": "literal terms to always mask"
},
"customPatterns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"flags": {
"type": "string"
},
"pattern": {
"type": "string"
}
}
},
"description": "custom PII as regex"
}
}
}
}PII Shield redacts personal data before it reaches the model. Use `redact` on any text you're about to share, `redact_document` on a file, and `set_coverage` to choose what gets masked.
Names, descriptions and schemas were written by the server and are shown as data.