About Google Calendar MCP Server
A Google Calendar MCP server that gives clients access to calendar lists, available time slots, and upcoming events. It is for users who need to query schedules and availability through MCP, using the Google Calendar API with OAuth2 credentials.
Key features
- 01List available calendars
- 02Find calendar availability
- 03Retrieve upcoming events
- 04Configure date range and slot length
Use cases
- 01Review calendars in an account
- 02Find times for scheduling
- 03Summarize upcoming events
MCP support
The MCP server exposes Google Calendar data tools to clients, including listing calendars, finding available slots, and retrieving upcoming events.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEGoogle Calendar MCP Server
A Model Context Protocol (MCP) server that provides access to Google Calendar data.
Features
- List available Google Calendars
- Find available time slots in a calendar
- Get upcoming events from a calendar
Prerequisites
- Python 3.9+
- Google Cloud project with Calendar API enabled
- OAuth2 credentials
Setup
-
Install dependencies:
pip install -r requirements.txt -
Set up Google Calendar API credentials:
python setup_credentials.pyFollow the prompts to authenticate with Google.
-
Run the server:
python google_calendar_server.py
Using with Claude Desktop
Configure Claude Desktop to use this server by editing the configuration file:
{
"mcpServers": {
"google-calendar": {
"command": "python",
"args": ["/full/path/to/google_calendar_server.py"],
"env": {
"GOOGLE_TOKEN_FILE": "/path/to/token/file.json"
}
}
}
}
Available Tools
list_calendars
Lists all available Google Calendars.
get_available_slots
Finds available time slots in a calendar.
Parameters:
calendar_id: The ID of the calendar to checkdays_ahead: Number of days ahead to check (default: 7)slot_duration_minutes: Duration of each slot in minutes (default: 30)start_hour: Start hour of the day in 24-hour format (default: 9)end_hour: End hour of the day in 24-hour format (default: 17)
get_upcoming_events
Gets upcoming events from a calendar.
Parameters:
calendar_id: The ID of the calendar to checkdays_ahead: Number of days ahead to check (default: 7)max_events: Maximum number of events to return (default: 10)
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.