A lightweight Model Context Protocol (MCP) server that enables your LLM to validate email addresses. This tool checks email format, domain validity, and deliverability using the AbstractAPI Email Validation API. Perfect for integrating email validation into AI applications like Claude Desktop.
At its core, MCP is a standardized protocol designed to streamline communication between AI models and external systems. Think of it as a universal language that allows different AI agents, tools, and services to interact seamlessly.
Click the image below to watch a video demo of the MCP Email Verify tool in action:
git clone https://github.com/Abhi5h3k/MCP-Email-Verify.git
cd MCP-Email-Verify
If you don’t have UV installed, you can install it using the following commands:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Verify the installation:
uv --version
Create a virtual environment using UV:
uv venv
Activate the virtual environment:
bash
.venv\Scripts\activate
Install the required dependencies from pyproject.toml
using UV:
uv install
.env
file in the root directory and add your AbstractAPI key:plaintext
ABSTRACT_API_KEY=your_api_key_here
bash
uv run server.py
claude_desktop_config.json
file to include your MCP server:json
{
"mcpServers": {
"verify_mail": {
"command": "uv",
"args": [
"--directory",
"C:\\ABSOLUTE\\PATH\\TO\\MCP-Email-Verify",
"run",
"server.py"
]
}
}
}
Restart Claude Desktop
Restart Claude Desktop to detect the new tool.
Verify Emails
Use prompts like:
"I was trying to email Thanos at [email protected] to ask him to bring back my favorite TV show, but I’m not sure if it’s a valid email. Can you check if it’s real or just a snap in the dark?"
This project uses black
and isort
for code formatting and import sorting.
Install development dependencies:
bash
uv add black isort --dev
Format the code:
bash
black .
Sort imports:
bash
isort .
pre-commit install
pre-commit run --all-files
A lightweight Model Context Protocol (MCP) server that enables your LLM to validate email addresses. This tool checks email format, domain validity, and deliverability using the AbstractAPI Email Validation API. Perfect for integrating email validation into AI applications like Claude Desktop.