# anypost/emailmd [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/anypost/emailmd  
**GitHub Stars:** 1399  
**npm Downloads (last month):** 28000  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/anypost-emailmd

## Description
Write and preview emails from your assistant. Renders markdown into email-safe HTML that holds up in Outlook and Gmail, lints drafts for deliverability problems, and returns a live preview link. Hosted with no API key, or run it locally with npx emailmd mcp.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "emailmd": {
    "command": "npx",
    "args": ["-y","emailmd"]
  }
}
```

## Documentation

## What anypost/emailmd does

anypost/emailmd gives MCP-compatible assistants tools for creating and checking email content written in Markdown. The main workflow turns a Markdown draft into two outputs: email-safe HTML for the message body and plain text for the `text/plain` MIME part. The resulting HTML is designed for broad email-client compatibility, including Gmail, Outlook, Apple Mail, and Yahoo.

The server also supports emailmd’s extended Markdown features. These include buttons created from links, as well as chart directives for bar charts, progress meters, sparklines, KPI tiles, step trackers, and star ratings. Chart output uses table cells and text glyphs instead of remote images or SVG, allowing the visual information to remain available when images are blocked and in the plain-text alternative.

## How it works

Three MCP tools are exposed:

- `render` converts emailmd Markdown into email-safe HTML and plain text.
- `lint` checks a draft for deliverability problems without rendering it.
- `read_docs` retrieves emailmd syntax documentation for assistants that need guidance while composing a message.

The hosted MCP endpoint uses Streamable HTTP at `https://www.emailmd.dev/api/mcp`. A local installation runs over stdio with `npx emailmd mcp`. The hosted option can be used without an API key. MCP client configuration determines which transport and endpoint the assistant uses.

## Setup and configuration

For local use, install or invoke the package with npm and start its MCP entry point:

```bash
npx emailmd mcp
```

The underlying package requires Node.js 20 or newer. The package can also be installed with `npm install emailmd` when emailmd is being used directly in an application rather than only through MCP.

For a hosted setup, configure the MCP client to connect to:

```text
https://www.emailmd.dev/api/mcp
```

No environment variables or API key are required for the hosted service. Client-specific configuration details are available through emailmd’s MCP setup documentation.

## Tools and capabilities

`render` is suited to assistants that need a finished email representation. It produces complete HTML and a plain-text version from the same Markdown source. Email links can be marked as buttons, and directive syntax can express several compact data visualizations.

`lint` provides a validation step before delivery or rendering. It identifies deliverability concerns in the draft so an agent can revise the content before producing final output.

`read_docs` lets an assistant query the emailmd syntax reference from the MCP connection. This is useful for discovering supported directives, formatting rules, theming, frontmatter, and related API behavior while composing a draft.

## Limitations and notes

emailmd is under active development, and its API may change between minor versions before the 1.0 release. The package uses MJML internally and requires asynchronous rendering in the package API. Local MCP operation depends on Node.js 20 or newer. The available MCP interface is limited to rendering, linting, and documentation lookup; email sending and mailbox delivery are outside these tools.

_Full upstream README: https://allmcps.com/mcp/anypost-emailmd/readme_

