Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI β†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
  • Remote MCP β†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’¬ Communication
  3. Mail Index
M
Health: Not checked yetWe have not completed a health check for this listing yet.Last checked 8/11/2026, 12:25:15 AM

Mail Index

Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository

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

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "mail-index": {
      "command": "npx",
      "args": [
        "-y",
        "mail-index"
      ]
    }
  }
}

πŸ’‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Directory Badge Claim listing AlternativesπŸ’¬ More in Communication

Documentation Overview

mail-index

npm version npm downloads GitHub stars GitHub forks CI License: MIT Node deps

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 sends or mutates your mail unless you explicitly opt into archive + label edits (a least-privilege gmail.modify re-auth; never send or delete). See ADR-0007.

Claude answering a vague inbox question through the mail-index MCP server, locally, with zero network calls
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 23-tool MCP surface, and the write-back loops are built and tested β€” and mail-index is live on npm with a .mcpb bundle. Still in progress: the bundled Option A OAuth client and signed one-click installers. Architecture lives in docs/PLAN.md; start with docs/INSTALL.md; every release is recorded in 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/WORKER-SEED.md, ADR-0008.

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 least-privilege gmail.modify grant (never send or delete) β€” enable per account with mail-index setup --account <email> --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.


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.

mail-index prewarms a local SQLite index with the important messages, then the MCP server serves the agent from it, fetching from Gmail again only on a miss
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.

Terminal
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):
    JSON Config
    { "mcpServers": { "mail-index": { "command": "mail-index-mcp" } } }
    
  • Claude Desktop: download the .mcpb bundle 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 with the typical recipes (find purchases, catch up, find a contact's mail, summarize a sender). Drop it in for Claude Code/Desktop:

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

Full walkthrough (auth, curation, enrichment, scheduled sync, desktop-app gotchas) β†’ docs/INSTALL.md. Driving setup with an agent β†’ 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.

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.

Token savings by category across 100 inbox questions, mail-index vs a stock Gmail-API MCP: Retrieval 3.0Γ—, Logistics 4.9Γ—, Scheduling 9.2Γ—, Commitments 9.6Γ—, Finance 13.0Γ—, Account 20.3Γ—, Relationship 24.7Γ—, Summarize 32.8Γ— β€” 15.3Γ— overall.

Per-category tables, the read-one-message comparison, the tool-by-tool landscape, and how to reproduce it all β†’ 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).

Code
mail-index init                          Scaffold the operator config + data dir
mail-index sync    --account <a> [--since 30d|1mo] [--all] [--query <q>] [--limit N]
mail-index sync    --all-accounts        Sync every account by its policy presets
mail-index enrich  --account <a> [--profile | --rule direct|all] [--sender <s>] [--match <fts>] [--limit N]
mail-index graph   build [--account <a> | --all-accounts]
mail-index curate  [--account <a>]       Interactive curation wizard (no-agent fallback)
mail-index compact [--account <a>] [--now]   Demote summarized bulk bodies (ADR-0003)
mail-index search  <terms> [--account <a>] [--limit N] [--enrich]
mail-index show    <account:message-id>  Print a message (auto-enriches a meta row)
mail-index open    <account:message-id>  Print the provider web URL (no fetch)
mail-index archive <account:message-id>  Archive (drop INBOX) β€” opt-in write; needs gmail.modify
mail-index label   <account:message-id> [--add <l>]... [--remove <l>]...  Opt-in write; needs gmail.modify
mail-index status  [--json]              Per-account freshness + counts

Writes are off by default. Enable archive + label edits for an account with mail-index setup --account <email> --enable-writes (or the bundled scripts/enable-writes.sh <email>) β€” a least-privilege gmail.modify grant (never send or delete). See ADR-0007.

Documentation

  • docs/INSTALL.md β€” generic onboarding (install, authenticate a MailSource, init, sync, curate, enrich, add the MCP server, scheduled-sync snippet).
  • docs/MCP.md β€” the 18-tool MCP reference for agent integrators: args, compact result shapes, the index_as_of freshness + command-handback contracts.
  • docs/ADAPTERS.md β€” the MailSource contract and how to write + contract-test a new adapter (gws, gog, gmail-rest).
  • docs/INSTALL-worker.md β€” deploy the optional single-tenant remote Worker to your own Cloudflare account: D1 / Queue / KV resources, secrets, the operator allowlist, connecting an agent, and a verification checklist.
  • docs/WORKER-SEED.md β€” seed a fresh Deployment's D1 from an existing local index (mail-index export β†’ import), instead of re-syncing the whole mailbox from Gmail.
  • docs/PLAN-worker.md β€” the remote-Deployment design: locked decisions, milestones, and the local↔remote parity constraints.
  • CHANGELOG.md β€” what changed in every released version.
  • docs/PLAN.md β€” architecture, data model, and the key decisions (ADR digest).
  • SECURITY.md + docs/THREAT-MODEL.md β€” privacy posture, trust boundaries, prompt-injection stance, and a "verify our claims yourself" runbook. The local-only promise is enforced in CI by an egress guard test β€” the core (src/) makes no network calls; the one exception is the opt-out launch-shim self-updater (bin/selfupdate.mjs, throttled npm-version check, MAIL_INDEX_NO_AUTOUPDATE=1 to disable), audited by the same guard.

About

Built by Unsold Group β€” a travel & insurtech company building the groundwork to operate as an AI-native business: local-first, agent-native infrastructure that gives AI real, queryable context to work from. mail-index is one piece of that β€” giving agents durable memory of a mailbox without handing them the keys to it.

More: unsold.group/al

Project growth

Star History Chart

Feedback & contact

There's no telemetry β€” we only know what you tell us, so feedback is genuinely welcome:

  • πŸ’¬ Discussions β€” questions, ideas, how you use it
  • 🐞 Report a bug Β· πŸ’‘ Request a feature
  • πŸ”’ Security/privacy issues β†’ SECURITY.md (private)
  • 🌐 unsold.group/al

Inside your agent you can also just say "report a mail-index bug" β€” the MCP server points the agent to a GitHub link for you to submit (it never sends anything itself). See SUPPORT.md.

License

MIT

Related MCP Servers

View all in Communication View all alternatives
  • Mcp logoMcp

    Email for AI agents: inboxes, send/reply/forward, search, threads, webhooks β€” 21 SentFromAI tools.

    πŸ’¬ Communication0 views
    Compare vs Mcp β†’
  • Mcp logoMcp

    Email for AI agents: inboxes, send/reply/forward, search, threads, webhooks β€” 21 SentVia tools.

    πŸ’¬ Communication0 views
    Compare vs Mcp β†’
  • Slack Mcp Server logoSlack Mcp Server

    The most powerful MCP server for Slack Workspaces.

    πŸ’¬ Communication1 views
    Compare vs Slack Mcp Server β†’
  • F
    Faithk7 Gmail Mcp

    Manage Gmail messages, threads, labels, drafts, and settings from your workflows. Send and organiz…

    πŸ’¬ Communication0 views
    Compare vs Faithk7 Gmail Mcp β†’

Frequently Asked Questions about Mail Index

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "mail-index": { "command": "npx", "args": ["-y", "mail-index"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMail Index AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mail-index?style=directory)](https://allmcps.com/mcp/mail-index)
HTML Embed
<a href="https://allmcps.com/mcp/mail-index"><img src="https://allmcps.com/api/badge/mail-index?style=directory" alt="Mail Index on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’¬Communication
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge β€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’¬ Communication β†’Best MCP servers for Slack & Communication β†’Alternatives to Mail Index β†’Install in Claude DesktopInstall in CursorInstall in VS Code