Cloudflare Workers MCP server: ai-guardrails
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Heuristic scoring of LLM hedge phrases that correlate with hallucinated outputs. Returns score 0–1 and risk level.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Heuristic scoring of LLM hedge phrases that correlate with hallucinated outputs. Returns score 0–1 and risk level.
| Argument | Type | Description |
|---|---|---|
| text* |
| string |
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string"
}
}
}Check text for harmful content using weighted keyword detection. Returns a 0–1 score and verdict (safe/caution/unsafe).
| Argument | Type | Description |
|---|---|---|
| text* | string |
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string"
}
}
}Detect personally identifiable information (email, phone, SSN, credit card, IP, URL, API key) in a text string.
| Argument | Type | Description |
|---|---|---|
| text* | string | Text to scan for PII |
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "Text to scan for PII"
}
}
}Run pii, safety, and/or hallucination checks in one call. Default: pii + safety. Specify checks=["pii","safety","hallucination"] to run all.
| Argument | Type | Description |
|---|---|---|
| text* | string | |
| checks | array |
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string"
},
"checks": {
"type": "array",
"items": {
"enum": [
"pii",
"safety",
"hallucination"
],
"type": "string"
},
"default": [
"pii",
"safety"
]
}
}
}Redact PII from text. mode=mask replaces with [REDACTED]; mode=tag uses typed placeholders like [EMAIL].
| Argument | Type | Description |
|---|---|---|
| mode | string | |
| text* | string |
{
"type": "object",
"required": [
"text"
],
"properties": {
"mode": {
"enum": [
"mask",
"tag"
],
"type": "string",
"default": "mask"
},
"text": {
"type": "string"
}
}
}