mail7-mcp
Provides email validation and domain configuration auditing tools for AI assistants, enabling single address checks, bulk list cleaning, SPF verification, and full mail setup grading (A-F) with actionable fixes.
README
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-mcp
Claude 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 |
|---|---|---|
MAIL7_API_KEY |
- | Raises rate limits, unlocks full bulk validation |
MAIL7_BASE_URL |
https://mail7.net/api |
Override the API endpoint |
Tools
| Tool | What it does |
|---|---|
validate_email |
One address: syntax, MX, disposable-domain check, live SMTP mailbox probe |
validate_emails |
Up to 50 addresses per call, with a Valid / Not Valid / Unknown summary |
check_domain |
Full mail-config audit graded A-F: MX, SPF, DKIM, DMARC, MTA-STS, TLS-RPT, DNSSEC, BIMI |
check_spf |
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 stdio
License
MIT. Part of the Mail7 integrations.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.