LocalFree server, account needed

Gmail MCP server

domdomegg/gmail-mcp

Allow AI systems to read, send, archive, and manage emails via Gmail.

12 GitHub stars9 forks6,500 npm downloads / month

Install Gmail in Claude Code

Claude Code
claude mcp add domdomegg-gmail -e GOOGLE_ACCESS_TOKEN=... -- npx -y gmail-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "domdomegg-gmail": {
      "command": "npx",
      "args": [
        "-y",
        "gmail-mcp"
      ],
      "env": {
        "GOOGLE_ACCESS_TOKEN": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Gmail MCP server do?

Allow AI systems to read, send, archive, and manage emails via Gmail.

Is the Gmail MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does Gmail run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Gmail to Claude Code?

Run: claude mcp add domdomegg-gmail -e GOOGLE_ACCESS_TOKEN=... -- npx -y gmail-mcp

More communication MCP servers

View all