npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

protonmail-mcp-server

v1.0.1

Published

Professional ProtonMail MCP server with 23 tools for email management, folder operations, analytics, and seamless Proton Bridge integration.

Readme

ProtonMail MCP Server

CI npm version npm downloads License: MIT Node.js Version TypeScript MCP SDK

Model Context Protocol server for ProtonMail with 23 tools for email management through Proton Bridge.

Features

  • Email sending - Send emails with HTML/text, attachments, CC/BCC, custom headers
  • Email reading - Fetch, search, and filter emails via IMAP
  • Folder management - Create, delete, rename, list, and sync folders
  • Email operations - Mark read/unread, star, move, delete
  • Analytics - Email volume trends, contact statistics, response time analysis
  • System tools - Connection status, cache management, logging

Quick Start

Prerequisites

  • ProtonMail account
  • Proton Bridge installed and running
  • Node.js 18.0.0+

Installation

From npm:

npm install -g protonmail-mcp-server

From source:

git clone https://github.com/barhatch/protonmail-mcp-server.git
cd protonmail-mcp-server
npm install && npm run build

Configuration

Edit Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "protonmail": {
      "command": "npx",
      "args": ["-y", "protonmail-mcp-server"],
      "env": {
        "PROTONMAIL_USERNAME": "[email protected]",
        "PROTONMAIL_PASSWORD": "your-bridge-password",
        "PROTONMAIL_SMTP_HOST": "127.0.0.1",
        "PROTONMAIL_SMTP_PORT": "1025",
        "PROTONMAIL_IMAP_HOST": "127.0.0.1",
        "PROTONMAIL_IMAP_PORT": "1143"
      }
    }
  }
}

Notes:

  • Use 127.0.0.1 not localhost to avoid IPv6 issues
  • Password is your Proton Bridge password, not your ProtonMail login
  • Get Bridge password from Proton Bridge → Settings → Mailbox Password

Available Tools

Email Sending

  • send_email - Send email with HTML/text, attachments, CC/BCC
  • send_test_email - Send test email

Email Reading

  • get_emails - Fetch emails with pagination/filtering
  • get_email_by_id - Get specific email
  • search_emails - Search with multiple criteria

Folder Management

  • get_folders - List folders with stats
  • sync_folders - Sync folder structure
  • create_folder - Create new folder
  • delete_folder - Delete folder (must be empty)
  • rename_folder - Rename folder

Email Actions

  • mark_email_read - Mark read/unread
  • star_email - Star/unstar
  • move_email - Move between folders
  • delete_email - Delete permanently

Analytics

  • get_email_stats - Email statistics
  • get_email_analytics - Analytics and insights
  • get_contacts - Contact interaction stats
  • get_volume_trends - Email volume over time

System

  • get_connection_status - Check SMTP/IMAP status
  • sync_emails - Manual sync
  • clear_cache - Clear cache
  • get_logs - Get logs

Troubleshooting

Connection refused ::1:1143

  • Use 127.0.0.1 instead of localhost
  • Verify Proton Bridge is running: lsof -i :1025 -i :1143

Authentication failed

  • Use Proton Bridge password (not ProtonMail login)
  • Get from Proton Bridge → Settings → Mailbox Password

Certificate errors

  • Self-signed certs are automatically accepted for localhost

Development

npm run dev      # Watch mode
npm run build    # Build
npm run lint     # Type check

License

MIT - See LICENSE

Links

Unofficial third-party server, not affiliated with Proton AG.