# Emailens MCP

> Emailens MCP is a freemium MCP server for developer tools. Audit, fix and preview HTML, MJML, Maizzle and React Email across 21 email clients. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $9 a month
- **Platforms:** CLI, API, Web
- **Website:** https://emailens.dev/mcp
- **Repository:** https://github.com/emailens/mcp
- **MCP Registry name:** io.github.emailens/mcp
- **Categories:** developer tools, marketing and SEO
- **Listing updated:** 2026-11-14

## About

Coding agents write email HTML that looks fine and then breaks in Outlook. The site describes a test in which six agents wrote 120 emails and none passed in all 21 clients; with these tools in the loop the same agents shipped 94. The engine behind them is open source on npm.

Tool replies are kept short on purpose. audit_email takes a file path, reads the file next to the server and lists only what to fix. It also remembers your first draft and reports design removals, such as deleted rounded corners, so a clean score cannot hide a worse email.

Seven tools run locally with no account. Screenshots and share links need an API key from the dashboard.

## Features

- **21-client checks:** Scores CSS compatibility against 21 email clients including Outlook and dark mode.
- **Design-removal warnings:** Reports features an edit took away, such as rounded corners.
- **File-path input:** The server reads the file itself so the email stays out of the model's context.
- **Formats supported:** Works with HTML, React Email, MJML and Maizzle.
- **Local engine:** Seven tools run offline with no account or rate limit.
- **Optional screenshots:** An API key adds screenshots and sharing.

## Good for

- Check a generated email before a customer sees it
- Fix Outlook rendering warnings in a template
- Compare dark-mode previews of a campaign
- Gate email sends in CI on the paid plan

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http mcp https://emailens.dev/api/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://emailens.dev/api/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://emailens.dev/api/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://emailens.dev/api/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://emailens.dev/api/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `preview_email`: Full email compatibility preview , transforms HTML for 21 email clients, analyzes CSS, generates scores, previews dark mode, checks inbox preview and email size.
- `analyze_email`: Fix error and warning findings. Info findings are not problems (the email falls back safely there): never remove responsive (@media) or dark-mode CSS to clear them. Quick CSS compatibility analysis, returns per-client scores and one finding per problem, listing the clients it affects. For HTML input each finding carries loc (line, column, offset) and alsoAtLines, so you can edit the exact source. 
- `audit_email`: Fix error and warning findings, and restore anything listed in designRemovals. Info findings are not problems (the email falls back safely there): never remove responsive (@media), dark-mode CSS or rounded corners to clear them. designRemovals compares this version with the first one audited for the same email (or with previousHtml): design the edits deleted, such as @media rules, dark mode, corne
- `fix_email`: Generate a structured fix prompt for email compatibility issues.
- `list_clients`: List all 21 supported email clients with IDs, names, rendering engines, dark mode support, and deprecation status. Use the returned IDs to filter other tools like preview_email or capture_screenshots.
- `diff_emails`: Compare two email HTML versions , shows score changes, fixed issues, and regressions per client.
- `capture_screenshots`: Capture real email screenshots across 21 clients (Gmail, Outlook, Apple Mail, etc.) with light and dark mode variants. Screenshots are rendered in real browsers and hosted on CDN.
- `share_preview`: Create a shareable link for an email preview. Recipients see the full analysis without needing an account. Requires the Dev plan or above.
- `check_deliverability`: Check email deliverability for a domain , SPF, DKIM, DMARC, MX, BIMI.
- `build_email`: Generate a cross-client-compatible email from a brief using Emailens's self-healing loop (generate → score across 21 clients → repair). Output stays in the framework you choose. Returns a runId immediately , poll get_build_status for progress and the final code. Requires a Pro/Team API key.
- `get_build_status`: Check a build_email run by runId , returns status, iteration, best compatibility score, and the current best source once available.
- `sandbox_get_inbox`: Retrieve or auto-create your Emailens sandbox test email address for capturing test emails.
- `sandbox_list_messages`: List recently captured test emails in the Emailens sandbox.
- `sandbox_wait_for_email`: Poll and wait for a matching incoming test email in the sandbox (ideal for auth OTPs, magic links, transactional email assertions).
- `sandbox_get_message`: Get complete email details: HTML/text body, parsed headers, spam score, SPF/DKIM/DMARC auth status, and validated links.

## FAQ

### Do I need an account?

No for the seven local tools; screenshots and sharing use EMAILENS_API_KEY.

### What does it cost?

Free covers 30 checks a day; Dev is $9 a month and Pro $19 a month.

### Is the engine open source?

The site says the email CSS engine is open source.

### Is Emailens MCP free?

Emailens MCP has a free plan, with paid plans for more usage or features. Paid plans start at $9 a month.

### How do I add Emailens MCP to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://emailens.dev/api/mcp

### What are the best alternatives to Emailens MCP?

The closest alternatives to Emailens MCP are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.

---
Source: https://ai-powered.com/mcp/emailens-mcp
