Google Calendar

Google Calendar

am2rican5

Connects to your Google Calendar account to read, create, modify, and delete calendar events directly from your AI assistant.

Integrates with Google Calendar API for managing calendars and events with persistent OAuth token storage, enabling seamless scheduling, retrieval, and modification operations without repeated authentication.

121,297 views9Local (stdio)

What it does

  • View upcoming events and schedules
  • Create new calendar events with details
  • Update existing event times and information
  • Delete calendar events
  • Check availability for specific time slots
  • Search events by date range or keywords

Best for

Personal scheduling and time managementAutomating meeting creation and updatesCalendar-aware AI assistantsWorkflow automation with calendar integration
Direct Google Calendar API accessFull CRUD operations on events

About Google Calendar

Google Calendar is a community-built MCP server published by am2rican5 that provides AI assistants with tools and capabilities via the Model Context Protocol. Integrate with Google Calendar API for seamless time management. Manage calendars and events efficiently without repeate It is categorized under productivity.

How to install

You can install Google Calendar in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

Google Calendar is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

Google Calendar MCP Server

A Model Context Protocol (MCP) server that integrates with Google Calendar, built with TypeScript.

Features

  • Seamless Google Calendar integration with OAuth 2.0 authentication
  • Persistent token storage for automatic authentication
  • List and manage calendars with comprehensive event operations
  • Create, read, update, and delete calendar events
  • Fetch calendar events between specified dates
  • Server-Sent Events (SSE) transport option for real-time updates
  • Simple integration with Claude and other MCP-compatible AI assistants

Installation

npm install -g mcp-google-calendar

Or run directly with:

npx -y mcp-google-calendar

Prerequisites

  1. Node.js (v16 or higher)
  2. Google Cloud Platform account
  3. Google Calendar API enabled
  4. OAuth 2.0 credentials

Setup

1. Google Cloud Configuration

  1. Go to Google Cloud Console
  2. Create a new project or select an existing one
  3. Enable the Google Calendar API:
    • Navigate to "APIs & Services" > "Library"
    • Search for "Google Calendar API"
    • Click "Enable"
  4. Configure OAuth consent screen:
    • Go to "APIs & Services" > "OAuth consent screen"
    • Choose "External" user type (or "Internal" for Google Workspace)
    • Fill in required information:
      • App name: mcp-calendar
      • User support email: (your email)
      • Developer contact information: (your email)
    • Add scopes:
    • Complete the setup
  5. Create OAuth credentials:
    • Go to "Credentials"
    • Click "Create Credentials" > "OAuth Client ID"
    • Choose "Desktop app" as application type
    • Name it (e.g., "MCP Calendar Desktop Client")
    • Download the JSON file and save as credentials.json in your project directory

2. Environment Configuration

Create a .env file in your project root:

# Server configuration
PORT=3420

# Google Calendar API configuration
CREDENTIALS_PATH=./credentials.json

Usage

Starting the Server

Start with standard WebSockets:

npx -y mcp-google-calendar

Start with Server-Sent Events (SSE):

npx -y mcp-google-calendar --sse

With Claude Desktop

Add this to your claude_desktop_config.json:

{
   "mcpServers": {
      "mcp-google-calendar": {
         "command": "npx",
         "args": ["-y", "mcp-google-calendar"],
         "env": {
            "CREDENTIALS_PATH": "/path/to/your/credentials.json"
         }
      }
   }
}

Authentication Process

The first time you run the server:

  1. A browser window will open automatically
  2. Sign in with your Google account
  3. Grant the requested calendar permissions
  4. The authentication token is saved to token.json

On subsequent launches:

  • The server uses the saved token automatically
  • No browser interaction is required unless the token expires

Available Tools

ToolDescription
list_calendarsGet all available calendars
list_calendar_eventsRetrieve events between specified dates
create_calendar_eventAdd a new event to your calendar
get_calendar_eventFetch details for a specific event
edit_calendar_eventModify an existing calendar event
delete_calendar_eventRemove an event from your calendar

Development

Clone and set up the project:

git clone https://github.com/am2rican5/mcp-google-calendar.git
cd mcp-google-calendar
npm install

Build the project:

npm run build

Run in development mode:

npm start

Security Considerations

⚠️ Important Security Warning ⚠️

  • credentials.json and token.json contain sensitive authentication information
  • Never commit these files to version control or share them publicly
  • Each user should create their own OAuth credentials
  • If you suspect credential compromise, revoke them immediately in Google Cloud Console
  • The token grants access to your Google Calendar data

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Alternatives

Related Skills

Browse all skills
gog

Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

34
ai-boss-assistant

Transform any AI into a professional executive assistant with battle-tested personas and workflows. Complete templates for Google Workspace integration (Gmail, Calendar, Drive), milestone delivery system, and security guidelines.

6
google-calendar-sync

Manages Google Calendar through the Calendar API. Create, read, update, and delete events, manage multiple calendars, set reminders, handle recurring events, and sync with local schedules. Use when working with Google Calendar, scheduling events, checking availability, managing meetings, or automating calendar workflows.

5
google-workspace-cli

Google Workspace administration via the gws CLI. Install, authenticate, and automate Gmail, Drive, Sheets, Calendar, Docs, Chat, and Tasks. Run security audits, execute 43 built-in recipes, and use 10 persona bundles. Use for Google Workspace admin, gws CLI setup, Gmail automation, Drive management, or Calendar scheduling.

3
google-calendar-automation

Automate Google Calendar events, scheduling, availability checks, and attendee management via Rube MCP (Composio). Create events, find free slots, manage attendees, and list calendars programmatically.

2
meeting-prep

Automated meeting preparation and daily commit summaries. Use when checking Google Calendar for upcoming meetings, generating standup updates from GitHub commits, or sending daily development summaries. Pulls meeting schedules and commit history, then formats verbose developer-friendly updates.

1