Skip to main content
Glama
avivshafir

revenuebase-mcp-server

real_time_email_verification

Verify email addresses instantly to ensure deliverability and reduce bounce rates for marketing campaigns.

Instructions

Verifies a single email address using the Revenuebase API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYes

Implementation Reference

  • server.py:71-87 (handler)
    The handler function for real_time_email_verification, decorated with @mcp.tool(). It verifies a single email by posting to the Revenuebase API endpoint and returns the JSON response.
    @mcp.tool()
    def real_time_email_verification(email: str) -> dict:
        """
        Verifies a single email address using the Revenuebase API.
        """
        if not api_key:
            raise RuntimeError("Environment variable REVENUEBASE_API_KEY is not set")
        url = "https://api.revenuebase.ai/v1/process-email"
        headers = {
            "x-key": api_key,
            "Content-Type": "application/json",
            "Accept": "application/json",
        }
        payload = {"email": email}
        resp = requests.post(url, json=payload, headers=headers, verify=False)
        resp.raise_for_status()
        return resp.json()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/avivshafir/revenuebase-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server