Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

mail-index

by unsoldgroupversion 1.5.1i★ 4iRuns on your computerRepository ↗
Registry nameio.github.unsoldgroup/mail-index

How to install

What it does

Local-first, read-only MCP server for recall over your Gmail: search, contacts, threads, digests.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Chat & email

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity8/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score20/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install mail-index. Follow https://mcp.popnx.com/i/unsoldgroup-mail-index.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 13, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server mail-index for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "mail-index": { "command": "npx", "args": [ "-y", "mail-index" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the mail-index tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "mail-index": {
          "command": "npx",
          "args": [
            "-y",
            "mail-index"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use mail-index and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using mail-index or shows a mail-index tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect mail-index yet

mail-index runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect mail-index

  • Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Chat & email that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server mail-index for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user mail-index -- npx -y mail-index 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the mail-index tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user mail-index -- npx -y mail-index
  4. Type /mcp in Claude Code

    You should see mail-index listed as connected

  5. Try it

    Use mail-index and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using mail-index or shows a mail-index tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server mail-index for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "mail-index": { "command": "npx", "args": [ "-y", "mail-index" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the mail-index tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use mail-index and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using mail-index or shows a mail-index tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server mail-index for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "mail-index": { "type": "stdio", "command": "npx", "args": [ "-y", "mail-index" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the mail-index tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use mail-index and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using mail-index or shows a mail-index tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use mail-index💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user mail-index -- npx -y mail-index

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "mail-index": {
      "command": "npx",
      "args": [
        "-y",
        "mail-index"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "mail-index": {
      "command": "npx",
      "args": [
        "-y",
        "mail-index"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "mail-index": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mail-index"
      ]
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
95/wk
Connection
Runs on your computer
Latest versioni
1.5.1
Published to registryi
Aug 5, 2026
Code last changedi
Nov 17, 2026
Maker
unsoldgroup
Packages
npm: mail-index
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 18, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account unsoldgroup, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for mail-index@1.5.1

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/unsoldgroup-mail-index.svg)](https://mcp.popnx.com/en/servers/unsoldgroup-mail-index)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Chat & emaili

  • More stars than 92% of the other 1999 servers in this category
  • Published to the registry more recently than 18% of the other 1999 servers in this category
  • Basic checks equal to or better than 99% of the other 1999 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is mail-index safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (1.5.1) reached the registry 3 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: emailmd, Kite Discord Bot Builder, e2a — email for AI agents, Infobip MCP, kernelCAD

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

emailmd

Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.

by anypostWidely used↓ 5.4K/wk★ 1.4KUpdated 4 days ago

Computer or cloud✓ service owner · emailmd.dev

Infobip MCP

Infobip MCP server for omnichannel communication and messaging. SMS, RCS, WhatsApp, Viber and more.

by infobipEarly★ 36Updated 13 months ago

Runs in the cloud✓ service owner · infobip.com

kernelCAD

CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.

by w1neEarly★ 35Updated 22 days ago

Runs in the cloud✓ service owner · kernelcad.com
Compared with similar ones
This one
mail-index
emailmdKite Discord Bot Buildere2a — email for AI agentsInfobip MCPkernelCAD
Runs whereInstalls on your computerCloud or install on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoNoYesNo
Basic checks3/35/54/44/44/44/4
LicenseMITMITAGPL-3.0Apache-2.0MITMIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

mail-index

mail-index downloads a preview of your whole inbox to your machine, then smartly fetches the full text of the messages that matter as you use it. That local index lets your AI agent run true summarization and recall over your entire mailbox — instead of being trapped behind Gmail's search bar.

It works through a local MCP server, so any agent (Claude, Codex, any MCP client) can query it. Local-first — the default index never leaves your machine. Operators who need an always-on connector can instead deploy the optional, single-tenant remote Worker Deployment in their own Cloudflare account; mail-index operates no hosting service. Read-only by default — it never mutates your mail unless you explicitly opt into archive + label edits (a gmail.modify re-auth) or, on the remote Deployment, drafts (a gmail.compose re-auth). It never sends or deletes mail. Both opt-in scopes can send at the token level, so that guarantee is enforced in code (a send guard on the Gmail runner plus test/drafts.test.ts), not by the scope. See ADR-0007 and ADR-0011.

Ask a vague question → one local MCP call → ranked, snippet-first answer. Interactive version →

Status: v1.5 — published. Progressive sync, the correspondence graph, the

interest engine, curation, the full MCP surface, and the write-back

loops are built and tested — and mail-index is live on

[npm](https://www.npmjs.com/package/mail-index) with a

[`.mcpb` bundle](https://github.com/unsoldgroup/mail-index/releases/latest).

Still in progress: the bundled Option A OAuth client and signed one-click

installers. Architecture lives in

[docs/PLAN.md](docs/PLAN.md); start with [docs/INSTALL.md](docs/INSTALL.md);

every release is recorded in [CHANGELOG.md](CHANGELOG.md).

[!TIP]

New in v1.5 — the optional remote Deployment. mail-index can now also run

as a single-tenant Cloudflare Worker in your own account: always-on, synced

on a cron, and reachable by remote agents over authenticated MCP (plus a small

A2A surface). It serves the _same_ tool registry as the local server, backed by

a D1 storage driver that passes the same FTS ranking conformance suite, and

it can push — Trigger rules match new mail as it lands and fire signed

webhooks. Long O(N) work becomes a queued Job instead of a command

handback. You can seed a fresh Deployment straight from your existing local

index with mail-index export → D1 import, so it starts with your history

already indexed. **The local CLI + stdio path is unchanged and stays the

default**, and mail-index still operates no hosting service — the Worker is

code you deploy to infrastructure you own.

See [docs/INSTALL-worker.md](docs/INSTALL-worker.md),

[docs/WORKER-SEED.md](docs/WORKER-SEED.md),

[ADR-0008](docs/adr/0008-self-hosted-remote-deployment.md).

Also new locally: every MCP response carries a freshness block and any

stale read now auto-triggers a background sync (previously only the digest

composites did).

[!TIP]

From v1.4 — opt-in mailbox writes + human-readable labels.

mail-index can archive a message and edit its labels directly on

Gmail — via the archive / label CLI commands and the archive_message /

modify_labels MCP tools, on both the gog and gws adapters. It stays

read-only by default: writes are unreachable until you opt in with a

gmail.modify grant (mail-index never sends or deletes; the scope could

send, so a code guard enforces this, see ADR-0011) — enable per

account with mail-index setup --account --enable-writes or the

bundled scripts/enable-writes.sh. Labels render as their human names

everywhere (the index caches Gmail's label catalogue and resolves

Label_3546… → _"Expedition Insure"_ in both directions), and you can pass a

friendly label name to label --add/--remove.

See [ADR-0007](docs/adr/0007-opt-in-mailbox-writes.md).


How it works

  1. Progressive sync — metadata for the whole mailbox in minutes; bodies fetched selectively.
  2. Graph — contacts, domains, threads; centrality + communities over your _human_ (non-bulk) mail.
  3. Interest — an engagement score per contact from read/reply/star/importance signals. A _seed for your curation_, not an autonomous decision.
  4. Curate — you (via your agent, or a CLI wizard) confirm who/what matters; that profile drives which bodies get fetched.
  5. Query — your agent searches, traverses the graph, and reads the messages that matter, all locally via MCP.

Important messages prewarm a local index; the MCP reads from it, touching Gmail again only when a needed body isn't there yet. Interactive version →

Quick start

Requires Node 24+ and a Gmail MailSource adapter — `gog` (recommended) or `gws`. Reading Gmail needs a Google OAuth client, and you get one two ways: use the mail-index beta client (skip Google Cloud entirely; request access to join the ~100-user test list) or bring your own Google Cloud client (no cap, no request — we walk you through it). See docs/INSTALL.md §2 and docs/oauth-and-verification.md.

npm install -g mail-index                    # or: pnpm add -g mail-index

mail-index init # scaffold the config

…connect a mailbox (own OAuth client, read-only) — see docs/INSTALL.md §2 / agent-install.md…

mail-index sync --account personal --since 6mo mail-index graph build --account personal mail-index search "that contract we discussed"

_(Prefer source? git clone …, pnpm install && pnpm build, then run the bins as node dist/cli/index.js ….)_

Add to Claude

The MCP server registers in one step, but it still needs a mailbox connected first (see the walkthrough). A .mcpb/claude mcp add only adds the server — it doesn't install the adapter, sign you in, or sync.

  • Claude Code: claude mcp add --transport stdio mail-index -- npx -y -p mail-index mail-index-mcp (on Windows, prefix with cmd /c: … -- cmd /c npx -y -p mail-index mail-index-mcp — bare npx/.cmd won't spawn. See docs/INSTALL.md §7.)
  • Any MCP client (manual):
  { "mcpServers": { "mail-index": { "command": "mail-index-mcp" } } }
  • Claude Desktop: download the [`.mcpb` bundle](https://github.com/unsoldgroup/mail-index/releases/latest/download/mail-index.mcpb) and double-click it (unsigned during beta — you may need to allow it in System Settings / Windows SmartScreen). The bundle is self-contained (ships its own dependencies, run by Claude Desktop's bundled Node — no npx, network, or system Node needed) so it installs identically on Windows/macOS/Linux. A signed all-in-one installer that _also_ installs the adapter, signs you in, and syncs is still in progress; there is no claude:// install link.

Teach your agent the common moves. The MCP server already tells the agent _when_ to reach for it (purchases, receipts, bookings, "who said what", "catch me up"), and the repo ships a Claude [Agent Skill](skills/mail-index/SKILL.md) with the typical recipes (find purchases, catch up, find a contact's mail, summarize a sender). Drop it in for Claude Code/Desktop:

mkdir -p ~/.claude/skills && cp -R skills/mail-index ~/.claude/skills/

Full walkthrough (auth, curation, enrichment, scheduled sync, desktop-app gotchas) → [docs/INSTALL.md](docs/INSTALL.md). Driving setup with an agent → [docs/agent-install.md](docs/agent-install.md).

What to expect — time & storage

The index keeps metadata for every message and full text only where it earns it, so it grows with message _count_, not mailbox size — about 1.5% of your Gmail. First sync runs ~50 messages/min (one-time, incremental after); search is instant. Start with --since 1mo for value in minutes, then expand. Sizing table & growth path → [docs/INSTALL.md §9](docs/INSTALL.md#9-grow-your-index-intelligently).

Why it's lighter than Gmail search

Stock Gmail-API MCPs are query-based lookup tools — exact query, a network round-trip per call, raw payloads dumped into the model's context. mail-index answers _vague_ questions from a local recall index. Across a 100-question suite on a real mailbox it answered every question for 15× fewer tokens — and the gap widens exactly where a query-based MCP has no primitive at all: summarizing, relationships, and commitments.

Per-category tables, the read-one-message comparison, the tool-by-tool landscape, and how to reproduce it all → [docs/COMPARISON.md](docs/COMPARISON.md).

Stack

TypeScript · node:sqlite (no native deps) · SQLite FTS5 · Graphology · @modelcontextprotocol/sdk. Node 24+. Pluggable MailSource adapters; ships two Gmail transports — gog (recommended) and Google's gws.

CLI

Two bins ship: mail-index (CLI) and mail-index-mcp (the stdio MCP server).

mail-index init                          Scaffold the operator config + data dir

mail-index sync --account [--since 30d|1mo] [--all] [--query ] [--limit N] mail-index sync --all-accounts Sync every account by its policy presets mail-index enrich --account [--profile | --rule direct|all] [--sender ] [--match ] [--limit N] mail-index graph build [--account | --all-accounts] mail-index curate [--account ] Interactive curation wizard (no-agent fallback) mail-index compact [--account ] [--now] Demote summarized bulk bodies (ADR-0003) mail-index search [--account ] [--limit N] [--enrich] mail

Only the beginning is shown; read the rest in the repo