detect_pii
Detect personally identifiable information (email, phone, SSN, credit card, IP, URL, API key) in a text string.
textrequired
io.github.lazymac2xPublished by GitHub account lazymac2xv1.0.0Updated Oct 24, 2026
Cloudflare Workers MCP server: ai-guardrails
A remote MCP server that lets an assistant detect and redact personal data, score text for harmful content, and flag likely hallucination phrasing.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.lazymac2x%2Fai-guardrails/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Add this to your client's mcpServers config.
{
"mcpServers": {
"ai-guardrails": {
"type": "http",
"url": "https://api.lazy-mac.com/ai-guardrails/mcp"
}
}
}This repository has no README.
Detect personally identifiable information (email, phone, SSN, credit card, IP, URL, API key) in a text string.
textrequiredRedact PII from text. mode=mask replaces with [REDACTED]; mode=tag uses typed placeholders like [EMAIL].
modetextrequiredCheck text for harmful content using weighted keyword detection. Returns a 0–1 score and verdict (safe/caution/unsafe).
textrequiredHeuristic scoring of LLM hedge phrases that correlate with hallucinated outputs. Returns score 0–1 and risk level.
textrequiredRun pii, safety, and/or hallucination checks in one call. Default: pii + safety. Specify checks=["pii","safety","hallucination"] to run all.
textrequiredchecks75% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.
Declare a license in the repository or the registry entry.