ai-guardrails

Cloudflare Workers MCP server: ai-guardrails

Should I use this

Quality & Safety

B
Description quality
76%
Schema completeness
84%
Naming quality
88%
Poisoning risk
80%
Permission match
100%
Protocol compliance
100%

Findings (5)

  • HIGHTool poisoning patterns detected
  • MEDIUMTool 'redact_pii' description contains placeholder textin redact_pii
  • LOWTool 'redact_pii' description lacks action verbin redact_pii
  • LOWTool 'check_hallucination' description lacks action verbin check_hallucination
  • INFOTool description contains placeholder or incomplete textin redact_pii

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~380Tokens (tool definitions)
~363 BTypical response size
Minimal attention impact (0.30% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "ai-guardrails": {
      "url": "https://api.lazy-mac.com/ai-guardrails/mcp"
    }
  }
}

Remote endpoints

https://api.lazy-mac.com/ai-guardrails/mcpstreamable-http

What it can do

Tool inventory

Tools (5)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
⚪detect_pii(text)

Detect personally identifiable information (email, phone, SSN, credit card, IP, URL, API key) in a text string.

Input Schema

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "Text to scan for PII"
    }
  },
  "required": [
    "text"
  ]
}
⚪redact_pii(text, mode)

Redact PII from text. mode=mask replaces with [REDACTED]; mode=tag uses typed placeholders like [EMAIL].

Input Schema

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string"
    },
    "mode": {
      "type": "string",
      "enum": [
        "mask",
        "tag"
      ],
      "default": "mask"
    }
  },
  "required": [
    "text"
  ]
}
🟢check_safety(text)

Check text for harmful content using weighted keyword detection. Returns a 0–1 score and verdict (safe/caution/unsafe).

Input Schema

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string"
    }
  },
  "required": [
    "text"
  ]
}
🟢check_hallucination(text)

Heuristic scoring of LLM hedge phrases that correlate with hallucinated outputs. Returns score 0–1 and risk level.

Input Schema

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string"
    }
  },
  "required": [
    "text"
  ]
}
🟢full_check(text, checks)

Run pii, safety, and/or hallucination checks in one call. Default: pii + safety. Specify checks=["pii","safety","hallucination"] to run all.

Input Schema

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string"
    },
    "checks": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "pii",
          "safety",
          "hallucination"
        ]
      },
      "default": [
        "pii",
        "safety"
      ]
    }
  },
  "required": [
    "text"
  ]
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded5 tools
verifiedversion not recorded5 tools
verifiedversion not recorded5 tools