Checks email address validity using RFC-compliant validation rules. Access via MCP in Cursor or Windsurf, or GET /v1/validate/email REST endpoint. Returns boolean validity plus detailed feedback on syntax errors. Handles complex cases like internationalized domains and quoted local parts that basic regex patterns miss.
curl "https://tinyfn.io/v1/validate/email" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/validate/email', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/validate/email',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's validation tools:
{
"mcpServers": {
"tinyfn-validation": {
"url": "https://tinyfn.io/mcp/validation",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
MCP tools like Cursor and Claude Code can call this validator directly during code execution. Returns structured validation results that AI agents can use to provide specific feedback or continue processing valid addresses.
Supports full RFC 5322 specification including quoted local parts, internationalized domains, and complex syntax. Goes beyond simple regex to handle edge cases like 'user@[192.168.1.1]' and '[email protected]'.
No, this performs syntax validation only. It verifies the email format is structurally correct but doesn't ping mail servers or check deliverability.
Returns validity boolean plus specific error details like 'invalid character in local part' or 'missing @ symbol'. Helps developers provide meaningful user feedback instead of generic 'invalid email' messages.
More comprehensive than typical regex patterns. Handles RFC edge cases that break simple validation, processes internationalized domains correctly, and provides deterministic results across different environments.
Get your free API key and start using Validate Email in seconds.
Get Free API Key