Google Calendar
Interact with Google Calendar APIs to manage events and calendars.
๐๏ธ 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.json - Place this file in the root directory of the project
Step 2: ๐ฆ Install Dependencies
poetry install
Step 3: ๐ช Start the OAuth Server
poetry run uvicorn src.main:app --host 0.0.0.0 --port 8000
- 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
poetry run python src/server.py
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:
~/Library/Application Support/Claude/claude_desktop_config.json
Add the following entry:
{
"mcpServers": {
"google-calendar-mcp": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8080/mcp"
]
}
}
}
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
project-root/
โโโ client_secret.json # Google OAuth credentials
โโโ session.json # Access/refresh token storage
โโโ pyproject.toml # Poetry project config
โโโ README.md
โโโ src/
โโโ main.py # FastAPI app for OAuth server
โโโ server.py # MCP-compatible server
โโโ settings.py # App settings and constants
โโโ api/
โ โโโ oauth_callback.py # OAuth endpoint logic
โโโ core/
โ โโโ calendar_client.py # Google Calendar API wrapper
โ โโโ mcp_tools.py # Tools exposed to MCP clients
โ โโโ oauth_manager.py # OAuth initiation and flow
โ โโโ session_manager.py # Token handling
โโโ gcalendar_types/ # Typed definitions for Calendar v3 API
๐งฉ Dependencies
- FastAPI
- Uvicorn
- Google Auth Libraries
- Poetry for dependency management
Server Terkait
Kone.vc
sponsorMonetize your AI agent with contextual product recommendations
Jira MCP Server
Integrates with Jira's REST API to manage issues programmatically.
AI Survey via MCP
Create AI-moderated interviews and surveys via MCP and share survey links with participants instantly.
n8n-mcp
A simple note storage system with tools to add and summarize notes using a custom note:// URI scheme.
MATLAB MCP Core Server
Run MATLABยฎ using AI applications with the official MATLAB MCP Server from MathWorksยฎ.
Candice AI - MCP
Automated document processing and extraction
VISO TRUST
Access and manage your VISO TRUST third-party risk program directly through your AI assistant.
Linear Issues
Provides read-only access to issues within the Linear project management tool.
Interactive Leetcode MCP
An MCP server enabling guided DSA learning with AI on leetcode.com
Google Calendar
Interact with Google Calendar to list events, create meetings, and find free time slots.
SocialBu MCP
Connect AI assistants to SocialBu to create, schedule, publish, and analyze social media content from chat.