Google MCP Server
Enables to interact with Google Mail, Docs, Sheets, and Tasks through natural language.
README
Google MCP Server
MCP server for connecting Claude Desktop to Google Mail, Docs, Sheets, and Tasks.
Setup
1. Google Cloud Console Setup
- Go to Google Cloud Console
- Create a new project (or select existing)
- Enable these APIs (APIs & Services → Library):
- Gmail API
- Google Docs API
- Google Sheets API
- Google Tasks API
- Configure OAuth Consent Screen:
- Go to APIs & Services → OAuth consent screen
- Select "External" user type
- Fill in app name and your email
- Add scopes:
gmail.modify,documents,spreadsheets,tasks - Add your email as a test user
- Create OAuth Credentials:
- Go to APIs & Services → Credentials
- Click "Create Credentials" → "OAuth client ID"
- Select "Desktop app" as application type
- Download the JSON file
2. Install and Configure
# Install dependencies
npm install
# Build the project
npm run build
# Create config directory and save credentials
mkdir -p ~/.google-mcp
# Save your downloaded credentials.json to ~/.google-mcp/credentials.json
# Authenticate with Google
npm run auth
3. Claude Desktop Configuration
Windows with WSL
Add to your Claude Desktop config (%APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"google": {
"command": "wsl",
"args": [
"/path/to/node",
"/path/to/google-mcp-server/dist/index.js"
]
}
}
}
Note: Use full path to node (run which node in WSL to find it), e.g., /home/user/.nvm/versions/node/v22.21.1/bin/node
Linux
Add to ~/.config/claude-desktop/claude_desktop_config.json:
{
"mcpServers": {
"google": {
"command": "node",
"args": [
"/path/to/google-mcp-server/dist/index.js"
]
}
}
}
macOS
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"google": {
"command": "node",
"args": ["/path/to/google-mcp-server/dist/index.js"]
}
}
}
Available Tools
Gmail
gmail_search- Search emails with Gmail query syntaxgmail_read- Read a specific email by IDgmail_send- Send an email
Google Docs
docs_get- Get document contentdocs_create- Create a new documentdocs_append- Append text to a document
Google Sheets
sheets_read- Read data from a rangesheets_write- Write data to a rangesheets_create- Create a new spreadsheet
Google Tasks
tasks_list- List task lists or taskstasks_create- Create a new tasktasks_update- Update/complete a task
Usage Examples
After setup, you can ask Claude Desktop to:
- "Search my emails for messages from john@example.com"
- "Read my latest unread emails"
- "Create a new Google Doc called 'Meeting Notes'"
- "Read the data from my spreadsheet"
- "Show me my task lists"
- "Create a task to call dentist tomorrow"
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.