mcpbeat Sign in

Gmail MCP Server

local only

Gmail MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 66 installs a week from npm. Last commit 4 Oct 2026.

MCP server for the Gmail API: search, read and send email, manage drafts, labels and the trash.

Installs per day peak 164 · avg 21 · -75% w/w
a month agotoday
66
Installs / week
npm · mcp-google-gmail
0
Stars
0 open issues
4 Oct 2026
Last commit
3 releases in 90 days
MIT
License
TypeScript

Nothing serious here today

Today is the operative word: we check Gmail MCP every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add mcp-google-gmail -- npx -y mcp-google-gmail
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-google-gmail": {
      "args": [
        "-y",
        "mcp-google-gmail"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.mcp-google-gmail]
command = "npx"
args = ["-y", "mcp-google-gmail"]
.cursor/mcp.json
{
  "mcpServers": {
    "mcp-google-gmail": {
      "args": [
        "-y",
        "mcp-google-gmail"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "mcp-google-gmail": {
      "args": [
        "-y",
        "mcp-google-gmail"
      ],
      "command": "npx"
    }
  }
}

This one needs environment variables set before it will start: GOOGLE_GMAIL_CLIENT_ID (Google OAuth2 client id (refresh-token flow).), GOOGLE_GMAIL_CLIENT_SECRET (Google OAuth2 client secret (refresh-token flow). Treat it as a secret.), GOOGLE_GMAIL_REFRESH_TOKEN (Google OAuth2 refresh token, exchanged for access tokens automatically. Treat it as a secret.), GOOGLE_GMAIL_ACCESS_TOKEN (Static OAuth2 access token (~1h lifetime) — alternative to the refresh-token trio, mostly for testing.), GOOGLE_GMAIL_OAUTH_PORT (Fixed port for the loopback listener of the in-chat login (127.0.0.1 + PKCE). Set it when the client runs over SSH port forwarding; otherwise a free port is picked per login.), GOOGLE_GMAIL_API_BASE (API root override.), GOOGLE_GMAIL_TIMEOUT_MS (Per-request timeout in milliseconds.), GOOGLE_GMAIL_MAX_RETRIES (Retries on transient errors (429 always; 5xx/network for reads).). The author declared them in the registry entry; get the values from the project itself.

Alternatives to Gmail MCP

same job, measured the same way
Google Gmail
by mcparmory

Send, read, organize emails, manage labels, drafts, and filters

258 installs/wk local only
Google Mail MCP
by mmedum

Gmail over MCP from your own account: search, read threads and messages, labels and drafts.

local only
Google Forms MCP
by a1-x-tech

MCP server for the Google Forms API: create forms, manage questions, read responses and watches.

107 installs/wk local only
NordicMCP — Google Mail
by nordicmcp

Hosted Gmail MCP server: read, search, and manage messages. Google OAuth2 handled by NordicMCP.

answering
Google Docs MCP
by a1-x-tech

MCP server for the Google Docs API: read and edit documents, styles, tables, images, comments.

51 installs/wk local only
MCP Serp
by acedatacloud

MCP server for Google search results via SERP API

1 833 installs/wk answering
Google Drive MCP
by a1-x-tech

MCP server for the Google Drive API: search, upload, download, organize and share files.

72 installs/wk local only
Google Contacts MCP
by a1-x-tech

MCP server for the Google People API: search, create, update and delete contacts and groups.

73 installs/wk local only

Gmail MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for Gmail MCP?
Gmail MCP runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package mcp-google-gmail was installed 66 times last week.
How do I connect Gmail MCP?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls mcp-google-gmail straight from npm; nothing to host, nothing to sign up for.
How many people use Gmail MCP?
The npm package mcp-google-gmail was installed 66 times in the last week. Week over week that is -75%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Gmail MCP open source?
Yes — it is published under the MIT licence, written in TypeScript and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.