Truelist
Validate email addresses for deliverability and manage email validation batches with Truelist.
ماذا يمكنك أن تفعل مع Truelist؟
- Restart your AI assistant after changing the MCP configuration
- Check that
npx truelist-mcpruns without errors whenTRUELIST_API_KEYis set - Verify the config file path is correct for your platform
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
claude mcp add --transport http truelist 'https://api.truelist.io/mcp'
{
"mcpServers": {
"truelist": {
"type": "http",
"url": "https://api.truelist.io/mcp"
}
}
}
truelist-mcpclaude mcp add truelist -e 'TRUELIST_API_KEY=<your truelist_api_key>' -- npx -y truelist-mcp@0.1.1
{
"mcpServers": {
"truelist": {
"command": "npx",
"args": [
"-y",
"truelist-mcp@0.1.1"
],
"env": {
"TRUELIST_API_KEY": "<your truelist_api_key>"
}
}
}
}
متغيرات البيئة
TRUELIST_API_KEYإلزامي سري Your Truelist API key (get one at https://app.truelist.io)
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
المحتويات
truelist-mcp
MCP (Model Context Protocol) server for Truelist email validation. Lets AI assistants like Claude, Cursor, and VS Code Copilot validate email addresses for deliverability.
What is this?
This package exposes Truelist's email validation API as MCP tools. Once configured, your AI assistant can:
- Check if an email address is valid and deliverable
- Validate batches of emails at once
- Check your Truelist account info and plan
Start free — 100 validations + 10 enhanced credits, no credit card required. Get your API key → Works with the free plan.
Installation
npm install -g truelist-mcp
Or run directly with npx:
npx truelist-mcp
Configuration
You need a Truelist API key. Get one at truelist.io.
Claude Desktop
Add to your claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"truelist": {
"command": "npx",
"args": ["truelist-mcp"],
"env": {
"TRUELIST_API_KEY": "your-api-key"
}
}
}
}
Claude Code
Add to your .claude/settings.json or run:
claude mcp add truelist -- npx truelist-mcp
Then set the environment variable:
export TRUELIST_API_KEY=your-api-key
Cursor
Add to your Cursor MCP settings (.cursor/mcp.json in your project or global settings):
{
"mcpServers": {
"truelist": {
"command": "npx",
"args": ["truelist-mcp"],
"env": {
"TRUELIST_API_KEY": "your-api-key"
}
}
}
}
VS Code (GitHub Copilot)
Add to your VS Code settings (.vscode/mcp.json in your project):
{
"servers": {
"truelist": {
"command": "npx",
"args": ["truelist-mcp"],
"env": {
"TRUELIST_API_KEY": "your-api-key"
}
}
}
}
Tools
validate_email
Validate a single email address for deliverability.
Input:
{
"email": "user@example.com"
}
Output:
{
"email": "user@example.com",
"state": "ok",
"sub_state": "email_ok",
"suggestion": null,
"domain": "example.com",
"canonical": "user@example.com",
"mx_record": "mx.example.com",
"first_name": "Jane",
"last_name": "Doe",
"verified_at": "2026-02-21T12:00:00Z",
"is_valid": true,
"is_deliverable": true
}
States:
| State | Meaning |
|---|---|
ok | Email is deliverable |
email_invalid | Email is not deliverable |
risky | Email may be deliverable but has risk factors |
accept_all | Domain accepts all addresses; deliverability uncertain |
unknown | Could not determine deliverability |
Sub-states:
| Sub-state | Meaning |
|---|---|
email_ok | No issues found |
accept_all | Domain accepts all addresses |
is_disposable | Temporary/disposable email |
is_role | Role-based address (info@, support@, etc.) |
failed_mx_check | Domain has no mail server |
failed_smtp_check | SMTP verification failed |
failed_spam_trap | Known spam trap address |
failed_no_mailbox | Mailbox does not exist |
failed_greylisted | Server temporarily rejected |
failed_syntax_check | Invalid email syntax |
unknown | Could not determine sub-state |
validate_emails
Validate multiple email addresses in a single batch (max 50).
Input:
{
"emails": [
"user@example.com",
"test@invalid.example",
"hello@gmail.com"
]
}
Output:
[
{
"email": "user@example.com",
"state": "ok",
"sub_state": "email_ok",
"is_valid": true
},
{
"email": "test@invalid.example",
"state": "email_invalid",
"sub_state": "failed_mx_check",
"is_valid": false
},
{
"email": "hello@gmail.com",
"state": "ok",
"sub_state": "email_ok",
"is_valid": true
}
]
check_account
Check your Truelist account info including name, email, plan, and admin status.
Input: none
Output:
{
"email": "you@company.com",
"name": "Your Name",
"uuid": "a3828d19-...",
"timeZone": "America/New_York",
"isAdminRole": true,
"paymentPlan": "pro"
}
Environment Variables
| Variable | Required | Description |
|---|---|---|
TRUELIST_API_KEY | Yes | Your Truelist API key from truelist.io |
Troubleshooting
"TRUELIST_API_KEY environment variable is required"
The server requires a TRUELIST_API_KEY environment variable. Make sure it's set in your MCP configuration's env block or exported in your shell.
Tool not showing up in Claude/Cursor
- Restart your AI assistant after changing the MCP configuration
- Check that
npx truelist-mcpruns without errors whenTRUELIST_API_KEYis set - Verify the config file path is correct for your platform
Authentication errors
Verify your API key is correct and active at truelist.io.
Rate limiting
Truelist enforces rate limits on the API. If you hit rate limits, the SDK will automatically retry with exponential backoff. For batch validation, emails are validated concurrently so large batches may trigger rate limits.
Getting Started
Sign up for a free Truelist account to get your API key. The free plan includes 100 validations and 10 enhanced credits — no credit card required.
License
MIT
الأسئلة الشائعة
ما هو Truelist؟
Validate email addresses for deliverability and manage email validation batches with Truelist.
كيف أثبّت Truelist؟
يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http truelist 'https://api.truelist.io/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج Truelist إلى مفتاح API؟
نعم. يتطلب TRUELIST_API_KEY، وتضبطها في إعداداته.
هل Truelist مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون Truelist؟
ينشره Truelist-Labs. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.