Skip to content

For AI agents

Your agent can clean the list for you

Connect Claude, Cursor or any MCP client to Truelist. Ask it to validate a list, and it can run Enhanced on the catch-alls in the same conversation, then tell you which addresses to keep.

Add the hosted MCP server to Claude Code

$ claude mcp add --transport http truelist https://api.truelist.io/mcp
Setup for Claude, ChatGPT, Cursor and other clients
Claude
Example prompt
“Validate leads.csv, use Enhanced on anything that comes back unknown, and give me the list I can send to.”
“Validate leads.csv, use Enhanced on anything that comes back unknown, and give me the list I can send to.”
Done. 412 addresses are ready to send, including 38 catch-alls that Enhanced confirmed as valid.

Works with any MCP client, including

  • Claude
  • Claude Code
  • ChatGPT
  • Codex
  • Cursor
  • VS Code Copilot
  • OpenCode
  • Grok
  • Grok Bot
  • Meta Muse
  • Gemini CLI
  • Zed

The workflow

Validate, settle the unknowns, send

Most validators stop at “unknown”. Your agent doesn't have to: one parameter sends the catch-alls through Enhanced, in the same conversation.

  1. 1. Validate

    One address, up to 50 in a single call, or a batch of up to 10,000. Each result comes back valid, risky, invalid or unknown, with the reason.

  2. 2. Enhanced on the unknowns

    With validation_strategy: "enhanced", catch-alls and unknowns get extra checks. Enhanced costs 3 credits, and only when it resolves an address.

  3. 3. Send what's safe

    Your agent hands back the addresses to keep, the risky ones for you to decide on, and the invalid ones to drop, with a count of each.

Prompts to try

  • “Validate leads.csv with Truelist, use Enhanced on anything that comes back unknown, and give me the list I can send to.”
  • “Check my Truelist credit balance, then validate the emails in column B of this sheet.”
  • “Show me my recent Truelist batches and how each one came out.”

What your agent sends

validate_email({
  "email": "jo@acme-catchall.com",
  "validation_strategy": "enhanced"
})

What comes back for a catch-all

{
  "email": "jo@acme-catchall.com",
  "state": "ok",
  "sub_state": "email_ok",
  "confidence": 100,
  "is_valid": true,
  "inbox_provider": "google_workspace",
  ...
}

Standard validation can't confirm an address on a catch-all domain. Enhanced settled this one, so it cost 3 credits. Had it stayed uncertain, it would have cost nothing.

Same parameter on validate_email and create_batch, and on the REST API.

Why Truelist

Your agent could write a validator over a weekend. It wouldn't be this one.

A syntax check and an MX lookup are easy. Getting a straight answer from mailbox servers that don't want to give one is the hard part, and it's the part Truelist is built for.

More than an SMTP ping
Every address runs through syntax, MX and SMTP checks, and Truelist combines SMTP, automated browser checks and third-party data to get the most accurate signal.
Catch-alls settled, not skipped
Enhanced is tuned for Google Workspace, Microsoft and Yahoo, AOL and Hotmail addresses, and is up to 2x more accurate than other providers.
Built for agents to call
OAuth instead of pasted keys, tool descriptions that spell out what each call costs, and errors that tell your agent what to say instead of retrying.
Your agent reads this before it spends a credit

From the validate_email tool description on our MCP server, word for word.

CREDIT USAGE:
A validation costs 1 credit. With validation_strategy "enhanced", an uncertain result gets extra checks, and if they resolve it the charge is 3 credits instead of 1. Results of "unknown" or "accept_all" are free. Every call re-validates the address. Use get_credit_balance to check how many credits are left.

No account yet?

Your agent can sign you up, too

With the Truelist skill in Claude Code, or your own agent on the REST API, sign-up happens the first time it needs a key. You click one link and approve. No dashboard, no copy-pasting API keys.

  1. 1. Install the skill

    One command adds the truelist skill to Claude Code. It kicks in when you ask to clean a list, debug bounces, or validate emails before an import.

  2. 2. Ask in plain English

    "Clean leads.csv before I import it." No account yet? The agent starts a sign-up request and gives you a link and a short code, like WDJB-MJHT.

  3. 3. Approve once

    Open the link, sign in or create a free account, check the code, and click Approve. Your agent picks up its API key automatically and gets back to work.

claude — ~/marketing

You

Clean leads.csv before I import it into Mailchimp.

Claude

leads.csv has 86 addresses. I'll validate them with Truelist. You don't have a Truelist API key yet, so let's set one up.

Open this link, sign in or create a free account, and approve. The page should show the code WDJB-MJHT.

app.truelist.io/connect?code=WDJB-MJHT

Waiting for approval…

You

Done.

Claude

Connected as you@company.com and saved the key to TRUELIST_API_KEY. Results:

  • 71 Valid
  • 9 Risky
  • 6 Invalid

leads.clean.csv has the 71 valid addresses. The 9 risky ones (mostly accept-all domains) are in leads.risky.csv so you can decide on them separately. I left out the 6 invalid ones.

Example conversation in Claude Code with the Truelist skill.

You stay in control

Your agent asks. You approve.

No passwords in the chat
You sign in to Truelist in your own browser. Your agent never sees your password and can't approve its own request.
Check the code
The approval page shows the same code your agent gave you and the agent's name. If they don't match, click Deny.
Short-lived requests
A sign-up request expires after 15 minutes, and the API key is handed over exactly once.
Revoke any time
The key is a normal API key named after your agent. Find it in Settings → API keys and revoke it whenever you like.

Works with your setup

Pick the way your agent connects

Claude Code skill

Validates a CSV, splits out risky addresses, drops invalid ones, and hands you a clean file with a summary. Signs you up when it needs a key.

$ npx skills add Truelist-Labs/truelist-skills

MCP for any client

Add our hosted MCP server and log in once in your browser. Your assistant gets eight tools to validate emails, run batches, use Enhanced, and check your credit balance.

$ claude mcp add --transport http truelist https://api.truelist.io/mcp
Setup for every client

Your own agent

Two unauthenticated endpoints: start a request, then poll for the key. The same device flow TVs and CLIs use, with responses that include instructions written for an LLM.

Agent sign-up docs

Errors your agent understands

When something goes wrong, your agent knows what to say

Quota, billing, auth, and rate-limit errors come with a stable error_code, a link to fix it, and plain-language instructions for the agent. So instead of retrying in a loop, it tells you what happened and where to go.

Error reference
{
  "error": "You have used all of your free validations. ...",
  "error_code": "quota_exceeded",
  "purchase_url": "https://app.truelist.io/settings/billing",
  "instructions_for_agent": "Tell the user their free validations are used up and share purchase_url. Do not retry this request."
}

Frequently asked questions

Can't find the answer you're looking for? Reach out to our customer support team.

What can my agent do with Truelist?
The hosted MCP server has eight tools: validate one address, validate up to 50 at once, create a batch of up to 10,000 and check on it, list your batches and past results, and check your credit balance and account. Your agent picks the right one for the job.
What does Enhanced cost when my agent uses it?
Enhanced costs 3 credits, and only when it resolves an address. If an address stays unknown, it costs nothing. Your agent turns it on by passing validation_strategy: "enhanced". See Enhanced credits.
Is it safe to let an agent sign me up?
Your agent never sees your password and can’t approve anything on its own. It asks Truelist for a short code, then you open the link in your own browser, sign in, check that the code matches, and click Approve. Requests expire after 15 minutes, and the API key is handed over exactly once.
Can I revoke the key later?
Yes. The key is a normal Truelist API key named after your agent, like “Claude Code (agent)”. It shows up in Settings → API keys, and you can revoke it there at any time.
What does it cost?
Creating an account is free and includes 100 validations, no credit card required. After that, buy pay-as-you-go credits that never expire, or move to an Unlimited plan for high volume. See pricing.
What happens when I run out of validations?
Truelist tells your agent in plain language: what happened, the link where you can buy more, and that it shouldn’t retry. Your agent relays that to you instead of failing with a vague error.
Do I need Claude Code?
No. Any MCP client works, including Claude, ChatGPT, Codex, Cursor, VS Code Copilot and Gemini CLI: connect the Truelist MCP server. In Claude Code you can also install the skill. Building your own agent? Use the agent sign-up API directly.
I already have a Truelist account. Does this still work?
Yes. When you open the link, sign in to your existing account and approve. Your agent gets a new API key on that account. On a team account, an admin needs to approve.

Ready to put Truelist
to the test?

Find out if Truelist is right for you in under 10 minutes.

Free plan available. No credit card required.