Gmail MCP Server

Enables Claude to search and retrieve emails from a Gmail account.

Local serverstdioGo★ 6

What is the Gmail MCP Server?

Enables Claude to search and retrieve emails from a Gmail account.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Gmail MCP Server

{
  "mcpServers": {
    "gmail": {
      "args": [
        "--from",
        "git+https://github.com/vinayak-mehta/gmail-mcp",
        "gmail-mcp"
      ],
      "command": "/Users/username/.local/bin/uvx",
      "env": {
        "GMAIL_CREDS_PATH": "/Users/username/path/to/gmail-mcp/credentials.json",
        "GMAIL_TOKEN_PATH": "YOUR_GMAIL_TOKEN_PATH"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
GMAIL_CREDS_PATHDeclared in the maintainer’s client configuration.Check documentation
GMAIL_TOKEN_PATHDeclared in the maintainer’s client configuration.Check documentation

Frequently asked questions

You can search for specific emails, retrieve the full content of emails, and list recent messages from your inbox, all through Claude's interface. This streamlines your workflow and improves information access.