Esta página todavía está en inglés. La traducción al español está en progreso.
Google Calendar + Gmail Integration
Google Calendar and Gmail are connected via MCP servers, giving Claude Code native access to your calendar and inbox. The @clawdia agent uses these for morning briefings, email triage, scheduling, and follow-up tracking.MCP Setup
Both services use separate MCP servers. If you selected Google integrations duringmake setup, they are already configured in .claude/settings.json.
Google Calendar MCP
Gmail MCP
Google Cloud Setup
Both MCPs share the same OAuth credentials.1. Create a Google Cloud Project
- Go to console.cloud.google.com
- Create a new project (or use an existing one)
- Enable the Google Calendar API and Gmail API from the API Library
2. Create OAuth Credentials
- Go to APIs & Services > Credentials
- Click Create Credentials > OAuth client ID
- Application type: Desktop app
- Download the JSON file and save it (e.g.,
~/.config/google/credentials.json)
3. Authorize on First Run
The first time Claude Code invokes a Google MCP tool, it opens a browser window for OAuth consent. Sign in with your Google account and grant the requested permissions. The token is saved to the path specified inGOOGLE_OAUTH_TOKEN.
Calendar Operations
The Google Calendar MCP provides these tools:Example Usage in Claude Code
Gmail Operations
The Gmail MCP provides these tools:Example Usage in Claude Code
Email Triage
Thegog-email-triage skill uses Gmail MCP to:
- Fetch unread emails from the last N hours
- Classify each by urgency (P0-P3) and category
- Propose actions: reply, archive, create task, schedule follow-up
Sending Emails
Email sending requires explicit confirmation. Thegog-email-send skill asks for the exact string YES, SEND before executing. All sends are logged to the audit trail.
Skills That Use Google
Troubleshooting
“Token expired” — Delete the token file and restart Claude Code. It will re-prompt for OAuth consent. “Access denied” — Ensure both Calendar API and Gmail API are enabled in your Google Cloud project. “MCP server not found” — Runnpx -y @anthropic-ai/google-calendar-mcp manually to verify it installs correctly. Requires Node.js 18+.