# mail-muncher

> mail-muncher is an open-source MCP server. Filtered, read-only IMAP and Gmail archived to disk as .eml + markdown, served over MCP. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Website:** https://craigjmidwinter.github.io/mail-muncher/
- **Repository:** https://github.com/craigjmidwinter/mail-muncher
- **MCP Registry name:** io.github.craigjmidwinter/mail-muncher
- **Listing updated:** 2026-11-13

## About

Filtered, read-only IMAP and Gmail archived to disk as .eml + markdown, served over MCP.

## Install

### Claude Code (Terminal)

```sh
claude mcp add mail-muncher -- docker run -i --rm ghcr.io/craigjmidwinter/mail-muncher:0.4.0
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mail-muncher": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/craigjmidwinter/mail-muncher:0.4.0"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mail-muncher": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/craigjmidwinter/mail-muncher:0.4.0"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "mail-muncher": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/craigjmidwinter/mail-muncher:0.4.0"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mail-muncher": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/craigjmidwinter/mail-muncher:0.4.0"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mail-muncher": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/craigjmidwinter/mail-muncher:0.4.0"
      ]
    }
  }
}
```

## FAQ

### Is mail-muncher free?

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

### How do I add mail-muncher to Claude Code?

Run this command in your terminal: claude mcp add mail-muncher -- docker run -i --rm ghcr.io/craigjmidwinter/mail-muncher:0.4.0

---
Source: https://ai-powered.com/mcp/mail-muncher
