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

imap-mail-mcp

v1.0.1

Published

Local MCP server for searching and reading Naver, Daum, and Kakao Mail over IMAP

Readme

IMAP Mail MCP

npm version

Read-only MCP server for Naver, Daum, and Kakao Mail. Works with Codex and Claude Code.

Tools

| Tool | Description | | ------------------ | ---------------------------------------------- | | search-mail | Search by keyword, sender, recipient, or date. | | get-latest-mail | Get the newest message. | | get-recent-mails | List recent message summaries. | | list-mailboxes | List available mailboxes. | | read-mail | Read one message by mailbox and UID. | | batch-read-mail | Read up to 10 messages from the same mailbox. |

All tools support naver, daum, and kakao. Naver is the default provider.

Install

Requirements:

  • Node.js 20 or later
  • IMAP enabled for the mail account
  • An app password

Provider setup guides: Naver · Daum · Daum/Kakao app passwords

Run:

npx -y imap-mail-mcp setup

Setup asks for a provider, email address, and app password. Password input is masked with *. Credentials are stored in ~/.imap-mail-mcp/.env with owner-only permissions.

It then checks the IMAP connection and registers naver-mail with Codex, Claude Code, or both. Restart the client after setup. In Codex, check the registration with /mcp.

Options

| Option | Description | | --------------------------------- | ------------------------------------------------ | | --provider <naver, daum, kakao> | Configure one provider. | | --client <all, codex, claude> | Choose clients. Default: all. | | --dry-run | Print the registration plan without changing it. | | --skip-connection-test | Skip the IMAP connection check. |

Add another provider:

npx -y imap-mail-mcp setup --provider daum

Saved credentials are reused. To replace them, edit ~/.imap-mail-mcp/.env and run setup again.

The registered server command is:

npx --yes imap-mail-mcp serve

The command uses the latest published version available to npx.

Check the setup

After restarting the client, try:

List my Naver mailboxes.
Show the three most recent messages in my Naver inbox.
Find mail from a sender I know, then read the first result.

Development

git clone https://github.com/MK013467/imap-mail-mcp.git
cd imap-mail-mcp
npm ci
npm run setup:local

setup:local registers the local TypeScript entry with absolute paths. Keep the checkout in the same location after registration.

npm test
npm run typecheck
npm run format:check
npm run build

Limits

  • The server can search and read mail. It cannot send, move, or delete messages.
  • Attachment metadata is returned, but attachment contents are not.
  • Messages larger than 10 MB are rejected.
  • Bodies longer than 50,000 characters are truncated.

NAVER_IMTP_PASSWORD is accepted for compatibility. New setups use NAVER_IMAP_PASSWORD. Set IMAP_MAIL_MCP_ENV_FILE to use another credentials file.

License

MIT