# MailDoctor

> Diagnose and fix email deliverability: SPF, DKIM, DMARC, blocklists. Exact DNS fixes.

- name: dev.maildoctor/maildoctor
- version: 0.2.0
- connection class: R0 (autonomous)
- trust: 83/100 flags: no-repository
- quality: 83/100 (new)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/dev.maildoctor%2Fmaildoctor
- tools: https://api.protogrid.dev/v1/servers/dev.maildoctor%2Fmaildoctor/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "maildoctor": {
      "type": "http",
      "url": "https://maildoctor.dev/mcp"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 100
- freshness: 100
- provenance: 55
- drivers: +dns-namespace +website +reachable +uptime-100% +updated-3d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 83/100 (new)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 89 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 3 of 3 tools declare readOnlyHint or destructiveHint
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: analyze_headers (destructiveHint); check_domain (destructiveHint); get_dns_fixes (destructiveHint)
- pass `tools.token_cost`: about 584 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool names, descriptions, schemas or annotations
- pass `tools.poisoning`: no instructions aimed at the model in tool definitions

### stability: n/a (weight 15)

- n/a `stability.changes`, `stability.rug_pull`, `stability.new_links`: tool history recorded for 2 of the 7 days needed

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 3, about 584 tokens to load them all
- tool set hash: 2d4ef3335c4f54b4c5e2fd726e7119ae
- tools last changed: 2026-11-27T19:10:31.700Z
- badge: [![protogrid quality](https://protogrid.dev/badge/dev.maildoctor/maildoctor.svg)](https://protogrid.dev/servers/dev.maildoctor/maildoctor)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

- 2026-11-27 `analyze_headers` added no new version (still 0.2.0)
  - Explain the headers of one email: SPF, DKIM (each signature), DMARC and ARC results from Authentication-Results, whether SPF and DKIM align with the From domain for DMARC, which service sent it (SendGrid, Amazon SES, Postmark, Mailgun, Mailchimp, Brevo, Resend, Google Workspace, Microsoft 365, Zoho), List-Unsubscribe and one-click unsubscribe (RFC 8058), and the delay at each Received hop. Use it when someone pastes headers or asks why one specific email went to spam or arrived late. Headers are not stored. The only DNS lookup is the From domain's DMARC record, and only when the receiver's DMARC result contradicts the alignment check.
- 2026-11-27 `check_domain` changed (description) no new version (still 0.2.0)
  - before: Diagnose a domain's email setup: SPF (incl. the 10 DNS-lookup limit), DKIM keys, DMARC policy, MX and mail provider, inbound spam-filter gateway, MTA-STS/TLS-RPT, and Spamhaus/SpamCop/Barracuda blocklists. Returns a grade A–F, a status per check, and the exact DNS TXT records to fix each problem, worst first. Also lists the services that send mail as the domain and whether each would fail DMARC under p=reject (safe_to_enforce). Use it when someone asks why their email goes to spam, whether SPF/DKIM/DMARC is set up correctly, whether it is safe to move DMARC to p=reject, or how to fix email DNS.
  - after: Diagnose a domain's email setup: SPF (incl. the 10 DNS-lookup limit), DKIM keys, DMARC policy, MX and mail provider, inbound spam-filter gateway, MTA-STS/TLS-RPT, and Spamhaus/SpamCop/Barracuda blocklists. Returns a grade A–F, a status per check, and the exact DNS TXT records to fix each problem, worst first. Also lists the services that send mail as the domain and whether each would fail DMARC under p=reject (safe_to_enforce). Use it when someone asks why their email goes to spam or bounces (for example Outlook 550 5.7.515 or Gmail 550 5.7.26), whether SPF/DKIM/DMARC is set up correctly, whether it is safe to move DMARC to p=reject, or how to fix email DNS.
- 2026-11-27 `check_domain` changed (description) no new version (still 0.2.0)
  - before: Diagnose a domain's email setup: SPF (incl. the 10 DNS-lookup limit), DKIM keys, DMARC policy, MX and mail provider, inbound spam-filter gateway, MTA-STS/TLS-RPT, and Spamhaus/SpamCop/Barracuda blocklists. Returns a grade A–F, a status per check, and the exact DNS TXT records to fix each problem, worst first. Use it when someone asks why their email goes to spam, whether SPF/DKIM/DMARC is set up correctly, or how to fix email DNS.
  - after: Diagnose a domain's email setup: SPF (incl. the 10 DNS-lookup limit), DKIM keys, DMARC policy, MX and mail provider, inbound spam-filter gateway, MTA-STS/TLS-RPT, and Spamhaus/SpamCop/Barracuda blocklists. Returns a grade A–F, a status per check, and the exact DNS TXT records to fix each problem, worst first. Also lists the services that send mail as the domain and whether each would fail DMARC under p=reject (safe_to_enforce). Use it when someone asks why their email goes to spam, whether SPF/DKIM/DMARC is set up correctly, whether it is safe to move DMARC to p=reject, or how to fix email DNS.

Full history: https://api.protogrid.dev/v1/servers/dev.maildoctor%2Fmaildoctor/changes

## Remotes

- https://maildoctor.dev/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (3)

- `analyze_headers`: Explain the headers of one email: SPF, DKIM (each signature), DMARC and ARC results from Authentication-Results, whether SPF and DKIM align with the From domain for DMARC, which service sent it (SendGrid, Amazon SES, Postmark, Mailgun, Mailchimp, Brevo, Resend, Google Workspace, Microsoft 365, Zoho), List-Unsubscribe and one-click unsubscribe (RFC 8058), and the delay at each Received hop. Use it when someone pastes headers or asks why one specific email went to spam or arrived late. Headers are not stored. The only DNS lookup is the From domain's DMARC record, and only when the receiver's DMARC result contradicts the alignment check.
- `check_domain`: Diagnose a domain's email setup: SPF (incl. the 10 DNS-lookup limit), DKIM keys, DMARC policy, MX and mail provider, inbound spam-filter gateway, MTA-STS/TLS-RPT, and Spamhaus/SpamCop/Barracuda blocklists. Returns a grade A–F, a status per check, and the exact DNS TXT records to fix each problem, worst first. Also lists the services that send mail as the domain and whether each would fail DMARC under p=reject (safe_to_enforce). Use it when someone asks why their email goes to spam or bounces (for example Outlook 550 5.7.515 or Gmail 550 5.7.26), whether SPF/DKIM/DMARC is set up correctly, whether it is safe to move DMARC to p=reject, or how to fix email DNS.
- `get_dns_fixes`: Return every recommended email DNS fix for a domain as a BIND zone file, each record marked ADD or REPLACE. Use it to apply fixes through a DNS provider's zone import or API (Cloudflare, Route 53, Google Cloud DNS, Azure DNS).
