Email DNS check API & MCP server
The same check the domain checker runs, for programs and AI assistants. Free, no key, no signup.
JSON API
One endpoint. Give it a domain, get back a score from 0 to 100, a plain-English verdict and an ordered list of fixes for SPF, DKIM, DMARC, MX and BIMI.
curl "https://inboxsetup.org/api/check?domain=example.com"- Method:
GET(andOPTIONSfor browsers). CORS is open, so you can call it from a web page. - Limit: about 20 requests per minute per IP address. Over the limit you get HTTP 429. Results are cached for 5 minutes.
- Errors: JSON like
{"error": "invalid_domain", "message": "..."}with status 400 (bad or missing domain), 429, 502 or 504. - Quick check: to stay free and fast, the API reads at most 45 DNS records per request. SPF, DMARC, MX and name servers are always checked in full; DKIM tests about 30 to 40 of the most common selectors (first those of the services it finds in SPF and MX). The website runs the full check with more selectors, so a DKIM key under a rare selector may show only there.
- Data: read live from public DNS at the moment of the request. Nothing is stored.
Example response (trimmed)
{
"domain": "example.com",
"checked_at": "2026-12-03T05:47:10.000Z",
"score": 95,
"grade": "A",
"verdict": "Your email setup works. A few improvements are possible.",
"level": "good",
"summary": "Nothing urgent. The items below make your domain harder to fake.",
"fixes": [
{
"priority": "optional",
"title": "You do not receive DMARC reports.",
"why": "Reports show every service that sends email as your domain, including ones you forgot about.",
"steps": ["Add rua=mailto:you@yourdomain.com to your DMARC record."],
"dns_help_url": "https://inboxsetup.org/dns/cloudflare/"
}
],
"spf": { "status": "pass", "record": "v=spf1 -all", "dns_lookups": 0, "findings": [ ... ] },
"dmarc": { "status": "warning", "record": "v=DMARC1; p=reject; ...", "policy": "reject", "findings": [ ... ] },
"dkim": { "status": "info", "selectors_found": [], "selectors_checked": 36, "findings": [ ... ] },
"bimi": { "status": "info", "record": null, "findings": [ ... ] },
"mx": { "status": "info", "records": [], "findings": [ ... ] },
"detected_services": [],
"mailbox_provider": null,
"dns_host": "Cloudflare",
"guide_urls": [ { "label": "How to add a DNS record in Cloudflare", "url": "https://inboxsetup.org/dns/cloudflare/" } ],
"limits": { "dns_queries_used": 45, "dns_queries_skipped": 0, "mode": "quick" },
"report_url": "https://inboxsetup.org/?domain=example.com",
"source": "InboxSetup — https://inboxsetup.org"
}Fields
score,grade,verdict,summary: the overall result in numbers and words.fixes: ordered list of things to change. Each haspriority(urgent, recommended or optional),title,whyandsteps.spf,dmarc,dkim,bimi,mx: each has astatus(pass, warning, fail, missing, info or unknown; unknown means the DNS lookup failed, so try again), the record found andfindingsin plain text.dkim.selectors_checked: how many DKIM selectors were tested.limits:dns_queries_used(never above 45),dns_queries_skippedandmode(quick). If the quick check stopped before the full list, a DKIM finding says so and links to the full report.detected_services,mailbox_provider,dns_host,nameservers: who sends and receives the domain's email and where its DNS is edited.guide_urls: matching setup guides on this site.report_url: the full report in the browser.
A machine-readable description is in openapi.json (OpenAPI 3.1).
MCP server for AI assistants
Add this address as a remote MCP server and your assistant can check a domain or decode a bounce message on its own:
https://inboxsetup.org/mcpIt uses Streamable HTTP with no login. Two tools, both read-only:
check_email_domain(domain): the same quick check as the API, as short text plus structured data. One call per HTTP request: a batch with severaltools/callis refused.explain_bounce_error(error_text): paste a bounce message or code like550 5.7.26and get what it means and how to fix it.
Claude
Settings, then Connectors, then add a custom connector, and paste https://inboxsetup.org/mcp.
Claude Code
claude mcp add --transport http inboxsetup https://inboxsetup.org/mcpCursor
Add this to mcp.json:
{
"mcpServers": {
"inboxsetup": { "url": "https://inboxsetup.org/mcp" }
}
}ChatGPT
Where your ChatGPT plan supports custom connectors, turn on developer mode, add a new connector and use https://inboxsetup.org/mcp as its address, with no authentication.
Privacy and support
We do not store the domains you check or log who asked. See the privacy page. Questions or problems: hello@inboxsetup.org.
Fair use
Please keep to the rate limit, cache results on your side and do not use the service for bulk scanning of domains you do not manage. If you build something with it, a link back to inboxsetup.org is appreciated. No uptime guarantee; results are advice, not a certification.