LocalFree server, account needed

IMAP mailbox MCP server

ni-c/imap-mcp

Read, search and organise any IMAP mailbox, with writes off by default

4 GitHub stars7 forks

Install IMAP mailbox in Claude Code

npm

Claude Code
claude mcp add imap-mailbox -e IMAP_HOST=... -e IMAP_USER=... -e IMAP_PASSWORD=... -- npx -y @ni-c/imap-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "imap-mailbox": {
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/imap-mcp"
      ],
      "env": {
        "IMAP_HOST": "...",
        "IMAP_USER": "...",
        "IMAP_PASSWORD": "..."
      }
    }
  }
}

Docker

Claude Code
claude mcp add imap-mailbox -e IMAP_HOST=... -e IMAP_USER=... -e IMAP_PASSWORD=... -- docker run -i --rm -e IMAP_HOST -e IMAP_USER -e IMAP_PASSWORD ghcr.io/ni-c/imap-mcp:0.5.3
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "imap-mailbox": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "IMAP_HOST",
        "-e",
        "IMAP_USER",
        "-e",
        "IMAP_PASSWORD",
        "ghcr.io/ni-c/imap-mcp:0.5.3"
      ],
      "env": {
        "IMAP_HOST": "...",
        "IMAP_USER": "...",
        "IMAP_PASSWORD": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the IMAP mailbox MCP server do?

Read, search and organise any IMAP mailbox, with writes off by default

Is the IMAP mailbox MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does IMAP mailbox run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add IMAP mailbox to Claude Code?

Run: claude mcp add imap-mailbox -e IMAP_HOST=... -e IMAP_USER=... -e IMAP_PASSWORD=... -- npx -y @ni-c/imap-mcp

More search & web scraping MCP servers

View all