Skip to main content
Glama

Google Calendar MCP Server

by Ahmed-AG

Google Calendar MCP Server

An MCP (Model Context Protocol) server that connects to Google Calendar API to answer natural language questions about appointments and events.

Features

  • Natural Language Queries: Ask questions like "What's on my schedule today?" or "Do I have any meetings tomorrow?"
  • Flexible Time Ranges: Query events for specific dates, date ranges, or upcoming periods
  • Availability Checking: Check if specific time slots are free or conflicted
  • Timezone Support: Handle different timezones for accurate scheduling
  • Structured Responses: Get formatted, easy-to-read calendar information

Setup

1. Google Calendar API Setup

Option A: Service Account (Recommended - No OAuth redirects needed)

  1. Go to the Google Cloud Console
  2. Create a new project or select existing one
  3. Enable the Google Calendar API
  4. Go to "APIs & Services" > "Credentials"
  5. Click "Create Credentials" > "Service Account"
  6. Create the service account and download the JSON key file
  7. Important: Share your Google Calendar with the service account email address (found in the JSON file as client_email)

Option B: OAuth 2.0 (Traditional method)

  1. Go to the Google Cloud Console
  2. Create a new project or select existing one
  3. Enable the Google Calendar API
  4. Create credentials (OAuth 2.0 client ID) for a desktop application
  5. Download the credentials JSON file

2. Configuration

For Service Account:

  1. Copy the service account JSON file to service-account-key.json, OR
  2. Set as environment variable:
    export GOOGLE_SERVICE_ACCOUNT_KEY='{"type": "service_account", ...}'

For OAuth 2.0:

  1. Copy the downloaded credentials file to credentials.json, OR
  2. Set as environment variable:
    export GOOGLE_CREDENTIALS_JSON='{"installed": {...}}'

3. Installation

Install required dependencies:

pip install google-auth google-auth-oauthlib google-api-python-client mcp python-dateutil pytz
-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Enables natural language queries to Google Calendar API for checking appointments, availability, and events. Supports flexible time ranges, timezone handling, and both service account and OAuth authentication methods.

  1. Features
    1. Setup
      1. 1. Google Calendar API Setup
      2. 2. Configuration
      3. 3. Installation

    Related MCP Servers

    • -
      security
      A
      license
      -
      quality
      Integrates Google Calendar with AI assistants through the Model Context Protocol, allowing users to view and manage calendar events through natural language interaction.
      Last updated -
      93
      8
      TypeScript
      MIT License
    • -
      security
      A
      license
      -
      quality
      Enables AI assistants to manage Google Calendar through natural language interactions with features like creating, updating, and deleting events, searching calendars, and supporting natural language date/time inputs.
      Last updated -
      3
      1
      JavaScript
      MIT License
      • Apple
      • Linux
    • -
      security
      F
      license
      -
      quality
      Enables LLMs to read, create, and manage Google Calendar events through a standardized interface, including features like listing calendars, managing events, and processing calendar information from screenshots and images.
      Last updated -
      202
      1
      TypeScript
      • Apple
    • -
      security
      F
      license
      -
      quality
      Enables programmatic management of Google Calendar events through natural language interactions, supporting creation, reading, updating, and deletion of events with features for recurring events, attendees, and reminders.
      Last updated -
      2
      Python
      • Linux
      • Apple

    View all related MCP servers

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ahmed-AG/mcp-test'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server