Google Calendar MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add -e "NANGO_NANGO_BASE_URL=${NANGO_NANGO_BASE_URL}" -e "NANGO_NANGO_SECRET_KEY=${NANGO_NANGO_SECRET_KEY}" -e "NANGO_CONNECTION_ID=${NANGO_CONNECTION_ID}" -e "NANGO_INTEGRATION_ID=${NANGO_INTEGRATION_ID}" google-calendar-f0bd -- uvx git+https://github.com/ampcome-mcps/google-calendar-mcp.git
Required:NANGO_NANGO_BASE_URLNANGO_NANGO_SECRET_KEYNANGO_CONNECTION_IDNANGO_INTEGRATION_ID
README.md

A powerful MCP server that lets Claude interact with your Google Calendar

๐Ÿ“… Google Calendar MCP Server

A powerful Model Context Protocol (MCP) server that lets Claude interact with your Google Calendar seamlessly!

Transform Claude into your personal calendar assistant with full Google Calendar integration. Create meetings, check schedules, manage events, and more - all through natural conversation with Claude.

๐ŸŒŸ What Can This Do?

โœจ **Smart Calendar Management**

  • ๐Ÿ“‹ View all your calendars - See every calendar you have access to
  • ๐Ÿ“… Check your schedule - Get today's events or upcoming events for any timeframe
  • ๐ŸŽฏ Create meetings instantly - Set up Google Meet events with attendees
  • โŒ Cancel events - Remove events you no longer need
  • ๐Ÿ” Search events - Find events within specific date ranges

๐Ÿค– **Claude Integration Examples**

Ask Claude things like:

  • "What meetings do I have today?"
  • "Schedule a team standup for tomorrow at 10 AM with the engineering team"
  • "Cancel my 3 PM meeting on Friday"
  • "What's my schedule looking like next week?"
  • "Create a Google Meet for our client review next Tuesday"

๐Ÿš€ Quick Start

Step 1: Prerequisites

  • Python 3.8 or higher
  • A Google account with Calendar access
  • Nango account for authentication (handles Google OAuth for you)

Step 2: Installation

# Clone or download the MCP server files
git clone <your-repo-url>
cd google-calendar-mcp

# Install required packages
uv sync

Step 3: Set Up Environment Variables

Create a .env file in the project directory:

# Copy the example file
cp .env.example .env

Edit .env with your Nango credentials:

# Required Nango Configuration
NANGO_NANGO_BASE_URL=https://api.nango.dev
NANGO_NANGO_SECRET_KEY=your_nango_secret_key_here 
NANGO_CONNECTION_ID=your_connection_id_here
NANGO_INTEGRATION_ID=your_integration_id_here

๐Ÿ”ง Need help with Nango setup? Check the Nango Setup Guide below!

Step 4: Configure Claude Desktop

Add this configuration to your Claude Desktop settings:

On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "google-calendar": {
      "command": "uvx",
      "args": ["git+https://github.com/ampcome-mcps/google-calendar-mcp.git"],
      "env": {
        "NANGO_NANGO_BASE_URL": "https://api.nango.dev",
        "NANGO_NANGO_SECRET_KEY": "your_nango_secret_key_here",
        "NANGO_CONNECTION_ID": "your_connection_id_here", 
        "NANGO_INTEGRATION_ID": "your_integration_id_here"
      }
    }
  }
}

Step 5: Test It Out!

  1. Restart Claude Desktop completely
  2. Start a new conversation with Claude
  3. Ask Claude: "What meetings do I have today?"

If everything is set up correctly, Claude will be able to access your Google Calendar! ๐ŸŽ‰

๐Ÿ› ๏ธ Available Tools

Tool Description Example Use
get_all_calendars List all your Google Calendars "Show me all my calendars"
get_calendar_events Get events from a specific calendar "What's on my work calendar this week?"
create_meet_event Create a new event with Google Meet "Schedule a team meeting for Friday at 2 PM"
cancel_calendar_event Delete/cancel an event "Cancel my 3 PM meeting today"
get_today_events Get today's events "What's my schedule today?"
get_upcoming_events Get upcoming events "What do I have coming up next week?"

๐Ÿ”ง Nango Setup Guide

Nango handles the complex Google OAuth flow for you. Here's how to set it up:

1. Create a Nango Account

  • Go to Nango.dev and sign up
  • Create a new project

2. Set Up Google Calendar Integration

  • In your Nango dashboard, add a new integration
  • Choose "Google Calendar" as the provider
  • Follow Nango's guide to configure Google OAuth credentials

3. Get Your Credentials

  • NANGO_SECRET_KEY: Found in your Nango project settings
  • NANGO_CONNECTION_ID: Created when a user connects their Google account
  • NANGO_INTEGRATION_ID: The ID of your Google Calendar integration

4. Test Your Connection

# Test that your environment is set up correctly
python -c "import os; print('โœ… All env vars set!' if all([os.getenv('NANGO_CONNECTION_ID'), os.getenv('NANGO_INTEGRATION_ID'), os.getenv('NANGO_NANGO_SECRET_KEY')]) else 'โŒ Missing env vars')"

๐Ÿงช Testing Your Setup

Option 1: Test with MCP Inspector

# Install the MCP inspector
npm install -g @modelcontextprotocol/inspector

# Test your server
npx @modelcontextprotocol/inspector python main.py

Option 2: Direct Python Test

# Run the server directly to see if it starts without errors
python main.py

Option 3: Test with Claude

Ask Claude: "Can you check what calendar tools are available?"

๐Ÿ” Troubleshooting

Common Issues

โŒ "Failed to retrieve calendars"

  • Ch

Tools (6)

get_all_calendarsList all your Google Calendars
get_calendar_eventsGet events from a specific calendar
create_meet_eventCreate a new event with Google Meet
cancel_calendar_eventDelete/cancel an event
get_today_eventsGet today's events
get_upcoming_eventsGet upcoming events

Environment Variables

NANGO_NANGO_BASE_URLrequiredThe base URL for the Nango API
NANGO_NANGO_SECRET_KEYrequiredYour Nango project secret key
NANGO_CONNECTION_IDrequiredThe ID of the user's Google account connection
NANGO_INTEGRATION_IDrequiredThe ID of your Google Calendar integration in Nango

Configuration

claude_desktop_config.json
{"mcpServers": {"google-calendar": {"command": "uvx", "args": ["git+https://github.com/ampcome-mcps/google-calendar-mcp.git"], "env": {"NANGO_NANGO_BASE_URL": "https://api.nango.dev", "NANGO_NANGO_SECRET_KEY": "your_nango_secret_key_here", "NANGO_CONNECTION_ID": "your_connection_id_here", "NANGO_INTEGRATION_ID": "your_integration_id_here"}}}}

Try it

โ†’What meetings do I have today?
โ†’Schedule a team standup for tomorrow at 10 AM with the engineering team
โ†’Cancel my 3 PM meeting on Friday
โ†’What's my schedule looking like next week?
โ†’Create a Google Meet for our client review next Tuesday

Frequently Asked Questions

What are the key features of Google Calendar MCP Server?

View all accessible Google Calendars. Retrieve events for today or specific timeframes. Create new events with integrated Google Meet links. Cancel existing calendar events. Search for upcoming events.

What can I use Google Calendar MCP Server for?

Quickly checking daily meeting agendas without opening the browser. Scheduling team meetings via natural language commands. Managing calendar cleanup by canceling events through chat. Reviewing upcoming weekly commitments to plan workload.

How do I install Google Calendar MCP Server?

Install Google Calendar MCP Server by running: git clone <your-repo-url> && cd google-calendar-mcp && uv sync

What MCP clients work with Google Calendar MCP Server?

Google Calendar MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Google Calendar MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare