Gmail MCP server
A super simple and tiny MCP server for gmail in python
claude-gmail-mcp
A super tiny Gmail MCP server for Claude Code. Lets Claude send emails on your behalf via Gmail SMTP. I needed something for my projects - there were a bunch around which seemed super complicated. So why not have claude CLI build one for me :-p
Prerequisites
- uv installed
- A Gmail account with a generated App Password
Install
Add the MCP server to Claude Code (this will make it available to all projects):
claude mcp add gmail --scope user \
-e [email protected] \
-e GMAIL_APP_PASSWORD=your-app-password \
-- uvx claude-gmail-mcp
Replace [email protected] and your-app-password with your actual credentials.
To make it available to only the current project directory:
claude mcp add gmail \
-e [email protected] \
-e GMAIL_APP_PASSWORD=your-app-password \
-- uvx claude-gmail-mcp
Verify
claude mcp list
You should see gmail listed as a configured server.
Usage
Once installed, ask Claude to send an email:
Send an email to [email protected] with subject "Hello" and body "Hi from Claude!"
Claude will use the send_email tool, which supports:
- to - recipient address(es)
- subject - email subject
- body - plain text or HTML body
- cc/bcc - optional CC/BCC recipients
- html - set to true to send HTML email
For Development
git clone https://github.com/pliablepixels/claude-gmail-mcp.git
cd claude-gmail-mcp
uv sync
Run the server locally:
uv run claude-gmail-mcp
To test with Claude Code using your local copy instead of the published package:
claude mcp add gmail \
-e [email protected] \
-e GMAIL_APP_PASSWORD=your-app-password \
-- uv run --directory /path/to/claude-gmail-mcp claude-gmail-mcp
Related Servers
MCP ChatGPT Proxy
A production-ready MCP server for ChatGPT and o3-pro, featuring caching, cost tracking, and rate limiting.
Slack MCP Server
An MCP server for interacting with Slack workspaces using user tokens, without requiring bots or special permissions.
thanks.io MCP Server
Send real handwritten mail (postcards, letters, notecards) from any AI agent via thanks.io's API.
Didlogic MCP Server
Interact with the Didlogic API for telecommunication services, including virtual phone numbers and SMS.
LnExchange MCP Node Service
A Node.js service for interacting with the LnExchange API for spot trading.
A2A MCP Server
A bridge server connecting Model Context Protocol (MCP) with Agent-to-Agent (A2A) protocol.
Discord MCP Server
Interact with Discord channels to send and read messages using the Discord API.
WeCom Bot
Sends various types of messages to a WeCom (WeChat Work) group robot.
Google Meet MCP Server
An MCP server for interacting with Google Meet through the Google Calendar API.
ELEMENT.FM
Create and publish unlimited podcast shows and episodes with ELEMENT.FM