Provides comprehensive email management including search with AI categorization, auto-categorization (work, personal, job applications, urgent, spam), smart summaries, calendar extraction from meeting invites, follow-up reminders, thread management, and sending/replying with AI assistance.
Enables full-featured calendar management including event creation with attendees, conflict detection, smart reminders (15 minutes, 1 hour, 1 day before), focus time blocking, free slot finding, and daily/weekly summaries.
Allows document search across entire Drive, AI summarization of documents, support for PDF, Docs, Sheets, and text files, email attachment integration, and smart caching for fast repeated access.
Enables note management including creating and managing notes, secure API key storage in encrypted notes, quick capture from Claude, and task list creation and management.
Provides full spreadsheet operations including read/write/append, auto-creation of trackers (job applications, email analytics), batch operations, formula support, and data export for analysis.
MCP Server for Google Services
A Model Context Protocol (MCP) server that integrates Google services with Claude Desktop. Provides 80+ tools for Gmail, Calendar, Drive, Sheets, and Docs operations.
Features
Gmail: Search, read, send, reply, label, and organize emails
Google Calendar: Create, update, delete events; find free slots
Google Drive: Search, list, read files and folders
Google Sheets: Read, write, append data; manage spreadsheets
Google Docs: Create and read documents
Memory System: Persistent storage for context and preferences
Database Support: Optional PostgreSQL and MongoDB integration
Project Structure
Prerequisites
Python 3.8+
Claude Desktop
Google Cloud Project with APIs enabled:
Gmail API
Google Calendar API
Google Drive API
Google Sheets API
Installation
Step 1: Clone the Repository
Step 2: Install Dependencies
Step 3: Google Cloud Setup
Go to Google Cloud Console
Create a new project or select existing
Enable the following APIs:
Gmail API
Google Calendar API
Google Drive API
Google Sheets API
Go to Credentials > Create Credentials > OAuth 2.0 Client ID
Select Desktop app as application type
Download the credentials and save as
credentials.jsonin the project root
Step 4: Configure
config.json:
Step 5: Authenticate with Google
This opens a browser for Google OAuth. After authorization, tokens are saved locally.
Step 6: Configure Claude Desktop
Edit your Claude Desktop configuration file:
OS | Path |
Windows |
|
macOS |
|
Linux |
|
Add:
Important: Replace C:\\path\\to\\ with your actual absolute path.
Step 7: Restart Claude Desktop
Completely quit Claude Desktop (check system tray)
Restart Claude Desktop
The tools will be automatically available
Verify Installation
In Claude Desktop, type:
You should see 80+ tools listed.
Available Tools
Email Tools
search_emails- Search Gmail with queriesget_email- Get email by IDsend_email- Send new emailreply_to_email- Reply to emaillist_labels- List Gmail labelscreate_label- Create new labelmove_to_label- Move email to label
Calendar Tools
get_calendar_events- List eventscreate_calendar_event- Create eventupdate_calendar_event- Update eventdelete_calendar_event- Delete eventfind_free_slots- Find available times
Drive Tools
search_drive- Search fileslist_drive_files- List files in folderget_file_content- Read file contentcreate_folder- Create folder
Sheets Tools
read_sheet- Read spreadsheet datawrite_sheet- Write to spreadsheetappend_sheet- Append rowscreate_sheet- Create new spreadsheet
Docs Tools
create_doc- Create documentread_doc- Read document content
Memory Tools
remember- Store informationrecall- Retrieve informationforget- Remove informationlist_memories- List all stored items
Example Usage
In Claude Desktop:
Troubleshooting
MCP Server Not Appearing
Verify the path in
claude_desktop_config.jsonis absolute and correctEnsure Python is in your system PATH
Restart Claude Desktop completely
Check Claude Desktop logs for errors
Authentication Errors
Delete
tokens.jsonand re-runpython authenticate.pyVerify
credentials.jsonexists in project rootCheck Google Cloud Console for API quota issues
Import Errors
Security Notes
Never commit
credentials.json,tokens.json, orconfig.jsonto gitThe
.gitignorefile excludes sensitive files by defaultStore API keys in environment variables when possible
License
MIT License