Regex/Email/URL Validator
Regex matching, email/URL format validation, and JSON Schema validation.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"regex-email-url-validator": {
"url": "https://apished.com/mcp/v1/validate"
}
}
}Remote-Endpunkte
https://apished.com/mcp/v1/validatestreamable-httpWas es kann
Tool-Inventar
Tools (4)
🟢email_validate(value)
Checks value is a single, bare RFC 5322 email address — syntax only, not a deliverability check. user@localhost is valid (no TLD required). "Name <email>" display syntax is rejected.
Eingabe-Schema
{
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "identifier or value to check"
}
},
"required": [
"value"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {
"valid": {
"type": "boolean"
},
"reason": {
"type": "string"
}
},
"required": [
"valid"
],
"additionalProperties": false
}⚪jsonschema_validate(schema, document)
Validates document against schema (JSON Schema draft-07 or 2020-12). Reports one specific violation per call, not an aggregated list.
Eingabe-Schema
{
"type": "object",
"properties": {
"schema": {
"description": "a JSON Schema (draft-07 or 2020-12)"
},
"document": {
"description": "the JSON value to validate against schema"
}
},
"required": [
"schema",
"document"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {
"valid": {
"type": "boolean"
},
"reason": {
"type": "string"
}
},
"required": [
"valid"
],
"additionalProperties": false
}⚪regex_match(pattern, input)
Tests input against pattern (Go's regexp package: RE2 syntax, not PCRE — no backreferences or lookaround; use inline flags like (?i) for case-insensitive matching). Returns the full match and captured groups.
Eingabe-Schema
{
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "RE2 syntax"
},
"input": {
"type": "string"
}
},
"required": [
"pattern",
"input"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {
"matches": {
"type": "boolean"
},
"match": {
"type": "string"
},
"groups": {
"type": [
"null",
"array"
],
"items": {
"type": "string"
}
}
},
"required": [
"matches"
],
"additionalProperties": false
}⚪url_validate(value)
Checks value is a well-formed absolute URL (has both a scheme and a host) — syntax only, not a reachability check.
Eingabe-Schema
{
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "identifier or value to check"
}
},
"required": [
"value"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {
"valid": {
"type": "boolean"
},
"reason": {
"type": "string"
}
},
"required": [
"valid"
],
"additionalProperties": false
}Community
Nachweis