mcp-google-calendar

Minhaj-21st/mcp-google-calendar

3.1

If you are the rightful owner of mcp-google-calendar and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This project demonstrates how to use the Model Context Protocol (MCP) to connect external context, specifically Google Calendar events, to your AI application.

Model Context Protocol With Google Calender

This project demonstrates how to use the Model Context Protocol (MCP) to connect external context (Google Calendar events) to your AI application.

Prerequisites

  • Node.js v18 or higher
  • npm
  • Google Calendar API credentials

Setup

  1. Clone this repository.
  2. Install dependencies:
    npm install
    
  3. Create a .env file in the root directory with the following variables:
    GOOGLE_PUBLIC_API_KEY=your_google_api_key
    CALENDAR_ID=your_calendar_id
    

Running the Program

Start the server with:

npm start

The server will connect to your Google Calendar and expose a tool to fetch events by date using MCP.