# pim-mcp

> pim-mcp is an open-source MCP server for productivity. Read mail and manage calendars on your own IMAP and CalDAV servers, with read-only mode. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** macOS, Linux, Windows, CLI, Self-hosted
- **Repository:** https://github.com/robinvdvleuten/pim-mcp
- **MCP Registry name:** io.github.robinvdvleuten/pim-mcp
- **Categories:** [productivity](https://ai-powered.com/categories/productivity), [communication](https://ai-powered.com/categories/communication)
- **Listing updated:** 2026-11-23

## About

pim-mcp is built on the assumption that agents make mistakes and that invitations come from strangers. Mail can never be changed: no tool sends, moves, flags or deletes a message, and reading leaves it unread. Calendar writes are conditional on the version the agent read, so a stale write fails instead of overwriting an edit you just made on your phone.

Its signature move is email to calendar. An agent finds an invite with mail_search, previews what importing it would do, then imports it with recurrence and time zones intact; importing twice changes nothing and a newer invite updates the event. Setup needs only an email address and password, and the server discovers IMAP and CalDAV endpoints itself, asking before the password goes anywhere. Passwords live in the OS keychain, and certificates are always verified.

It is a single Go binary of about 16 MB, installed with Homebrew, release archives, packages or Docker. Tests ran against Dovecot, Radicale, Baikal and Nextcloud. The README calls it early days and recommends starting with --read-only.

## Features

- **Email to calendar:** Preview and import an invite from a message, repeat-safe.
- **Safe writes:** Each calendar change is conditional on the version read.
- **Read-only mode:** The --read-only flag removes every tool that can change something.
- **Keychain password:** Stored in the OS keychain, never in config or logs.
- **Multiple accounts:** Add more than one account, with the first as default.
- **Self-hosted friendly:** Tested against Dovecot, Radicale, Baikal and Nextcloud.

## Good for

- Add a meeting from an email to your calendar
- Ask what is on your calendar next week
- Find a free slot across your calendars
- Search mail by sender or invite without touching it
- Give an assistant calendar access while mail stays untouchable

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add pim-mcp --env PIM_MCP_PASSWORD='<PIM_MCP_PASSWORD>' -- docker run -i --rm -e PIM_MCP_PASSWORD ghcr.io/robinvdvleuten/pim-mcp:v0.1.0
```

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

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "pim-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PIM_MCP_PASSWORD",
        "ghcr.io/robinvdvleuten/pim-mcp:v0.1.0"
      ],
      "env": {
        "PIM_MCP_PASSWORD": "<PIM_MCP_PASSWORD>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "pim-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PIM_MCP_PASSWORD",
        "ghcr.io/robinvdvleuten/pim-mcp:v0.1.0"
      ],
      "env": {
        "PIM_MCP_PASSWORD": "<PIM_MCP_PASSWORD>"
      }
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "pim-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PIM_MCP_PASSWORD",
        "ghcr.io/robinvdvleuten/pim-mcp:v0.1.0"
      ],
      "env": {
        "PIM_MCP_PASSWORD": "<PIM_MCP_PASSWORD>"
      }
    }
  }
}
```

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

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "pim-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PIM_MCP_PASSWORD",
        "ghcr.io/robinvdvleuten/pim-mcp:v0.1.0"
      ],
      "env": {
        "PIM_MCP_PASSWORD": "<PIM_MCP_PASSWORD>"
      }
    }
  }
}
```

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

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add pim-mcp --env PIM_MCP_PASSWORD='<PIM_MCP_PASSWORD>' -- docker run -i --rm -e PIM_MCP_PASSWORD ghcr.io/robinvdvleuten/pim-mcp:v0.1.0
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.pim-mcp]
command = "docker"
args = ["run", "-i", "--rm", "-e", "PIM_MCP_PASSWORD", "ghcr.io/robinvdvleuten/pim-mcp:v0.1.0"]
env = { PIM_MCP_PASSWORD = "<PIM_MCP_PASSWORD>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "pim-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PIM_MCP_PASSWORD",
        "ghcr.io/robinvdvleuten/pim-mcp:v0.1.0"
      ],
      "env": {
        "PIM_MCP_PASSWORD": "<PIM_MCP_PASSWORD>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e PIM_MCP_PASSWORD='<PIM_MCP_PASSWORD>' pim-mcp docker -- run -i --rm -e PIM_MCP_PASSWORD ghcr.io/robinvdvleuten/pim-mcp:v0.1.0

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "pim-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PIM_MCP_PASSWORD",
        "ghcr.io/robinvdvleuten/pim-mcp:v0.1.0"
      ],
      "env": {
        "PIM_MCP_PASSWORD": "<PIM_MCP_PASSWORD>"
      }
    }
  }
}
```

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

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "pim-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PIM_MCP_PASSWORD",
        "ghcr.io/robinvdvleuten/pim-mcp:v0.1.0"
      ],
      "env": {
        "PIM_MCP_PASSWORD": "<PIM_MCP_PASSWORD>"
      }
    }
  }
}
```

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

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "pim-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PIM_MCP_PASSWORD",
        "ghcr.io/robinvdvleuten/pim-mcp:v0.1.0"
      ],
      "env": {
        "PIM_MCP_PASSWORD": "<PIM_MCP_PASSWORD>"
      }
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "pim-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PIM_MCP_PASSWORD",
        "ghcr.io/robinvdvleuten/pim-mcp:v0.1.0"
      ],
      "env": {
        "PIM_MCP_PASSWORD": "<PIM_MCP_PASSWORD>"
      }
    }
  }
}
```

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

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "pim-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PIM_MCP_PASSWORD",
        "ghcr.io/robinvdvleuten/pim-mcp:v0.1.0"
      ],
      "env": {
        "PIM_MCP_PASSWORD": "<PIM_MCP_PASSWORD>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "pim-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PIM_MCP_PASSWORD",
        "ghcr.io/robinvdvleuten/pim-mcp:v0.1.0"
      ],
      "env": {
        "PIM_MCP_PASSWORD": "<PIM_MCP_PASSWORD>"
      }
    }
  }
}
```

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

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "pim-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PIM_MCP_PASSWORD",
        "ghcr.io/robinvdvleuten/pim-mcp:v0.1.0"
      ],
      "env": {
        "PIM_MCP_PASSWORD": "<PIM_MCP_PASSWORD>"
      }
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "pim-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PIM_MCP_PASSWORD",
        "ghcr.io/robinvdvleuten/pim-mcp:v0.1.0"
      ],
      "env": {
        "PIM_MCP_PASSWORD": "<PIM_MCP_PASSWORD>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 12 tools deletes data and 2 change data; 3 names don't say. From the server's own tool labels and tool names; not verified by us.

- `account_info`: Show an account, its servers and your time zone
- `mail_list_folders` (name suggests: reads): List mail folders and their roles
- `mail_search` (name suggests: reads): Search a folder by sender, subject, text, date or invite
- `mail_get` (name suggests: reads): Read a message
- `calendar_list_calendars` (name suggests: reads): List calendars
- `calendar_list_events` (name suggests: reads): List events in a range with recurring events expanded
- `calendar_free_busy`: Find when you are busy
- `calendar_preview_import` (name suggests: reads): Show what importing an invite would do
- `calendar_create_event` (name suggests: changes): Create an event, optionally recurring
- `calendar_update_event` (name suggests: changes): Change an event or one occurrence
- `calendar_delete_event` (name suggests: deletes): Delete an event or one occurrence
- `calendar_import_from_email`: Add, update or cancel an event from an invite

## FAQ

### Can pim-mcp send or delete my email?

No. No tool sends, moves, flags or deletes mail, and reading leaves it unread.

### Where is my password stored?

In your OS keychain; in Docker it comes from the PIM_MCP_PASSWORD variable and supports a single account.

### How do I install pim-mcp?

Via Homebrew, release archives, deb, rpm or apk packages, Docker, or go install.

### Is pim-mcp production-ready?

The README says it is early days, and reading has been tried on one real provider, so start with --read-only.

### Is pim-mcp free?

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

### How do I add pim-mcp to Claude Code?

Run this command in your terminal: claude mcp add pim-mcp --env PIM_MCP_PASSWORD='<PIM_MCP_PASSWORD>' -- docker run -i --rm -e PIM_MCP_PASSWORD ghcr.io/robinvdvleuten/pim-mcp:v0.1.0

### What are the best alternatives to pim-mcp?

The closest alternatives to pim-mcp are TrendRadar, Ha MCP, Concord MCP, TryPost and Open Sunsama.

## Where this comes from

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

## Alternatives

- [TrendRadar](https://ai-powered.com/mcp/trendradar): TrendRadar is an open-source MCP server for communication.
- [Ha MCP](https://ai-powered.com/mcp/ha-mcp): Ha MCP is an open-source MCP server for productivity.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.
- [TryPost](https://ai-powered.com/mcp/trypost): TryPost is a paid MCP server for marketing and seo.
- [Open Sunsama](https://ai-powered.com/mcp/open-sunsama): Open Sunsama is an open-source MCP server for productivity.
- [Discord MCP](https://ai-powered.com/mcp/discord-mcp): Discord MCP is an open-source MCP server for communication.
- [Gmail MCP](https://ai-powered.com/mcp/gmail-mcp-3): Gmail MCP is an open-source MCP server for communication.
- [Dayfile.app](https://ai-powered.com/mcp/dayfile-app): Dayfile.app is an open-source MCP server for productivity.

---
Source: https://ai-powered.com/mcp/pim-mcp-2
