DEV Community

Rumblingb
Rumblingb

Posted on

I Built an MCP Server That Verifies Emails via DNS — Zero API Costs

Email verification APIs cost $0.01–$0.05 per check. If you verify 10K emails/month, that's $100–$500 down the drain.

I built Email Verify MCP — an open MCP server that does the same job using raw DNS lookups. Zero API fees.

How It Works

Instead of calling a paid API (AbstractAPI, ZeroBounce, NeverBounce), Email Verify MCP:

  1. Resolves MX records — does the domain accept mail?
  2. Checks SMTP handshake — does the inbox exist? (catch-all detection)
  3. Validates syntax + disposable domain blacklist
  4. Returns a confidence score

All through DNS and a lightweight SMTP probe.

Install in 10 Seconds

npx @rumblingb/email-verify-mcp
Enter fullscreen mode Exit fullscreen mode

Add to your Claude Desktop / Cursor / Copilot config:

{
  "mcpServers": {
    "email-verify": {
      "command": "npx",
      "args": ["@rumblingb/email-verify-mcp"]
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

What You Get

  • MX record resolution — checks domain mail acceptance
  • SMTP verification — confirms inbox existence without sending email
  • Catch-all detection — flags domains that accept everything
  • Disposable domain blacklist — blocks temp mail addresses
  • Syntax validation — RFC 5322 compliant
  • Confidence scoring — 0–100 scale

Why This Matters

Every AI agent workflow eventually needs to verify emails — signups, lead enrichment, notifications. Paying per-API-call for a DNS lookup is unnecessary overhead.

The MCP protocol makes this pluggable into any AI agent. One npx command and your agent can verify emails natively.

Buy Once, Use Forever

One-time purchase at buy.stripe.com/aFadRb2z56ZKaU00wz1oI1l. No subscriptions, no usage caps.


New MCP servers dropping weekly. Follow for more 🔗

mcp #email #devtools #buildinpublic #agentpay

Top comments (0)