mcpbeat Sign in

Gmail MCP Server

local only

Gmail runs on your own machine — the client starts it, so there is no endpoint to ping. 459 installs a week from npm.

Gmail integration with OAuth authentication, message search, batch operations, and Sheets export

Installs per day peak 523 · avg 112 · -13% w/w
a month agotoday
459
Installs / week
npm · @mcp-z/mcp-gmail
Stars
on GitHub
Last commit
0 releases in 90 days
License
language unknown

Nothing serious here today

Today is the operative word: we check Gmail 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-gmail -- npx -y @mcp-z/mcp-gmail
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-gmail": {
      "args": [
        "-y",
        "@mcp-z/mcp-gmail"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.mcp-gmail]
command = "npx"
args = ["-y", "@mcp-z/mcp-gmail"]
.cursor/mcp.json
{
  "mcpServers": {
    "mcp-gmail": {
      "args": [
        "-y",
        "@mcp-z/mcp-gmail"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "mcp-gmail": {
      "args": [
        "-y",
        "@mcp-z/mcp-gmail"
      ],
      "command": "npx"
    }
  }
}

This one needs environment variables set before it will start: GOOGLE_CLIENT_ID (Google OAuth client ID (required for OAuth authentication modes)), GOOGLE_CLIENT_SECRET (Google OAuth client secret (optional for public clients)), GOOGLE_SERVICE_ACCOUNT_KEY_FILE (Path to service account JSON key file (required for service-account auth mode)), AUTH_MODE (Authentication mode), HEADLESS (Disable browser auto-open, return auth URL instead (true/false)), REDIRECT_URI (OAuth redirect URI (optional, default: ephemeral loopback)), DCR_MODE (Dynamic Client Registration mode), DCR_VERIFY_URL (External verification endpoint URL (required for external DCR mode)), DCR_STORE_URI (DCR client storage URI (for self-hosted DCR mode)), RESOURCE_STORE_URI (Resource store URI for CSV export files (file://)), PORT (HTTP server port (overrides --port)), BASE_URL (Base URL for HTTP transport (used for OAuth/DCR endpoints and file links)), LOG_LEVEL (Logging level). The author declared them in the registry entry; get the values from the project itself.

Alternatives to Gmail

same job, measured the same way
I
Outlook
by mcp-z

Outlook integration with OAuth, message search, batch operations, and calendar management

308 installs/wk local only
Gmail MCP Server
by artymclabin

Lean Gmail MCP server with auto authentication support

249 installs/wk local only
Email MCP
by marlinjai

Unified email MCP server for Gmail, Outlook, iCloud, and IMAP with batch operations

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

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

answering
Attrove
by attrove

Catch conversations going quiet — watch outcomes and search Gmail, Slack, and meetings. One MCP.

165 installs/wk answering
Refine Job Search
by getrefine

Job search management: applications, interviews, offers, recruiter email, and company openings.

55 tools answering
Microsoft Teams API
by maxim-mazurok

AI-native Microsoft Teams integration — read chats, send messages, search people

132 installs/wk local only
PowerDMARC MCP
by powerdmarc

Remote MCP server bridging AI clients with the PowerDMARC email authentication Platform.

answering

Gmail — questions

Answers built from our own checks of this server.

Why is there no uptime for Gmail?
Gmail 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-z/mcp-gmail was installed 459 times last week.
How do I connect Gmail?
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-z/mcp-gmail straight from npm; nothing to host, nothing to sign up for.
How many people use Gmail?
The npm package @mcp-z/mcp-gmail was installed 459 times in the last week. Week over week that is -13%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.