Enables natural language interaction with Google Calendar through the Calendar v3 API, allowing management of calendar events and data.
šļø Google Calendar MCP Server
This project integrates the Google Calendar v3 APIs with a custom MCP (Model Context Protocol) Server, enabling natural language interaction with your calendar via tools like Claude Desktop.
It acts as a bridge between your calendar data and an LLM using MCP-compatible HTTP streaming.
š§ Overview
This project contains two core servers:
1. š Google OAuth Server
Handles OAuth 2.0 flow
Stores and refreshes access tokens in a local session file
2. š¤ MCP Server
Implements the Model Context Protocol (MCP)
Exposes an HTTP streaming interface
Uses saved credentials to interact with Google Calendar API v3
š Getting Started
Step 1: š§ Set Up Google API Credentials
Go to the Google Cloud Console
Create or select a project
Enable the Google Calendar API
Go to Credentials ā Create OAuth 2.0 Client ID
Choose Desktop App
Set branding and add test user emails in audience
Download the OAuth credentials as
client_secret.jsonPlace this file in the root directory of the project
Step 2: š¦ Install Dependencies
Step 3: šŖ Start the OAuth Server
This should automatically open a browser for OAuth authentication.
If not, visit http://0.0.0.0:8000/google_oauth/
Upon successful authentication, you'll see a success page.
A
session.jsonfile will be created with your access/refresh tokens.

Step 4: š§© Run the MCP Server
This launches a streamable MCP-compatible HTTP server at
http://localhost:8080/mcp
Step 5: š§ Connect MCP Client (Claude Desktop)
Update the config file at:
Add the following entry:
Step 6: ā Verify Integration
Open Claude Desktop settings.
If the MCP server was added correctly, it will appear under Settings -> integrations

š§ Demo
https://github.com/user-attachments/assets/27a8e5ee-8f2f-40c7-bdfc-1caa93767efb
š§± Project Structure
š§© Dependencies
Poetry for dependency management