mail-index MCP server
io.github.alunsoldantarctica/mail-index·v1.0.0·4 starsLocal-first, read-only MCP server for recall over your Gmail: search, contacts, threads, digests.
4 stars60 downloads/wk
Reviews
Write oneNobody has reviewed mail-index yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
mail-index tools (20)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
catch_upThe "what did I miss" briefing since a time (30d, 2w, 12h, 1mo, or ISO): new mail from curated-important contacts, new replies in your threads, and interest-keyword hits. Compact rows + a body command handback. If the index is stale it returns now and spawns a background sync.
digest_sourcesNewsletter/list senders ranked by engagement + interest, with unread/unsummarized issue counts — the digest routine worklist. Stale index returns now and spawns a background sync.
domains_to_categorizePROPOSE domains with back-and-forth contacts (Correspondents) plus sample senders/subjects as context, so you can assign an entity category. Then save_domain_category.
find_personFuzzy contact resolution from a vague hint (name fragment, handle, or domain). Ranks Correspondents (people you have written to) first. The entry point for "who was that contact from last spring?".
get_contactOne contact by address: stats, curation, recent threads. A near-miss returns ranked candidates rather than nothing.
get_messageOne message by <account:id>. level: "summary" (default — agent summary or snippet), "body" (distilled body; inline-enriches a still-meta row once, the only provider fetch), or "meta". Bodies are opt-in.
get_threadA thread by <account:thread-id>: metadata, its messages (compact, snippet-first), and the thread summary if present.
graph_communitiesDetected social circles (Louvain communities) with top members by centrality. Returns a build command handback when no graph exists yet.
graph_neighborsCo-recipiency neighbours of a contact, ranked by shared threads. On a miss, returns ranked near-miss contacts so the answer is never empty.
interest_getRead back the curated interest profile: curated contacts/domains + keywords.
interest_proposeThe curation SEED: a ranked shortlist of top contacts + domains by engagement, each with a suggested action (important/muted/none). Present it, take fuzzy edits, then interest_set.
interest_setPersist the curation disposition: contact/domain curation labels (important/muted/blocked, or null to clear) and freeform interest keywords (replaces the set). This profile drives which bodies get enriched.
list_contactsRanked contacts. sort: engagement (default) | volume | recency | community. filter: "correspondent" (people you have written to) | important | muted | blocked.
list_threadsConversations by contact (address) OR by query (FTS). Compact thread shapes.
save_domain_categoryPERSIST an entity category you assigned to a domain (open vocabulary: client, vendor, travel operator, finance, publisher, …). Used as a filter/grouping axis.
save_summaryPersist your summary of a message or thread (provenance-marked, FTS-indexed). level: "message" (default) or "thread". For bulk/non-curated mail this makes the body eligible for demotion after a grace window.
searchRanked fuzzy full-text recall over the indexed mail (subject/sender/snippet/body/summaries). Snippet-first, compact; opt into a body via get_message. Recall, not lookup: a half-remembered phrase still surfaces ranked neighbours.
setup_instructionsSETUP MODE (no config yet). Return the exact steps + commands to finish onboarding mail-index, flagging the human steps (browser OAuth consent; manual install when Homebrew is unavailable). The server is advisory only — run `mail-index setup --account <email>` in your shell, then restart the server.
setup_statusSETUP MODE (no config yet). Report what is installed / authenticated / configured for mail-index — read-only observation (PATH + filesystem). Tells you whether onboarding is complete and the server can be restarted into full recall mode.
sync_statusPer-account freshness (index_as_of), whether a sync is running, message counts, and the meta/full/summary-only body-ladder split.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan44 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 12 days ago15/15
- Maintainer identityregistry namespace matches repository owner7/10
How mail-index compares
Against every graded Email MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 91/100
- higher than 88% of 916 Email servers
- Tools
- 20
- the typical Email server has 7
- Tools that change things
- 0%
- typical: 25%. Fewer write tools means less an agent can break
- GitHub stars
- 4
- more than 80% of 493 Email servers
- Downloads a week
- 60
- more than 45% of 235 Email servers with a package
What its tools let an agent do: 15 read · 2 create · 3 change
Install mail-index in Claude Code, Cursor or VS Code
Runs npx -y mail-index on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add mail-index -- npx -y mail-index
What the publisher says
From the mail-index repository's README, as published. We do not edit it. Read it on GitHub
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 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.
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 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.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
mail-index: common questions
- Is mail-index MCP server safe?
- Yes, by our scan: it is graded A (91/100). Read the mail-index safety report
- How do I install mail-index?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does mail-index need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is mail-index maintained?
- The last commit was 51 days ago (2026-09-14). The latest release is v1.0.0.
- What can I use instead of mail-index?
- Servers from other publishers that do the same job: Outlook MCP server, PipesHub MCP server and Outlook MCP server. Compare all mail-index alternatives.
- How does mail-index compare with other Email MCP servers?
- safety score 91/100 (higher than 88% of 916 Email servers); tools 20 (the typical Email server has 7); tools that change things 0% (typical: 25%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to mail-index
Same job from other publishers: the closest match first, then the best rated.
- Outlook MCPMicrosoft Outlook personal accounts: mail, rules, calendar, contacts, to-do, drafts (77 tools).not reviewedEstablishedA
- PipesHubPermissioned search and cited answers over Slack, Drive, Gmail, Jira, and 50+ workplace sources.not reviewedEstablishedC
- OutlookOutlook & OneDrive MCP: personal & enterprise tools for mail, calendar, contacts, tasks, filesnot reviewedGrowingA
- Google WorkspaceGoogle Workspace MCP server for Gmail, Calendar, Drive, Docs, Sheets, Slides, Contacts, and morenot reviewedGrowingA
- Proton Mail (unofficial)Unofficial Proton Mail MCP — send, read, search & organize email over SMTP and IMAPnot reviewedGrowingB