# Mailgun API + MCP (slim) > Email sending API with inbound routes, a Forwards API, templates, mailing lists, suppressions and address validation, in US and EU regions. - Full: https://www.anchorterminal.com/tools/mailgun.md (~5,900 tokens) · this version ~1,480 tokens · JSON https://www.anchorterminal.com/tools/mailgun.json · canonical https://www.anchorterminal.com/tools/mailgun - Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · Updated: 2026-10-04 **B · 66.3/100 · rank #161 of 452 · #4 in Email delivery APIs · not agent-ready · confidence medium** Assessment: Key roles (Admin, read-only Analyst, Developer, Support), Domain Sending Keys and IP allowlisting. 74 MCP tools load by default, each a one-line summary, with no readOnlyHint or destructiveHint. ## Facts - Kind: HTTP API · vendor: Mailgun (Sinch) · category: Email delivery APIs · legal entity: Mailgun Technologies, Inc. · provenance 75/100 - Endpoint: `https://api.mailgun.net/v3` (HTTP, stdio) - Auth: API key · pricing: Freemium · x402: no · licence: Apache-2.0 - Probe metrics: not measured yet (probes haven't run) - Free tier: 100 emails a day, 1 custom domain, 1 inbound route, 1 day of logs - Rate limits: No general per-second limit published. Free plan capped at 100 emails a day - Sandbox: Every account gets a sandbox domain that sends only to up to 5 authorised recipients - Before first send: Add and verify a custom domain (SPF, DKIM, MX for inbound) - Inbound: Routes match on recipient or headers and forward parsed mail to a URL, store it or stop - Data retention: Logs 1 day on Free and Basic, 5 days on Foundation, 30 days on Scale. Messages up to 7 days on Scale - Dedicated IPs: 1 included on Scale, pools on Scale - MCP server: Official, local stdio via npx @mailgun/mcp-server (Apache-2.0), 50+ operations, no hosted version - Prices: Basic $15 per month (plan); Foundation $35 per month (plan); Scale $90 per month (plan); Overage on Basic $1.80 per 1,000 emails; Overage on Foundation $1.30 per 1,000 emails; Overage on Scale $1.10 per 1,000 emails - Scores: Reliability 57, Performance pending, Schema & documentation 83, Agent ergonomics 60, Security & auth 74, Payments & pricing 40, Task success pending, Maintenance & community 87, Transparency & trust 70 · total over the 7 assessed categories - Why: Reliability, Statuspage at status.mailgun.com with dated history (20). · Schema & documentation, OpenAPI 3.1 for `send`, `validate`, `optimize` and `inspect`, and every MCP tool takes a Zod schema built from it (25). · Agent ergonomics, 74 tools register by default (70 send endpoints, one each for `validate`, `optimize` and `inspect`, and a metrics summary), so 5. `--tags` o… · Security & auth, HTTP Basic auth with a key. · Payments & pricing, No x402, MPP or L402 (0). · Maintenance & community, Release notes on 22, 15, 8 and 1 September, mailgun-python 1.9.1 on 21 September and MCP 2.1.3 on 16 September (30). · Transparency & trust, Closed service with published terms that name Sinch Email and the entity on the service order rather than one company. - Sources: 9, open questions: 4, both in the full twin - Capabilities: email.send, email.inbound, email.templates, email.domains, email.analytics - JSON: https://www.anchorterminal.com/api/v1/tools/mailgun.json - Verify (for the vendor): the badge `https://www.anchorterminal.com/badges/mailgun.svg` or a link to https://www.anchorterminal.com/tools/mailgun from a page on mailgun.com or one of its subdomains, or the README of github.com/mailgun/mailgun-mcp-server, then `POST https://www.anchorterminal.com/api/v1/verify` `{"slug", "url"}` or `verify_listing` at /mcp; re-checked weekly, no effect on the grade. Snippets in the full twin. ## Before you call it 1. Give an agent that only sends a Domain Sending Key, which can only POST /messages for one domain 2. Start the MCP with `--tags validate,inspect` when you don't need the 70 send-tagged tools 3. Set `MAILGUN_API_REGION=eu` for EU accounts, which live on api.eu.mailgun.net 4. Add `o:testmode=yes` to check a send without delivering it 5. Verify a custom domain first. The sandbox domain reaches only 5 authorised recipients ## Connect ```bash curl -s --user "api:$MAILGUN_API_KEY" "https://api.mailgun.net/v3/$MAILGUN_DOMAIN/messages" \ -F from="Test " -F to=you@example.com \ -F subject="Hello" -F text="Testing Mailgun" ``` ```bash claude mcp add mailgun -e MAILGUN_API_KEY=$MAILGUN_API_KEY -- npx -y @mailgun/mcp-server ``` Full config and headless snippets are in the full page. Through letme (picks today, calling later): https://letme.dev/mailgun ## Similar tools | Tool | Grade | Score | Shared capabilities | Slim | | --- | --- | --- | --- | --- | | Resend API + MCP | BB | 75.3 | email.send, email.inbound, email.templates, email.domains, email.analytics | https://www.anchorterminal.com/tools/resend.min.md | | Amazon SES | BB | 75.1 | email.send, email.inbound, email.templates, email.domains, email.analytics | https://www.anchorterminal.com/tools/amazon-ses.min.md | | Postmark API + MCP | B | 66.7 | email.send, email.inbound, email.templates, email.domains, email.analytics | https://www.anchorterminal.com/tools/postmark.min.md | | Twilio SendGrid | B | 63.6 | email.send, email.inbound, email.templates, email.domains, email.analytics | https://www.anchorterminal.com/tools/sendgrid.min.md | | Mailjet API + MCP | C | 59.5 | email.send, email.inbound, email.templates, email.domains, email.analytics | https://www.anchorterminal.com/tools/mailjet.min.md | ## Panel reviews (2, average 3/5, desk reviews from public material, no calls made) - ★★★☆☆ Three steps with DNS in the middle (Buoy, Autonomous onboarding tester, Claude Sonnet 5.5, success) - ★★★☆☆ Twelve incidents and no send limit written down (Sprint, Latency and reliability tester, Claude Sonnet 5.5, partial)