Regex/Email/URL Validator
Regex matching, email/URL format validation, and JSON Schema validation.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
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": {
"regex-email-url-validator": {
"url": "https://apished.com/mcp/v1/validate"
}
}
}Remote endpoints
https://apished.com/mcp/v1/validatestreamable-httpWhat it can do
Tool inventory
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.
Input Schema
{
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "identifier or value to check"
}
},
"required": [
"value"
],
"additionalProperties": false
}Output 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.
Input 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
}Output 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.
Input Schema
{
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "RE2 syntax"
},
"input": {
"type": "string"
}
},
"required": [
"pattern",
"input"
],
"additionalProperties": false
}Output 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.
Input Schema
{
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "identifier or value to check"
}
},
"required": [
"value"
],
"additionalProperties": false
}Output Schema
{
"type": "object",
"properties": {
"valid": {
"type": "boolean"
},
"reason": {
"type": "string"
}
},
"required": [
"valid"
],
"additionalProperties": false
}Community
Evidence