Skip to main content

Add your description here

Project description

MCP Email Verify

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.


What is Model Context Protocol (MCP)?

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.

MCP drawio (1)


Features

  • Email Verification: Verify email addresses in real-time.
  • MCP Integration: Seamlessly connect with MCP-compatible LLMs.
  • Easy Setup: Built with Python and the MCP SDK for quick deployment.

MCP follows a client-server architecture:

client server drawio


Watch the Demo

Click the image below to watch a video demo of the MCP Email Verify tool in action:

Screenshot 2025-03-23 115525


Requirements

  • Python: Python 3.11.0 or higher.
  • UV: 0.6.9 or higher.

Setup

1. Clone the Repository

git clone https://github.com/Abhi5h3k/MCP-Email-Verify.git
cd MCP-Email-Verify

2. Install UV

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

3. Set Up the Virtual Environment

Create a virtual environment using UV:

uv venv

Activate the virtual environment: On Windows:

.venv\Scripts\activate

4. Install Dependencies Install the required dependencies from pyproject.toml using UV:

uv install

Running the Server

  1. Set Up Environment Variables Create a .env file in the root directory and add your AbstractAPI key:
ABSTRACT_API_KEY=your_api_key_here
  1. Run the Server Start the MCP server:
uv run server.py

Usage

  1. Register the Server with Claude Desktop Update the claude_desktop_config.json file to include your MCP server:
{
    "mcpServers": {
        "verify_mail": {
            "command": "uv",
            "args": [
                "--directory",
                "C:\\ABSOLUTE\\PATH\\TO\\MCP-Email-Verify",
                "run",
                "server.py"
            ]
        }
    }
}

image

  1. Restart Claude Desktop Restart Claude Desktop to detect the new tool.

  2. Verify Emails Use prompts like:

"I was trying to email Thanos at thanos@snap.io 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?"

Development

Formatting and Linting This project uses black and isort for code formatting and import sorting.

  1. Install development dependencies:
     uv add black isort --dev
    
  2. Format the code:
    black .
    
  3. Sort imports:
  isort .

Set up pre-commit

pre-commit install
pre-commit run --all-files

Available On Smithery.ai Server: MCP Email Verify

Article: Model Context Protocol (MCP): A Beginner's Guide to the Future of AI Communication

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

email_verify_mcp_server-0.1.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

email_verify_mcp_server-0.1.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file email_verify_mcp_server-0.1.1.tar.gz.

File metadata

File hashes

Hashes for email_verify_mcp_server-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3c5c98565e8c8173028a14d21a00c5334ec5609d0bfa2f1e36c9865e88b40829
MD5 7355925f9ce40541af2fff635ec15f27
BLAKE2b-256 c9c36b5b3e6c5dce01889f52f537e15a82178df99d0a43f19eeb402df1dbe79f

See more details on using hashes here.

File details

Details for the file email_verify_mcp_server-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for email_verify_mcp_server-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f0e1d1a6485dc50ab50615a9cfe2ebc0c8511763c47de64deca2106f87e43bf
MD5 a7db22763d44d2ce25ddbb016fef28d3
BLAKE2b-256 6496a38289b9c64cf0285c5996cf43d57684b682dc936916f58db2241ab266c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page