mail7-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mail7-mcpIs sales@acme.com a real mailbox?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Mail7 MCP server
Email validation for AI assistants. This is an MCP server that gives Claude, Cursor, Windsurf, Cline and any other MCP client four tools: verify a single address, clean a list, check a domain's SPF record, and audit a domain's whole mail configuration.
Honest by design: Mail7 answers Valid, Not Valid or Unknown, and the tool descriptions tell the model in plain words that Unknown means "could not be verified", not "bad". An assistant using this server will not silently delete addresses it could not check.
Install
Node 18+ required. No install step - the server runs through npx.
Claude Code
claude mcp add mail7 --env MAIL7_API_KEY=your_key -- npx -y mail7-mcpClaude Desktop (claude_desktop_config.json), Cursor (~/.cursor/mcp.json),
and most other clients use the same shape:
{
"mcpServers": {
"mail7": {
"command": "npx",
"args": ["-y", "mail7-mcp"],
"env": { "MAIL7_API_KEY": "your_key" }
}
}
}Get an API key at mail7.net/account. The server also runs without one, but anonymous callers are limited to 5 checks per minute and a 25-address free bulk sample - not enough for real work.
Variable | Default | Purpose |
| - | Raises rate limits, unlocks full bulk validation |
|
| Override the API endpoint |
Related MCP server: domain-security-mcp-server
Tools
Tool | What it does |
| One address: syntax, MX, disposable-domain check, live SMTP mailbox probe |
| Up to 50 addresses per call, with a Valid / Not Valid / Unknown summary |
| Full mail-config audit graded A-F: MX, SPF, DKIM, DMARC, MTA-STS, TLS-RPT, DNSSEC, BIMI |
| SPF record, mechanisms, lookup count and misconfigurations |
Ask your assistant things like:
"Is
sales@acme.coma real mailbox?""Clean this list of signups and tell me which ones bounce."
"Why do our emails to customers land in spam? Check
ourdomain.com."
How results are shaped
validate_email and validate_emails return structured content alongside the text, so
a client that supports structured tool output gets typed fields:
{
"email": "user@example.com",
"status": "Unknown", // "Valid" | "Not Valid" | "Unknown"
"valid": null, // true | false | null (null = Unknown)
"formatValid": true,
"mxValid": true,
"smtpValid": false,
"is_disposable": false,
"details": "Server accepts all addresses (catch-all) - status unknown"
}check_domain returns a compact graded summary with a fix for every problem. To see the
raw records of one part, call it again with section set to mx, spf, dkim,
dmarc, mta_sts, tls_rpt, dnssec, bimi or domain.
Notes for large lists
Every address is a live SMTP conversation, so a check takes seconds, not milliseconds.
validate_emails caps at 50 addresses per call on purpose - call it repeatedly with the
next chunk rather than pushing a whole file through one call, and never run two calls in
parallel (the API serialises one bulk job per client).
Development
npm install
npm run build # -> dist/
node dist/index.js # speaks MCP over stdioLicense
MIT. Part of the Mail7 integrations.
Available Tools
4 toolscheck_domainCheck a domain mail configurationARead-only
Audit a domain's email setup in one call: MX records, SPF, DKIM, DMARC, MTA-STS, TLS-RPT, DNSSEC and BIMI, graded A-F with a fix for every problem found. Use this to answer "can this domain send and receive mail" or "why do our messages land in spam". Takes a domain (example.com), not an email address. The default answer summarises every section; pass section to get the full records and findings of one of them.
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain to check, e.g. example.com | |
| section | No | Drill into a single section instead of the whole summary | |
| dkim_selector | No | Optional DKIM selector to look up, e.g. "google" or "s1". Omit if unknown. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint and openWorldHint, establishing a safe read operation. The description adds valuable behavioral context: grading (A-F), fixes for problems, default summary vs. section drill-down, and the domain-not-email constraint. No contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three sentences, front-loaded with the primary function, followed by use cases and input/behavior details. No wasted words; each sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is complex (multiple sections, grading, fixes), but the description covers scope, output style (grades, fixes), and navigation (section parameter). With no output schema, it doesn't spell out return format in detail, but it still conveys sufficient behavior for a read-only domain audit.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already covers all three parameters with descriptions (100% coverage). The description goes beyond the schema by clarifying that 'domain' must be a domain, not an email address, and explaining how 'section' changes output (summary vs. full records). This adds meaningful semantic contrast.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the specific verb 'Audit' and resource 'a domain's email setup', enumerating concrete checks (MX, SPF, DKIM, DMARC, etc.). It clearly distinguishes itself from siblings like validate_email and check_spf by covering the entire domain setup rather than a single email or SPF record.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides explicit use cases ('can this domain send and receive mail', 'why do our messages land in spam') and an exclusion ('takes a domain, not an email address'). While it doesn't name alternative sibling tools, the intended context is clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
check_spfCheck a domain SPF recordARead-only
Fetch and analyse the SPF record of a domain: the raw record, its mechanisms, lookup count and common misconfigurations. Use check_domain instead when the question is about overall deliverability rather than SPF specifically.
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain to check, e.g. example.com |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations declare readOnlyHint=true, so safety is already covered. The description adds behavioral context by specifying what analysis is performed (mechanisms, lookup count, misconfigurations), going beyond the annotations without any contradiction.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with the primary action and outputs, followed by a clear alternative. No redundant words or unnecessary details.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter read-only tool, the description fully covers what it does, what it returns, and when to prefer an alternative. No output schema is present, but the description enumerates the return components.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with a parameter description for 'domain' already present. The description does not add further parameter semantics beyond the schema, so the baseline score of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Fetch and analyse') and resource ('SPF record of a domain'), and lists concrete outputs (raw record, mechanisms, lookup count, common misconfigurations). It also explicitly contrasts with check_domain, making its purpose distinct from siblings.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states when to use check_domain instead ('when the question is about overall deliverability'), providing a clear alternative and exclusion criterion for usage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
validate_emailValidate one email addressARead-only
Check whether a single email address is deliverable: syntax, domain MX records, disposable-domain database and a live SMTP mailbox probe. Status is one of "Valid", "Not Valid", "Unknown". Unknown means the mailbox could NOT be checked (catch-all domain, greylisting, blocked SMTP port) - it is NOT a bad address. Never delete, reject or report Unknown addresses as invalid; present them separately and let the user decide. Use validate_emails instead when you have more than one address.
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The email address to check, e.g. user@example.com |
Output Schema
| Name | Required | Description |
|---|---|---|
| Yes | ||
| valid | Yes | true = deliverable, false = does not exist, null = Unknown |
| status | Yes | |
| details | No | |
| mxValid | Yes | |
| smtpValid | Yes | |
| formatValid | Yes | |
| is_disposable | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Adds significant behavioral context beyond the readOnlyHint and openWorldHint annotations: explains the meaning of 'Unknown' status, lists reasons (catch-all, greylisting, blocked SMTP), and warns never to treat Unknown as invalid. This is valuable operational guidance.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is four sentences, each serving a distinct purpose: action, statuses, clarification, and sibling alternative. No fluff or redundancy, and the most critical information is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter tool with an output schema, the description covers the action, result interpretation, edge cases, and tool alternative. The 'Unknown' handling is especially important and fully addressed, leaving no significant gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already provides a description and example for the email parameter, with 100% coverage. The tool description adds minimal extra parameter info, so the baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool checks a single email address for deliverability, enumerating specific checks (syntax, MX, disposable-domain, SMTP probe). It also explicitly distinguishes from sibling validate_emails by noting the single-address scope, making the purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides explicit guidance to use validate_emails when more than one address is present, which serves as an exclusion criterion. It also implies this tool is for single-address checks, and offers interpretive guidance on handling Unknown results, meeting the dimension fully.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
validate_emailsValidate a list of email addressesARead-only
Check up to 50 email addresses in one call and get a per-address verdict plus a summary. Status is one of "Valid", "Not Valid", "Unknown". Unknown means the mailbox could NOT be checked (catch-all domain, greylisting, blocked SMTP port) - it is NOT a bad address. Never delete, reject or report Unknown addresses as invalid; present them separately and let the user decide. Requires MAIL7_API_KEY (anonymous callers get a 25-address free sample only). Each address takes a few seconds of real SMTP work, so this call is slow by nature: for a longer list, split it and call this tool repeatedly with the next 50 addresses. Never run two calls in parallel - the API serialises one bulk job per client and the second call fails.
| Name | Required | Description | Default |
|---|---|---|---|
| emails | Yes | The addresses to check, at most 50 per call |
Output Schema
| Name | Required | Description |
|---|---|---|
| note | No | |
| partial | Yes | true when the list was cut short (free anonymous sample or a limit was hit) |
| results | Yes | |
| summary | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description goes well beyond the readOnlyHint annotation by explaining that Unknown means the mailbox could NOT be checked due to specific causes, that the call is slow by nature, requires an API key with a 25-address free limit, and that parallel calls fail. These are behavioral traits not captured in the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is longer than average but every sentence serves a distinct purpose: purpose, Unknown semantics, API key, performance, and concurrency. It is front-loaded with the primary function in the first sentence and structured logically, earning its length.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (batch validation with nuanced Unknown handling and concurrency limits), the description covers all operational aspects: usage, auth, performance, and result interpretation. The output schema covers return details, so the description complements it well.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already fully documents the only parameter 'emails' with description 'The addresses to check, at most 50 per call' (100% coverage). The description's mention of 'up to 50' repeats the schema but adds no new parameter-specific meaning, so baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool checks up to 50 email addresses in one call and returns per-address verdicts plus a summary, using a specific verb ('Check') and resource. It distinguishes from sibling tools like validate_email by emphasizing the batch nature ('up to 50') and is unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It provides explicit usage context: split longer lists into chunks of 50, never run parallel calls because the API serialises jobs, and how to handle Unknown results (present separately, don't reject). However, it doesn't explicitly name alternative tools like validate_email for single addresses, so it's not a full 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
Each tool has a clear and distinct purpose: validate_email for single addresses, validate_emails for batches, check_domain for comprehensive domain audits, and check_spf for SPF-specific analysis. The slight overlap between check_domain and check_spf is explicitly addressed in the descriptions.
All tool names follow the verb_noun pattern (validate_email, validate_emails, check_domain, check_spf) with consistent snake_case and clear action verbs.
Four tools is well-scoped for an email validation and domain checking server, providing just the right amount of functionality without redundancy.
The surface covers both email validation (single and batch) and domain deliverability checks (comprehensive via check_domain, specific via check_spf). No obvious dead ends or missing operations for the stated purpose.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Email verification for AI agents — verify, clean & validate emails; self-onboard + crypto pay
Verify emails — deliverability, disposable/role/free detection, MX validity, domain age.
DMARC analytics and domain onboarding for AI assistants — health, SPF/DKIM, compliance, anomalies.
AI email inbox and sending tools with attachments, search, live events, and webhooks.
Related MCP Servers
- AlicenseAqualityCmaintenanceEmail-deliverability tools for AI agents — 12 MCP tools across email verification, DNSBL across 50 zones, SPF/DKIM/DMARC analysis, spam-trap scoring, domain intelligence, and email finder. Free tier with no credit card.12721MIT
- AlicenseAqualityDmaintenanceEnables AI agents to audit email and domain security (SPF, DKIM, DMARC, etc.) for any domain without requiring API keys.19MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to verify email addresses through a multi-signal probabilistic pipeline, returning confidence scores and honest statuses (safe/risky/invalid/unknown) with evidence.Apache 2.0
- FlicenseNot gradedqualityCmaintenanceProvides email verification as a tool, performing syntax validation, domain verification, and disposable-domain risk detection.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/dvlop/mail7-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server