MCP-Server

ai-guardrails

io.github.lazymac2x/ai-guardrails
Sicherheit Öffentlich und erreichbar MCP 2026-07-28

Was dieses MCP kann

Detects and redacts PII, checks text for harmful content, and applies heuristic hallucination-risk checks.

check_hallucination
Heuristic scoring of LLM hedge phrases that correlate with hallucinated outputs. Returns score 0–1 and risk level.
Eingabeschema
{'type': 'object', 'required': ['text'], 'properties': {'text': {'type': 'string'}}}
check_safety
Check text for harmful content using weighted keyword detection. Returns a 0–1 score and verdict (safe/caution/unsafe).
Eingabeschema
{'type': 'object', 'required': ['text'], 'properties': {'text': {'type': 'string'}}}
detect_pii
Detect personally identifiable information (email, phone, SSN, credit card, IP, URL, API key) in a text string.
Eingabeschema
{'type': 'object', 'required': ['text'], 'properties': {'text': {'type': 'string', 'description': 'Text to scan for PII'}}}
full_check
Run pii, safety, and/or hallucination checks in one call. Default: pii + safety. Specify checks=["pii","safety","hallucination"] to run all.
Eingabeschema
{'type': 'object', 'required': ['text'], 'properties': {'text': {'type': 'string'}, 'checks': {'type': 'array', 'items': {'enum': ['pii', 'safety', 'hallucination'], 'type': 'string'}, 'default': ['pii', 'safety']}}}
redact_pii
Redact PII from text. mode=mask replaces with [REDACTED]; mode=tag uses typed placeholders like [EMAIL].
Eingabeschema
{'type': 'object', 'required': ['text'], 'properties': {'mode': {'enum': ['mask', 'tag'], 'type': 'string', 'default': 'mask'}, 'text': {'type': 'string'}}}
Hinzugefügt
full_check
17. September 2026 12:43
Hinzugefügt
check_hallucination
17. September 2026 12:43
Hinzugefügt
check_safety
17. September 2026 12:43
Hinzugefügt
redact_pii
17. September 2026 12:43
Hinzugefügt
detect_pii
17. September 2026 12:43