Google Calendar MCP Server
Provides comprehensive calendar management capabilities including creating, editing, deleting, and searching events, managing multiple calendars, checking availability with freebusy queries, and accessing calendar colors and settings.
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 create a meeting with Alex tomorrow at 3pm about the Q4 strategy"
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
I got tired of the Google Cloud setup BS, so I built this.
Connect your calendar in 30 seconds, not 3 hours.
Skip the OAuth nightmare. No Google Cloud Console. No service accounts. No headaches. Just works with Claude Desktop, Cursor, Zed, or whatever MCP client you're using.
โจ Why This Rocks
๐ Actually Easy Setup - 30 seconds vs 3 hours of Google Cloud hell
๐ OAuth That Works - No token management headaches
๐ง Works Everywhere - Claude, Cursor, Zed... if it does MCP, we got you
โก Deploy & Forget - One-click Vercel deployment
๐๏ธ Full Calendar Power - Create, edit, delete events like a boss
๐ Your Server - Host it yourself, own your data
๐ฑ Test Drive - Web UI to make sure everything works before going live
Related MCP server: Google Calendar MCP Server
Just Want to Use It?
Connect your calendar:
Go to https://cal-mcp.com
Hit "Connect Google Calendar"
Do the OAuth dance
Copy your config
Add to your MCP client:
Option A: Streamable HTTP (Recommended)
{ "mcpServers": { "google-calendar": { "url": "https://cal-mcp.com/api/mcp" } } }Option B: STDIO (Local Server)
{ "mcpServers": { "google-calendar": { "command": "npx", "args": ["-y", "mcp-remote", "https://cal-mcp.com/api/mcp"] } } }
Want to Run Your Own?
Grab the code:
git clone https://github.com/progrmoiz/cal-mcp cd cal-mcp npm installGoogle OAuth setup (yeah, still need this part):
Hit up Google Cloud Console
Make a project (or use an existing one)
Enable Google Calendar API
Create OAuth 2.0 credentials
Add this redirect URI:
http://localhost:3000/api/auth/callback/google
Environment variables:
cp .env.example .env.localDrop in your Google stuff:
GOOGLE_CLIENT_ID=your_client_id GOOGLE_CLIENT_SECRET=your_client_secret BETTER_AUTH_SECRET=any_random_string BETTER_AUTH_URL=http://localhost:3000Fire it up:
npm run devConnect your calendar:
Go to http://localhost:3000
Hit "Connect Google Calendar"
Do the OAuth dance
Copy your config
๐งช Test Drive
Built-in web interface because who wants to debug blind?
Play with Events - Create, edit, delete events right in the browser
OAuth Testing - Make sure the auth flow actually works
Debug Mode - See raw API responses when things go sideways
Sanity Check - Verify everything works before plugging into your AI
Hit http://localhost:3000 once you're running and give it a spin.
What You Can Do
All the calendar stuff you'd expect:
list-calendars- See all your calendarslist-events- Get events for a date rangecreate-event- Make new eventsupdate-event- Change existing eventsdelete-event- Remove eventssearch-events- Find events by textget-event- Get event detailsmove-event- Move events between calendarslist-colors- Get color options for calendars/eventsget-freebusy- Check when you're availableget-current-time- Current time and timezone info
For Builders
What's under the hood:
Better Auth handling the OAuth mess
MCP server that actually works
Next.js for the web stuff
TypeScript because we're not animals
Going Live
Ready to deploy? Here's what you need:
Environment Variables - Set them on your hosting platform
Database - Point to your Neon PostgreSQL URL
Google OAuth - Update redirect URIs for your domain
HTTPS - Because OAuth demands it
Security Stuff
Better Auth handles tokens so you don't have to
Secrets stay in environment variables where they belong
Everything needs auth (obviously)
Token refresh happens automatically
๐ ๏ธ When Things Break
Stuff not working? Try these:
Your AI Tool Doesn't Do MCP
Not all AI tools support MCP yet. Check if yours does before pulling your hair out.
Remote Connections Failing
Some tools do MCP but hate remote servers. Use the STDIO config instead.
OAuth Acting Up
Did you actually complete the Google login? Try connecting again from the homepage.
No MCP Support At All
Bug your AI tool's developers to add MCP support. The more people ask, the faster it happens.
๐ ๏ธ Architecture
Built with modern technologies for reliability and ease of use:
Next.js 15 - Full-stack framework with API routes
Better Auth - Secure OAuth 2.0 authentication
MCP Handler - Model Context Protocol server implementation
Google Calendar API - Direct integration with Google's calendar services
Vercel - Serverless deployment platform
TypeScript - Type-safe development
๐ค Want to Help?
Contributions welcome! Here's how:
๐ Found a Bug? - Open an issue, tell us what broke
๐ก Got Ideas? - Issues are perfect for brainstorming
๐ง Can Code? - PRs for fixes and features always welcome
๐ Hate Bad Docs? - Make them better!
๐งช Just Testing? - Feedback is gold
How to Contribute:
Fork it
Branch it:
git checkout -b feature/cool-thingCode it (and test it!)
PR it with a good description
If you want to contribute, here are some ideas worth tackling:
๐ Google Sheets MCP - Spreadsheets meet AI (imagine the possibilities!)
๐ง Gmail MCP - Email automation that doesn't suck
โ๏ธ Google Drive MCP - File management for the AI era
๐ Google Docs MCP - Collaborative writing with AI superpowers
Other Calendar Providers:
๐ Outlook/Microsoft 365 - Because not everyone lives in Google land
๐ Apple Calendar (CalDAV) - For the Mac enthusiasts
Got another idea? Just build it!
The beauty of this setup is that it's dead simple to extend. Copy the auth flow, swap the API endpoints, and boom - you've got yourself a new MCP server.
Feel free to fork this repo and create a pull request. Let's build the future of productivity tools together, one API at a time. ๐ ๏ธ
๐ License
MIT License - do whatever you want with it.
๐ฌ Need Help?
๐ Docs: This README + code comments
๐ Bugs: GitHub Issues
๐ฌ Questions: GitHub Discussions
๐ง Collaboration: Hit me up
Available Tools
4 toolsbatchGetDateByTimestampC
Batch convert the provided list of timestamps to date format, used for processing multiple timestamps
Inputs: tsList (required).
calC
Use the expr-eval library to evaluate the input mathematical expression and return the result.
Constant Description E The value of Math.E from your JavaScript runtime PI The value of Math.PI from your JavaScript runtime true Logical true value false Logical false value
Inputs: exp (required).
getDateByTimestampC
Convert the provided timestamp to date format
Inputs: ts (required).
getNowB
Get the current timestamp
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 4 tools
The tools have overlapping purposes that cause confusion. 'batchGetDateByTimestamp' and 'getDateByTimestamp' both convert timestamps to dates, differing only in batch vs. single processing, which could lead to misselection. 'cal' is completely unrelated to calendar operations, evaluating mathematical expressions instead, creating a domain mismatch. Only 'getNow' stands clearly apart as a distinct timestamp retrieval tool.
The naming is inconsistent with mixed conventions and unclear patterns. 'batchGetDateByTimestamp' and 'getDateByTimestamp' use camelCase with a 'get' prefix, but 'getNow' uses snake_case-like simplicity. 'cal' is a vague abbreviation that doesn't follow any discernible pattern. There's no uniform verb_noun structure or consistent casing across the tool set.
The tool count of 4 is too few for a Google Calendar server, indicating a severe mismatch. A calendar domain typically requires CRUD operations for events, calendars, and scheduling, but this set lacks core functionalities like creating, listing, updating, or deleting events. The tools provided are more about timestamp utilities than calendar management, making the count inappropriate for the stated purpose.
The tool surface is severely incomplete for a Google Calendar server. There are no tools for managing calendar events (e.g., create_event, list_events, update_event, delete_event), calendars, or scheduling features. The existing tools focus on timestamp conversion and math evaluation, which are tangential to calendar operations, leaving significant gaps that will cause agent failures in handling typical calendar tasks.
Maintenance
Related MCP Connectors
Calendar API for AI agents: events, availability, Google/Microsoft setup, scheduling, and iCal.
Hosted Google Calendar MCP server for AI agents. No self-hosting or Google Cloud setup.
Calendars, tasks, contacts, bookings and agent inboxes for your assistant. EU-hosted, OAuth.
Read and change Google Calendar and Outlook events, find free time and add meeting links.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Google Calendar through natural language interactions with features like creating, updating, and deleting events, searching calendars, and supporting natural language date/time inputs.2MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Google Calendar through OAuth 2.1 authentication, supporting full calendar and event management including creation, updates, deletion, and search across multiple calendars.1MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to create and manage Google Calendar events with OAuth2 authentication, supporting event creation with titles, descriptions, times, attendees, and alerts.136 npm3MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Google Calendar events through natural language interactions, including creating, updating, deleting, and listing events.13 npmISC