# MailDoctor

> Free email deliverability checker. Checks SPF (including the 10-lookup limit), DKIM, DMARC, MX and mail provider, inbound spam filtering, MTA-STS/TLS-RPT, and Spamhaus/SpamCop/Barracuda blocklists. Returns a grade A–F and the exact DNS records that fix each problem.

Safe to enforce DMARC? It also finds the services that send mail as the domain (Google Workspace, Microsoft 365, SendGrid, Mailchimp, HubSpot, Zendesk and more) from SPF includes, DKIM keys and MX, and says which would fail DMARC under p=reject. JSON field: safe_to_enforce.

Read-only: it only does public DNS lookups and never sends email. No sign-up, no API key.

## Use it

- Markdown report: GET https://maildoctor.dev/{domain} (for example https://maildoctor.dev/example.com). Terminals get a colored summary: `curl https://maildoctor.dev/example.com`
- JSON: GET https://maildoctor.dev/{domain}?format=json
- All fixes as a BIND zone file: GET https://maildoctor.dev/zone?domain={domain}
- Web report for people: https://maildoctor.dev/check?domain={domain}
- Custom DKIM selector: add `?selector=name` to any of the above

## MCP server

Remote MCP server (Streamable HTTP, no auth): https://maildoctor.dev/mcp

Tools:
- check_domain(domain, dkim_selector?): full report with grade, per-check status and fixes
- get_dns_fixes(domain): BIND zone file with every fix, marked ADD or REPLACE

## Links

- [DMARC record generator](https://maildoctor.dev/tools/dmarc-generator)
- [Guides: DMARC p=reject, SPF 10-lookup limit, sender requirements](https://maildoctor.dev/guides)
- [Check a domain in the browser](https://maildoctor.dev/check?domain=example.com)
- [Markdown report for example.com](https://maildoctor.dev/example.com)
- [JSON report for example.com](https://maildoctor.dev/example.com?format=json)
- [Zone file with every fix](https://maildoctor.dev/zone?domain=example.com)
- [MCP server](https://maildoctor.dev/mcp)

## Limits

Results are cached for 5 minutes. Fresh checks are rate limited per IP.
