All posts

Verify Emails With Claude: MCP Setup for Code and Desktop

··9 min read

To verify emails with Claude, connect the SimpleVerifier MCP server at https://simpleverifier.com/api/mcp with your API key. In Claude Code that is one claude mcp add --transport http command; in Claude Desktop you add a short block to claude_desktop_config.json that runs mcp-remote. After that you can ask Claude to "check jane@company.com" or paste a list of up to 100 addresses, and it returns valid, risky or invalid with a reason for each.

This guide covers setup in both apps, the prompts that work, what the tool results look like field by field, and the errors you might see. If you want the same checks without an AI client, the REST API quickstart uses the same key.

What you need first

  1. A SimpleVerifier API key. Keys start with sv_live_ and are shown once, on the API keys page. They come with plans that include API access (see pricing). Not every plan includes it.
  2. Claude Code or Claude Desktop. Claude Desktop also needs Node.js, because the bridge runs through npx.
  3. Somewhere safe to keep the key. Do not paste it into a shared repository or a team config file.

Set up Claude Code

Anthropic's Claude Code MCP docs give the syntax for a remote HTTP server with a header. For SimpleVerifier, run this once:

claude mcp add --transport http simpleverifier https://simpleverifier.com/api/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

Then confirm it is connected:

claude mcp list

Inside a session, /mcp shows server status. Two details from the same docs page are worth knowing:

  • Scope. By default a server is local: only you, only this project. Add --scope user to make it available in every project. Avoid --scope project for this server, because project scope writes to a shared .mcp.json file and your key would go with it.
  • Transport. The docs say the SSE transport is deprecated and to use HTTP servers where available. SimpleVerifier speaks Streamable HTTP, so --transport http is correct.

Set up Claude Desktop

Claude Desktop's config file starts local programs. The mcp-remote package bridges that to a remote server; its README describes it as a way to "Connect an MCP Client that only supports local (stdio) servers to a Remote MCP Server".

  1. Open Claude Desktop, then the Claude menu in your system menu bar, then Settings..., Developer, Edit Config. The MCP quickstart gives the file location: ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows.
  2. Add this block (merge it into mcpServers if you already have other servers):
{
  "mcpServers": {
    "simpleverifier": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote", "https://simpleverifier.com/api/mcp",
        "--header", "Authorization: Bearer ${SIMPLEVERIFIER_KEY}"
      ],
      "env": { "SIMPLEVERIFIER_KEY": "YOUR_API_KEY" }
    }
  }
}
  1. Quit Claude Desktop completely and reopen it. The quickstart says the app has to restart to load a new configuration.

Windows note. The mcp-remote README warns that Claude Desktop on Windows does not escape spaces inside args. Its workaround is to write the header with no space after the colon, as "Authorization:${AUTH_HEADER}", and put the full Bearer YOUR_API_KEY value in env, where spaces are fine.

If the server does not appear, the quickstart points to logs in ~/Library/Logs/Claude on macOS (mcp.log and mcp-server-simpleverifier.log).

The seven tools Claude gets

Tool What it does
verify_email One address: syntax, domain, disposable and a live mailbox (SMTP) check. Valid, risky or invalid with a reason
verify_emails Up to 100 addresses in one call, deduplicated. Waits up to 45 seconds, then returns every result or a job_id
get_job_results Progress and results for a verify_emails job, up to 500 rows a call
clear_list Up to 100 addresses in, three lists out: send, hold and suppress, each address with its reason. Same job and billing as verify_emails
check_phone_format Format, E.164 form, country and numbering-plan line type. A format check only, never whether a number is in service
check_domain MX, SPF and DMARC records, disposable status, and an optional catch-all probe
get_usage Your plan, what it includes, today's shared mailbox-check capacity and the rate limit

The full reference is on the MCP docs page.

Prompt 1: check one address

Check whether jane@company.com is a real mailbox.

Claude calls verify_email. The result comes back as JSON text, and Claude summarises it. The raw result has these fields:

{
  "email": "jane@company.com",
  "status": "valid",
  "reason": "Mailbox exists",
  "send_advice": "safe",
  "reason_detail": "The mail server confirmed this mailbox exists.",
  "smtp_available": true,
  "mailbox_probed": true,
  "mailbox_checked": true,
  "mailbox_confirmed": true,
  "meaning": "The mail server confirmed this mailbox exists."
}

How to read each one:

Field Meaning
status valid, risky or invalid
reason Short reason, e.g. Mailbox exists, Accepts all addresses, Provider hides mailbox status, Mailbox not found, Disposable address
send_advice safe, care, retry or do_not_send
reason_detail A sentence explaining the reason
smtp_available Live mailbox checking was available on our side for this call
mailbox_probed This address's mail server was actually asked (false for bad format, disposable, role, no mail server, or a provider that never confirms)
mailbox_checked Older name for smtp_available, kept for compatibility
mailbox_confirmed true only when status is valid
meaning Plain-English statement of what the status does and does not prove

The last two fields exist for AI clients. The server's own instructions tell the model: "Only valid means the mailbox was confirmed. Never present risky as safe." A single check can take up to 30 seconds when a mail server is slow, so give Claude a moment.

Prompt 2: check a pasted list

Verify these addresses and give me a table of email, status and reason. Put anything that is not valid at the bottom.

jane@company.com, sam@company.com, info@company.com, j.doe@outlook.com, old@deadstartup.io, jane@company.com

Claude calls verify_emails once with all six. Duplicates are matched without case and checked once, so the result reports submitted: 6, distinct: 5, duplicates_skipped: 1. When the batch finishes inside 45 seconds you get done: true, a counts block and one row per address. An abridged finished result:

{
  "job_id": "3f2b...",
  "done": true,
  "submitted": 6,
  "distinct": 5,
  "duplicates_skipped": 1,
  "counts": { "valid": 2, "risky": 2, "invalid": 1 },
  "results": [
    { "email": "info@company.com", "status": "risky", "reason": "Role-based address", "send_advice": "care", "mailbox_confirmed": false },
    { "email": "j.doe@outlook.com", "status": "risky", "reason": "Provider hides mailbox status", "send_advice": "care", "mailbox_confirmed": false },
    { "email": "old@deadstartup.io", "status": "invalid", "reason": "No mail server", "send_advice": "do_not_send", "mailbox_confirmed": false }
  ]
}

Two rows deserve a note. info@ is a shared inbox, so it comes back risky. outlook.com is a Microsoft consumer domain. Outlook.com does reject unknown users, but Microsoft is currently refusing checks from our server's network, so we do not probe it right now and the address comes back risky with the reason "Provider hides mailbox status". The same is true in practice for Yahoo and AOL, which accept every address at the RCPT step. See verify an Outlook or Hotmail address for why.

For more than 100 addresses, Claude has to split the list into calls of 100. Past a few hundred, a CSV upload is the better tool: it takes up to 100,000 rows, keeps your other columns and lets you download only the safe-to-send rows.

What done: false means

If the batch is still running after 45 seconds, verify_emails hands back a job instead of waiting longer:

{
  "job_id": "3f2b...",
  "done": false,
  "submitted": 80,
  "distinct": 80,
  "duplicates_skipped": 0,
  "checked": 52,
  "note": "Still checking. Some mail servers take up to 30 seconds to answer.",
  "next": "Call get_job_results with this job_id in a minute or so."
}

Nothing failed. Batches run as list jobs on your account, the same as a CSV upload, so they also show in your history. Ask:

Get the results for that job.

Claude calls get_job_results with the job_id. Useful arguments you can mention in your prompt:

  • filter: all, valid, risky, invalid, risky_invalid, safe, care or retry.
  • partial: true: return the rows checked so far while the job is still running.
  • offset and limit (up to 500): follow next_offset until it is null.

There is one other reason for done: false. Mailbox checks draw on a shared daily capacity that resets at 00:00 UTC. When it runs out, the note says how many addresses are held until the reset, and they are not counted as checked. A single verify_email in that state answers risky with a retry time and is not charged. Ask Claude to run get_usage to see whether checks are available right now.

Prompt 3: check a domain before you mail it

Is acme-widgets.com catch-all, and does it have SPF and DMARC?

Claude calls check_domain. It returns accepts_mail, mx, spf and dmarc (each with a status of pass, warn, fail or lookup_failed), disposable status and a catch_all verdict. The catch-all probe is one mailbox check on a random address we generate; pass check_catch_all: false to skip it. Catch-all domains accept any address, so individual mailboxes there come back risky, never valid. More in what is a catch-all domain.

Errors you might see

Authentication and rate-limit failures come back as HTTP errors with a JSON-RPC error body. Problems with a single call, like a malformed domain or an unknown job id, come back as a tool result with isError: true and a message Claude can act on.

Code Cause Fix
401 No key, a wrong key or a revoked key Check the header. Create a new key if needed
402 The key's plan has no API access, or the subscription lapsed See pricing for plans that include API access
429 More than 120 requests a minute on one key Wait, then retry. The response carries a Retry-After header with the seconds to wait (at most 60)
405 A GET or DELETE request The server is stateless and only takes POST

The 120-a-minute limit is shared with the REST API and counts every MCP request, including the client's initialize and tools/list calls.

Limits to keep in mind

  • Verification lowers hard bounces. It does not fix spam placement, weak copy, missing SPF, DKIM or DMARC, or a burned domain.
  • Throughput for list jobs is about 30 addresses a minute averaged over a day, on capacity shared by everyone (peaks are higher). The dashboard shows an ETA on each list.
  • check_phone_format never tells you whether a number is in service or on any messaging app.

Try it before you connect anything

If you want to see what a verdict looks like first, use the single email checker or upload a CSV on the verify page: the first 100 email checks are free with a Google sign-in, no card. API and MCP access come with plans that include API access (see pricing).

For agent workflows in Cursor, VS Code and Windsurf, with guardrails for writing to a CRM, read verify emails from Cursor and AI agents. For what each status really means, see email verification statuses explained.

Common questions

Can Claude verify email addresses?

Yes, once you connect an email verification MCP server. With the SimpleVerifier MCP server added, Claude can call verify_email for one address or verify_emails for up to 100, and gets back valid, risky or invalid with a reason for each.

How do I add the SimpleVerifier MCP server to Claude Code?

Run claude mcp add --transport http simpleverifier https://simpleverifier.com/api/mcp --header "Authorization: Bearer YOUR_API_KEY" in a terminal, then check it with claude mcp list or /mcp inside a session.

What does done: false mean in a verify_emails result?

The batch did not finish inside the 45 seconds the tool waits, usually because a mail server was slow or the daily mailbox-check capacity ran out. The result includes a job_id; ask Claude to call get_job_results with it a minute or so later.

Do I need a paid plan to use the MCP server?

Yes. The MCP server authenticates with a SimpleVerifier API key, and API keys come only with plans that include API access (see pricing). A key without API access gets a 402 error.

Does a risky result mean Claude can treat the address as fine?

No. Risky means the mailbox could not be confirmed, for example on a catch-all domain or at a provider that will not confirm mailboxes. Only valid is confirmed, and the tool result says so in its meaning field.

Check your list before you send

Real mailbox checks over SMTP, and nothing is sent to the address. Sign in with Google and your first 100 email checks are free, no card. Plans for bigger lists are on the pricing page.

5.0 on G2