Skip to content
MCP server

email-lint

Lints email HTML for CSS and HTML features that Outlook, Gmail and Apple Mail drop

Runs locally

email-lint is an open-source MCP server for communication. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, API, Self-hosted
Runs
Locally
Version
0.2.3
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add email-lint -- npx -y @mscode-pl/email-lint

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "email-lint": {
      "command": "npx",
      "args": [
        "-y",
        "@mscode-pl/email-lint"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "email-lint": {
      "command": "npx",
      "args": [
        "-y",
        "@mscode-pl/email-lint"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "email-lint": {
      "command": "npx",
      "args": [
        "-y",
        "@mscode-pl/email-lint"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "email-lint": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mscode-pl/email-lint"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add email-lint -- npx -y @mscode-pl/email-lint

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.email-lint]
command = "npx"
args = ["-y", "@mscode-pl/email-lint"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "email-lint": {
      "command": "npx",
      "args": [
        "-y",
        "@mscode-pl/email-lint"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "email-lint": {
          "command": "npx",
          "args": [
            "-y",
            "@mscode-pl/email-lint"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user email-lint npx -- -y @mscode-pl/email-lint

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "email-lint": {
          "command": "npx",
          "args": [
            "-y",
            "@mscode-pl/email-lint"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "email-lint": {
          "command": "npx",
          "args": [
            "-y",
            "@mscode-pl/email-lint"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "email-lint": {
          "command": "npx",
          "args": [
            "-y",
            "@mscode-pl/email-lint"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "email-lint": {
          "command": "npx",
          "args": [
            "-y",
            "@mscode-pl/email-lint"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "email-lint": {
          "command": "npx",
          "args": [
            "-y",
            "@mscode-pl/email-lint"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "email-lint": {
          "command": "npx",
          "args": [
            "-y",
            "@mscode-pl/email-lint"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "email-lint": {
          "command": "npx",
          "args": [
            "-y",
            "@mscode-pl/email-lint"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About email-lint

Points at each CSS property, selector, HTML element and image format that a chosen set of email clients cannot render, with the line where it occurs. The support data comes from a bundled copy of the caniemail.com dataset, so checks run offline and inside CI pipelines without an account or API key.

It can be run as a one-off command on a folder of templates, driven by a committed config file, or wired into a GitHub Action that annotates pull request diffs and keeps a single updating comment. Output can be text, JSON, Markdown or GitHub annotations.

It also exposes two read-only tools over MCP, so an AI coding assistant can check a template while writing it and look up why a given feature breaks a client. Developers building email with React Email, MJML, Maizzle or plain HTML are the intended audience.

Tools this server provides (2)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 2 tools reads data; 1 name doesn't say.

From the server's own tool labels and tool names; not verified by us.

lint_email
Lints inline HTML or a file, folder or glob and returns issues with lines, affected clients and notes.
explain_featureName suggests: reads
For one caniemail feature slug, reports which clients lack support, whether it breaks the email, and how to fix it.

What it does

Line-level issue reports
Each unsupported feature is reported with the line it appears on, whether in inline styles, style blocks or attributes.
Selectable client set
Checks can be limited to chosen clients or platforms such as Gmail, Outlook for Windows or Apple Mail.
Outlook conditional awareness
Content inside Outlook-only conditional comments is not blamed for Outlook for Windows support gaps.
CI and pull request integration
A GitHub Action posts an updating report comment and annotations, and the CLI can exit non-zero on errors.
MCP server for AI agents
Two read-only tools let an assistant lint inline HTML or files and explain a specific feature's support.
Offline, no network
The dataset ships with the package, so linting runs without sending anything over the network.

Good for

  • Catch CSS that Outlook for Windows silently ignores before a newsletter is sent
  • Gate pull requests on email template compatibility in CI
  • Let an AI coding assistant check email markup while it is being written
  • Narrow compatibility checks to the clients a specific audience actually uses

Pricing

Open source

Free and MIT-licensed, self-run via npm.

More servers for the same service

email-lint FAQ

Does email-lint need an account or API key?

No. It needs Node 22 or newer and sends nothing over the network.

Which email clients are covered?

Gmail, Outlook, Apple Mail, Yahoo, Samsung Email and Thunderbird form the default set, and 22 clients can be selected in total.

Does email-lint render the email to show how it looks?

No. It reads the markup and reports where a client ignores a feature, so pixel checks still need a real client or a rendering service.

Is email-lint free?

Yes. email-lint is open source, so you can use and self-host it for free.

How do I add email-lint to Claude Code?

Run this command in your terminal: claude mcp add email-lint -- npx -y @mscode-pl/email-lint

What are the best alternatives to email-lint?

The closest alternatives to email-lint are Mailoo - Email MCP Server, Easy Email Builder, Inbox Preview, HTML Email Playbook and MailSlurp.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers