Sponsored by Deepsite.site

Gmail MCP Server

Created By
aniket-raskar18 months ago
Content

Gmail MCP Server

Gmail MCP Server is a Python-based package that seamlessly integrates Gmail and Google Calendar with Claude Desktop, an AI-powered productivity tool. This server enables users to interact with their Gmail inbox and Google Calendar through natural language commands, streamlining email management and event scheduling.

With features like email summarization, sending emails, and automatic calendar event creation for important emails, it enhances productivity by combining AI capabilities with Google’s ecosystem.


What This Project Does

The Gmail MCP Server runs as a background server that connects to Gmail and Google Calendar APIs via an MCP (Message Control Protocol) interface. It allows Claude Desktop to process commands for:

  • Email Summarization: Generate concise summaries of recent emails, optionally filtered by sender or label.
  • Email Sending: Send emails directly from Claude Desktop with customizable recipients, subjects, and bodies.
  • Calendar Event Creation: Create Google Calendar events manually or automatically for emails marked as "important" in Gmail.
  • Automatic Scheduling: Monitor the Gmail inbox every 10 minutes to create calendar events for new "important" emails, tagging them to avoid duplicates.

This project is ideal for users who want to automate email and calendar tasks using natural language, leveraging Claude Desktop’s AI to simplify workflows.


Features

  • Summarize Emails: Retrieve and summarize up to 5 recent emails from your Gmail inbox, with options to filter by sender or label.
  • Send Emails: Compose and send emails with support for CC and BCC fields.
  • Manual Calendar Events: Create Google Calendar events based on email content or custom details (e.g., subject, description, time).
  • Automatic Calendar Events: Automatically generate calendar events for emails labeled "important" in Gmail, processed every 10 minutes.
  • Secure Authentication: Uses OAuth 2.0 via Google Cloud credentials for secure access to Gmail and Google Calendar.
  • Lightweight Server: Built with FastMCP for efficient communication with Claude Desktop.
  • Cross-Platform: Supports Windows, macOS, and Linux (credentials.json goes in ~/.gmail_mcp_server/).

Prerequisites

Before setting up the Gmail MCP Server, ensure you have:

  • Python 3.8 or higher
  • Claude Desktop installed and configured
  • A Google Cloud Project with Gmail and Google Calendar APIs enabled
  • A Gmail account
  • Basic familiarity with command-line tools

Installation

Install the package using pip:

pip install gmail-mcp-server
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Serper MCP ServerA Serper MCP Server
CursorThe AI Code Editor
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
DeepChatYour AI Partner on Desktop
Amap Maps高德地图官方 MCP Server
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
WindsurfThe new purpose-built IDE to harness magic
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Playwright McpPlaywright MCP server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Tavily Mcp
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
ChatWiseThe second fastest AI chatbot™