Labsco
nspady logo

Google Calendar

β˜… 1,200

from nspady

Integrates with Google Calendar to read, create, update, and search for calendar events.

πŸ”₯πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedFreeAdvanced setup

Google Calendar MCP Server

A Model Context Protocol (MCP) server that provides Google Calendar integration for AI assistants like Claude.

Features

  • Multi-Account Support: Connect multiple Google accounts (e.g., work, personal) and query them simultaneously
  • Multi-Calendar Support: List events from multiple calendars in a single request
  • Cross-Account Conflicts: Detect overlapping events across any combination of calendars
  • Event Management: Create, update, delete, and search calendar events
  • Recurring Events: Advanced modification capabilities for recurring events
  • Free/Busy Queries: Check availability across calendars
  • Smart Scheduling: Natural language understanding for dates and times
  • Intelligent Import: Add calendar events from images, PDFs, or web links

Managing Multiple Accounts

Connect multiple Google accounts and use them simultaneously.

In chat (recommended): Use the manage-accounts tool to add, list, or remove accounts directly from your AI assistant - no terminal needed. See the Authentication Guide for details.

CLI: For initial setup, use npm run account auth <nickname> (e.g., npm run account auth work).

HTTP / Docker: Visit http://localhost:3000/accounts to manage accounts in the browser.

When no account parameter is supplied to a tool, read-only tools merge results from all accounts, while write tools auto-select the account with appropriate permissions.

Available Tools

ToolDescription
list-calendarsList all available calendars
list-eventsList events with date filtering
get-eventGet details of a specific event by ID
search-eventsSearch events by text query
create-eventCreate new calendar events
update-eventUpdate existing events
delete-eventDelete events
respond-to-eventRespond to event invitations (Accept, Decline, Maybe, No Response)
get-freebusyCheck availability across calendars, including external calendars
get-current-timeGet current date and time in calendar's timezone
list-colorsList available event colors
manage-accountsAdd, list, or remove connected Google accounts

Documentation

Sponsorship

If Google Calendar MCP has been useful to you and you're so inclined, I'd greatly appreciate it if you'd consider sponsoring my open source work.

Thanks! – Nate

Security

  • OAuth tokens are stored securely in your system's config directory
  • Credentials never leave your local machine
  • All calendar operations require explicit user consent

Troubleshooting

  1. OAuth Credentials File Not Found:

    • For npx users: You must specify the credentials file path using GOOGLE_OAUTH_CREDENTIALS
    • Verify file paths are absolute and accessible
  2. Authentication Errors:

    • Ensure your credentials file contains credentials for a Desktop App type
    • Verify your user email is added as a Test User in the Google Cloud OAuth Consent screen
    • Try deleting saved tokens and re-authenticating
    • Check that no other process is blocking ports 3500-3505
  3. Build Errors:

    • Run npm install && npm run build again
    • Check Node.js version (use LTS)
    • Delete the build/ directory and run npm run build
  4. "Something went wrong" screen during browser authentication

    • Run the auth command manually (see Re-authentication above)
    • Use a Chromium-based browser. Test app authentication may not work on some non-Chromium browsers.
  5. "User Rate Limit Exceeded" errors

    • This typically occurs when your OAuth credentials are missing project information
    • Ensure your gcp-oauth.keys.json file includes project_id
    • Re-download credentials from Google Cloud Console if needed
    • The file should have format: {"installed": {"project_id": "your-project-id", ...}}

License

MIT

Support