Google Calendar MCP Server
Allows retrieval of calendar events for specific dates from Google Calendar using the Calendar API v3, providing structured access to meeting information including summaries and start times.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Google Calendar MCP Server show my calendar events for tomorrow"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Google Calendar MCP Server
A Model Context Protocol (MCP) server that provides integration with Google Calendar API. This server allows MCP clients to retrieve calendar events by date.
Architecture Diagram
┌─────────────────┐ ┌─────────────────────┐ ┌─────────────────────┐
│ MCP Client │────▶│ MCP Server │────▶│ Google Calendar │
│ (Claude AI, │ │ (gcal-mcp-server) │ │ API v3 │
│ other AI │ │ │ │ │
│ assistants) │ │ ┌──────────────┐ │ │ ┌──────────────┐ │
└─────────────────┘ │ │ Tool: │ │ │ │ Calendar │ │
│ │getMyCalendar │ │ │ │ Events │ │
│ │ │DataByDate │ │ │ │ │ │
│ │ └──────────────┘ │ │ └──────────────┘ │
│ │ │ │ │
│ │ ┌──────────────┐ │ └─────────────────────┘
│ │ │ Validation │ │ │
│ │ │ (Zod) │ │ │
│ │ └──────────────┘ │ │
│ │ │ │
│ │ ┌──────────────┐ │ │
│ │ │ Transport │ │ │
│ │ │ (stdio) │ │ │
│ │ └──────────────┘ │ │
│ └─────────────────────┘ │
│ │
│ Environment Variables: │
│ • GOOGLE_PUBLIC_API_KEY ──────────────┘
│ • CALENDAR_ID
│
└─── Tool Call: getMyCalendarDataByDate(date)
Returns: { meetings: [...] } or { error: "..." }Data Flow
MCP Client sends a tool call request to the server via stdio transport
MCP Server receives and validates the request using Zod schema
Tool Function processes the date parameter and makes API call to Google Calendar
Google Calendar API returns events for the specified date range
Server formats the response and sends it back to the client
Client receives structured calendar data or error information
Related MCP server: google-calendar-mcp
Features
Retrieve calendar events for a specific date
Integration with Google Calendar API v3
Simple MCP tool interface with date validation
Error handling for API failures
Prerequisites
Node.js (ES modules support required)
Google Calendar API access
Google API key with Calendar API enabled
Target Google Calendar ID
Installation
Clone the repository:
git clone <repository-url>
cd gcal-mcp-serverInstall dependencies:
npm installSet up environment variables:
cp example.env .envConfigure your
.envfile:
GOOGLE_PUBLIC_API_KEY=your_google_api_key_here
CALENDAR_ID=your_calendar_id_hereUsage
Start the MCP server:
npm startThe server will run using stdio transport and register the following tool:
getMyCalendarDataByDate
Retrieves calendar events for a specified date.
Parameters:
date(string): A valid date string (e.g., "2024-01-15", "2024-01-15T10:00:00Z")
Returns:
meetings: Array of formatted meeting strings with summary and start timeerror: Error message if the API call fails
Development
This project uses ES modules and requires Node.js with module support.
Project Structure:
server.js- Main MCP server implementationpackage.json- Project configuration and dependenciesexample.env- Environment variable template.env- Your local environment configuration (git-ignored)
Dependencies
@modelcontextprotocol/sdk- MCP frameworkgoogleapis- Google APIs client librarydotenv- Environment variable loadingzod- Input validation
License
MIT
Available Tools
1 toolgetMyCalendarDataByDateD
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap between tools. The single tool stands alone with no ambiguity about its purpose relative to other tools in the set.
A single tool inherently has perfect naming consistency, as there are no other tools to compare it against for patterns or conventions. The naming stands alone without any inconsistency issues.
A single tool for a Google Calendar server is too few for the apparent scope, as calendar operations typically require multiple actions like creating, updating, deleting events, and listing calendars. This minimal set will likely cause agent failures due to lack of functionality.
The tool set is severely incomplete for a calendar domain, missing essential CRUD operations for events and calendars. With only a single data retrieval tool, agents cannot perform basic calendar management tasks, leading to significant gaps in coverage.
Maintenance
Related MCP Connectors
Calendar API for AI agents: events, availability, Google/Microsoft setup, scheduling, and iCal.
Schedule and manage Google Calendar events directly from your workspace. Check availability, view…
Enables AI assistants to retrieve event data and execute event management operations in Nunify.
Connects ChatGPT to your Apple Calendar via a local Mac agent + Vercel relay
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Google Calendar by listing, creating, updating, and deleting events. It also includes functionality to find available time slots for scheduling.-
- AlicenseBqualityDmaintenanceEnables reading Google Calendar events for a specific date using the getMyCalendarDataByDate tool.114 npmISC
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Google Calendar events, including reading, searching, creating, updating, and deleting events, as well as checking availability and listing calendars.223 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to securely manage Google Calendar events using natural language, including scheduling, rescheduling, deleting, and searching events.1-