calendar-mcp
calendar-mcp is an MCP server giving an LLM read/write access to Google Calendar(s) — 23 tools spanning event CRUD, free/busy search, multi-account conflict detection, and a preferences-aware scheduling brain (Google OAuth 2.0, per-account cached tokens).
Calendars — list calendars and access roles (
list_calendars), create a secondary calendar (create_calendar).Read events — search/expand recurring series (
find_events), inspect RSVPs (check_attendee_status), project future occurrences from RRULEs (project_recurring_events), per-day load (analyze_busyness), busy intervals for calendars or people by email (query_free_busy).Write events — create (
create_event), quick-add from plain English (quick_add_event), edit fields without touching omitted ones (update_event), reschedule/move between calendars preserving duration (move_event), invite people (add_attendee), RSVP as yourself (respond_to_event), permanently delete with elicitation confirmation (delete_event).Mutual scheduling — find the first common free slot and book it with all attendees invited (
schedule_mutual), honouring preferences and working-hour limits.Focus time — find uninterrupted deep-work blocks built from working hours minus lunch, bookings and buffers (
find_focus_time), then book them, trimming the last block to the exact hours requested, withdry_runpreview (block_focus_time).Conflicts & rescheduling — detect double-bookings and too-tight transitions across every signed-in account at once (
detect_conflicts); rank better times for an existing meeting and optionally apply (suggest_reschedule).Time audit — meeting hours by day/week, size, domain, recurrence and person, plus focus left and back-to-back stretches (
time_audit).Preferences & accounts — read/update working hours, lunch, buffer, min focus block and focus calendar (
get_preferences/set_preferences, local only); list signed-in accounts and the default (list_accounts).Safety — only
delete_eventdestroys data; scheduling fails closed on unknown/unreadable availability before any write; reschedules and focus bookings are preview-only unless explicitly confirmed.Deployment — stdio by default, optional streamable HTTP at
/mcp(unauthenticated — bind to loopback/tailnet); extra Google accounts viacalendar-mcp auth --account NAMEand a per-call optionalaccountargument.
Provides tools for managing Google Calendar, including listing calendars, creating events, finding events with filters, updating and deleting events, adding attendees, checking attendee status, querying free/busy information, scheduling mutual meetings, and analyzing calendar busyness.
Enables OAuth 2.0 authentication through Google Cloud Platform, allowing secure access to Google Calendar API with proper credentials and authorization.
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., "@calendar-mcp schedule a meeting with Alex tomorrow at 2pm about the project"
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.
calendar-mcp
An MCP server that gives an LLM client read and write access to your Google Calendar. It runs as a single process — stdio by default, streamable HTTP optionally — and exposes 23 tools with structured output: listing and searching calendars and events, creating, updating, moving, RSVPing to and deleting events, free/busy queries, busyness analysis, recurring-event projection, and finding a mutual slot and booking it. On top of that it has a scheduling brain that knows your working hours: finding and booking focus time, detecting double-bookings across several accounts at once, proposing better times for a meeting, and auditing where your week actually went. Authentication is Google OAuth 2.0 (Desktop app flow); tokens are cached locally, per account, and refreshed automatically.
A calendar task, end to end
Synthetic example, backed by offline tests; no real calendar data or live booking. Assume Thursday working hours of 09:00–17:00 UTC, one meeting at 11:00–12:00, no lunch or buffer, and a 60-minute minimum focus block.
“Find six hours of focus time on January 1, 2026. Show me the blocks first.”
An MCP client can call:
{
"tool": "block_focus_time",
"arguments": {
"time_min": "2026-01-01T00:00:00Z",
"time_max": "2026-01-02T00:00:00Z",
"hours_needed": 6,
"dry_run": true
}
}The preview selects 09:00–10:00 and 12:00–17:00: six hours, with the last
selected block trimmed to the remaining hour. Both events have created: false.
After the user approves the times, the client can call with dry_run: false;
availability is read again before creating events. A preview does not reserve a slot.
Design decision: unknown availability is not free time. If a checked calendar
returns an access error, disappears from the response, or has unreadable busy
intervals, focus search and booking return an error before writing anything.
The same check protects mutual scheduling and reschedule suggestions/application.
For example, a notFound response for work@example.com becomes:
Availability is unknown: work@example.com: notFound. No scheduling changes were made.
Restore calendar access or retry the query.Reproduce the preview and the safety regression without Google credentials (after the development install):
pytest -q tests/test_scheduling.py -k 'focus_time_dry_run or focus_refuses_unknown'The regression verifies that partial, missing and errored availability never
calls create_event, in both preview and booking modes. Successful empty busy
lists still mean genuinely free time. Availability checks and writes are separate
Google API calls, so another client can still book a competing event between them.
Related MCP server: Google Calendar MCP Server
Quick start
1. Create Google OAuth credentials. In the Google Cloud console, enable the Google Calendar API, then create an OAuth client ID of type Desktop app. Copy the client ID and secret. (Details in Google Cloud setup.)
2. Set them in your environment, or in a .env file in the directory you run from (see example.env):
GOOGLE_CLIENT_ID='...'
GOOGLE_CLIENT_SECRET='...'3. Sign in once, then add the server to your client:
uvx calendar-mcp-server authThis opens a browser and saves a token in the config directory (see Accounts); if you already have a .gcp-saved-tokens.json or set TOKEN_FILE_PATH, that file is used instead. Verify it with calendar-mcp check. Add more Google accounts with calendar-mcp auth --account work. After that the server runs non-interactively — it never opens a browser on its own unless you set CALENDAR_MCP_ALLOW_BROWSER_AUTH=1.
The PyPI distribution is
calendar-mcp-server. It installs two identical console scripts,calendar-mcpandcalendar-mcp-server, souvx calendar-mcp-serverand a localcalendar-mcpare the same command.
Client configuration
Claude Code
claude mcp add calendar \
--env GOOGLE_CLIENT_ID=... \
--env GOOGLE_CLIENT_SECRET=... \
-- uvx calendar-mcp-serverClaude Desktop — claude_desktop_config.json:
{
"mcpServers": {
"calendar": {
"command": "uvx",
"args": ["calendar-mcp-server"],
"env": {
"GOOGLE_CLIENT_ID": "...",
"GOOGLE_CLIENT_SECRET": "...",
"TOKEN_FILE_PATH": "/absolute/path/to/.gcp-saved-tokens.json"
}
}
}
}Cursor — .cursor/mcp.json (project) or ~/.cursor/mcp.json (global): same mcpServers block as above.
Any other client that speaks the standard mcpServers JSON takes the same entry. TOKEN_FILE_PATH is optional now that tokens default to the OS config directory, which does not depend on the working directory the client picks — but if you do set it, make it an absolute path.
Remote / HTTP mode
calendar-mcp --transport http --host 127.0.0.1 --port 8000The MCP endpoint is then http://127.0.0.1:8000/mcp (change the path with --path).
There is no authentication layer on the HTTP transport yet. Anyone who can reach the endpoint gets full access to the calendar the saved token belongs to. Bind it to loopback, or expose it only behind a trusted reverse proxy that authenticates, or on a private network such as a tailnet. Do not put it on a public interface.
Tools
Read-only tools never change anything. "Writes" tools create or modify events;
delete_event is the only one that destroys data.
Calendars and events
Tool | Description | |
| read | List the calendars the user can see, with IDs and timezones. |
| read | Search a calendar for events, expanding recurring series into instances. |
| read | Report who accepted, declined or has not answered an invitation. |
| read | Busy intervals for one or more calendars, without event details. |
| read | Per-day event count and total scheduled minutes over a range. |
| read | Compute future occurrences from recurrence rules. |
| writes | Create a new secondary calendar. |
| writes | Create an event with explicit start/end times and optional attendees. |
| writes | Create an event from a plain-English phrase, parsed by Google. |
| writes | Change fields on an event; omitted fields are left untouched. |
| writes | Reschedule an event, and/or move it to another calendar. |
| writes | Invite one or more people to an existing event. |
| writes | Set your own RSVP ( |
| writes | Find the first slot where everyone is free, then book it. |
| destroys | Permanently delete an event. Asks the client to confirm via elicitation when supported. |
Scheduling brain — these read your saved preferences (working hours, lunch, buffer, minimum focus block).
Tool | Description | |
| read | Uninterrupted blocks in a window that could be used for deep work, longest first. |
| read | Double-bookings and too-tight transitions, across every signed-in account at once. |
| read | Where the time went: meeting hours, by size, domain, recurrence and person. |
| writes (opt-in) | Ranked better times for an existing meeting. Suggests only, unless |
| writes | Book the best free blocks as focus time. |
Local configuration — no Google call, no account argument.
Tool | Description | |
| read | The accounts you have signed in, and which is the default. |
| read | Working hours, lunch, buffer, minimum focus block, focus calendar. |
| writes | Update and save those preferences. Local file only. |
Every calendar tool takes an optional trailing account argument (detect_conflicts
takes accounts, a list, because checking several at once is the point). All times
are ISO 8601 strings — a naive timestamp is interpreted in the target calendar's own
timezone.
Scheduling brain
The five scheduling tools share one idea: your calendar is not the same as your availability. They start from your working hours, subtract lunch, subtract what is already booked, and subtract the buffer you want around meetings — then reason about what is left.
Prompts that exercise them:
"Find me six hours of focus time next week and block it out — show me the times first."
"Is anything double-booked between my work and personal calendars this week?"
"My Thursday is back-to-back. Suggest better times for the design review."
"Where did my time go last month? Who am I spending it with?"
"I need a 90-minute deep work block before Friday. Is there one?"
find_focus_time reports what exists; block_focus_time defends it by creating
events (busy, reminders off, nobody notified), trimming the last block so it books
exactly the hours you asked for rather than a whole afternoon. detect_conflicts
separates genuine overlaps from tight transitions that merely break your buffer,
and ignores events you declined, events marked free, and (by default) all-day
entries. suggest_reschedule keeps the meeting's duration, ranks candidate slots by
fewest attendee conflicts and prefers the event's current day, and moves nothing
unless you pass apply: true.
Time audit
time_audit answers "how much of my week is meetings?" in one pass, grouped by
day or week:
2026-08-01 .. 2026-09-01, Europe/Berlin, grouped by week
Meetings: 41.5 h across 63 meetings
Working hours: 152.0 h available (lunch removed)
In working hours: 38.0 h -> 25% of the week
Busiest week: 2026-W34, 14.0 h
Heaviest day: 2026-08-20, 6.5 h
By size: 1:1 18.0 h | small 15.5 h | large 8.0 h
By recurrence: recurring 26.0 h | one-off 15.5 h
Top people: a.schmidt@example.com 9.0 h | j.lee@example.com 7.5 hDeclined meetings, events marked free and all-day entries are left out by default;
include_declined and include_all_day bring them back.
Safety
delete_eventis the only destructive tool. It asks the client to confirm through MCP elicitation when the client supports it, and proceeds normally when it does not.block_focus_timetakesdry_run. Run it withdry_run: trueto see the exact blocks it would book before anything is written. The destination calendar is always included in the availability check.Scheduling fails closed on unknown availability. Focus search/booking, both mutual-scheduling paths, and reschedule suggestions/application require readable availability for every checked calendar. Errors are returned before writes, rather than warnings after booking. Restore access or retry before scheduling. Default focus-calendar discovery also refuses an incomplete, paginated calendar list; supply an explicit complete list with
calendar_ids/check_calendar_idsin that case.suggest_rescheduledoes not move anything by default.applyisfalseand has to be set explicitly, once the user has agreed to a time.Everything else that writes is additive — creating or editing an event — and
update_eventleaves fields you omit untouched.list_accounts,get_preferencesandset_preferencesnever touch Google. They read and write local files in the config directory.
Accounts
You can sign in more than one Google account and pick between them per call.
calendar-mcp auth # the default account
calendar-mcp auth --account work # a second, named account
calendar-mcp accounts # list them, with token paths and sign-in stateEvery calendar tool takes an optional account argument naming one of these
("what's on my work calendar tomorrow?"). Omit it and the server uses the
default: CALENDAR_MCP_DEFAULT_ACCOUNT if set, otherwise the account named
default, otherwise the only account you have signed in. list_accounts
returns the same list the CLI prints, so the model can discover the names
itself.
Account names must match [A-Za-z0-9][A-Za-z0-9_-]{0,63}.
Where things live. Tokens and preferences are stored in the OS user config
directory — %LOCALAPPDATA%\calendar-mcp on Windows, ~/.config/calendar-mcp
on Linux, ~/Library/Application Support/calendar-mcp on macOS — with one
token file per account under accounts/. Override the whole directory with
CALENDAR_MCP_CONFIG_DIR.
Back-compat. TOKEN_FILE_PATH still works and now means the default
account's token. If it is set, or if a .gcp-saved-tokens.json exists in the
working directory, that file is used for the default account and nothing
moves. Named accounts always live in the config directory.
Preferences
The server remembers how you like your week to be shaped, so the scheduling
tools do not have to guess. Read them with get_preferences and change them
with set_preferences ("I start at 8 and I want 15 minutes between meetings").
Preferences are global — they describe you, not one account — and are stored as
preferences.json in the config directory.
Field | Default | Meaning |
| unset | IANA zone the working hours are expressed in, e.g. |
| Mon–Fri 09:00–17:00 | Per weekday ( |
|
| Gap to leave either side of a meeting when proposing times. |
|
| Shortest free stretch that still counts as usable focus time. |
| unset | A daily break carved out of the working hours. |
|
| Calendar that focus blocks are booked on. |
{
"timezone": "Europe/Berlin",
"working_hours": {
"mon": [["09:00", "12:00"], ["13:00", "18:00"]],
"tue": [["09:00", "17:00"]],
"wed": [["09:00", "17:00"]],
"thu": [["09:00", "17:00"]],
"fri": [["09:00", "15:00"]],
"sat": [],
"sun": []
},
"buffer_minutes": 15,
"min_focus_block_minutes": 90,
"lunch": ["12:30", "13:15"],
"focus_calendar_id": "primary"
}set_preferences merges: only the arguments you pass change, and the merged
result is validated before it is written, so a rejected change leaves the saved
file untouched. The one exception is working_hours, which is a whole-schedule
replacement — weekdays you leave out of the dict become non-working days. Pass
clear_lunch: true to remove a lunch break.
Configuration
Variable | Default | Purpose |
| — | OAuth client ID (required). |
| — | OAuth client secret (required). |
|
| Where the default account's OAuth token is cached. |
| OS user config dir | Directory holding per-account tokens ( |
|
| Account used when a tool's |
|
| Scope requested. Use |
|
| Local port for the OAuth callback during |
| unset | Set to |
| unset | Mirror the stderr log to this file. |
|
|
|
|
| Default for |
|
| Default for |
A .env file in the working directory is loaded on startup. Logs never go to stdout — stdout is the MCP protocol channel in stdio mode.
Commands
calendar-mcp [--transport {stdio,http}] [--host H] [--port P] [--path /mcp] [--log-level L]
calendar-mcp serve ... # explicit form of the default
calendar-mcp auth [--account NAME] [--no-browser]
calendar-mcp accounts # list known accounts; exit 1 if none is signed in
calendar-mcp check [--account NAME] # token status + calendar list; exit 1 if no valid token
calendar-mcp --versionpython -m calendar_mcp accepts the same arguments.
Google Cloud setup
Create or select a project and enable the Google Calendar API.
APIs & Services → Credentials → Create credentials → OAuth client ID → Application type: Desktop app. Copy the client ID and secret. There is no JSON download to keep.
A Desktop app client has no "Authorized redirect URIs" field — Google permits
http://localhoston any port for this client type, which is what the local callback onOAUTH_CALLBACK_PORTuses. Nothing to configure there.On the OAuth consent screen: User Type External, fill in the app name and contact emails, add the
https://www.googleapis.com/auth/calendarscope, and add your own Google account as a test user. Without that last step the sign-in is rejected.
Development
git clone https://github.com/deciduus/calendar-mcp
cd calendar-mcp
uv venv
uv pip install -e ".[dev]"
pytestLayout: calendar_mcp/server.py (the MCPServer, shared helpers and the credential provider), tools/ (one module per tool area — the tool functions themselves), calendar_actions.py (Google API calls), analysis.py, timeutil.py (pure interval maths), accounts.py (multi-account token paths), preferences.py (the saved schedule), models.py (pydantic input/output models), auth.py (OAuth), cli.py (the calendar-mcp command). scripts/smoke_stdio.py spawns a real stdio server and checks the handshake and tool list.
Upgrading from 1.0
Nothing breaks. All 15 original tools keep their names and their existing
parameters; each simply gained an optional trailing account. Your existing
TOKEN_FILE_PATH keeps working, and now names the default account's token.
Scheduling safety: unavailable, omitted or malformed free/busy data now causes
focus search, previews, mutual scheduling and rescheduling to return an error.
No automatic scheduling changes are made with incomplete availability.
What is new: multiple accounts, saved scheduling preferences, and eight new
tools (find_focus_time, block_focus_time, detect_conflicts,
suggest_reschedule, time_audit, list_accounts, get_preferences,
set_preferences).
Upgrading from 0.x
Package and command renamed. The distribution is now
calendar-mcp-serverand installscalendar-mcp(and an identicalcalendar-mcp-serveralias). Point your client atuvx calendar-mcp-serverinstead ofpython /path/to/run_server.py.run_server.pystill works — it is now a thin shim over the CLI — but it is deprecated and will be removed in a future release.The FastAPI/uvicorn HTTP API is gone. There are no REST endpoints, no
/health, and no separate stdio bridge process; the server is one process on the MCP SDK. If you want HTTP, it is now MCP streamable HTTP at/mcp.Authentication no longer happens implicitly. Run
calendar-mcp authonce; the server will not open a browser unlessCALENDAR_MCP_ALLOW_BROWSER_AUTH=1.Tool names are unchanged, so existing prompts keep working. Results are now structured output rather than JSON stuffed into text.
Three new tools:
move_event,respond_to_event, andproject_recurring_events(the last previously existed only as internal logic).Removed env vars:
RELOAD,MCP_API_HOST.HOST/PORTnow apply to the MCP HTTP transport.
License
This project is dual-licensed to support both open-source collaboration and sustainable development:
GNU Affero General Public License v3.0 (AGPL-3.0):
This software is free to use, modify, and distribute under the terms of the AGPLv3 license.
Key conditions include that derivative works (including modifications used over a network) must also be licensed under AGPLv3 and their source code made available.
This license is suitable for open-source projects or internal use where AGPLv3 compliance is feasible.
See the LICENSE file for the full text.
Commercial License:
If the terms of the AGPLv3 are not suitable for your specific use case (e.g., integrating this software into a proprietary, closed-source commercial product or service without complying with AGPLv3's source-sharing requirements), a separate commercial license is available.
Please contact deciduusleaf@gmail.com for inquiries regarding commercial licensing options.
By using, modifying, or distributing this software, you agree to be bound by the terms of either the AGPLv3 or a separately negotiated commercial license.
mcp-name: io.github.deciduus/calendar-mcp
Available Tools
23 toolsadd_attendeeAdd attendeesAIdempotent
Invite one or more people to an existing event.
Existing attendees are kept; the new addresses are appended.
Args:
event_id: The event to invite people to (from find_events).
attendee_emails: Email addresses to invite.
calendar_id: Calendar the event lives on.
send_notifications: Whether Google emails the attendees. Default true.
account: Account name from 'calendar-mcp accounts'; omit for the default.
Inputs: event_id (required), attendee_emails (required), account, calendar_id, +1 more. Returns: Result of a tool that creates, updates, moves or RSVPs to a single event.
analyze_busynessAnalyze calendar loadARead-onlyIdempotent
Summarise how loaded each day is: event count and total scheduled minutes.
Use this to answer "how busy is my week" without listing every event.
Args: time_min: Start of the window, ISO 8601. time_max: End of the window, ISO 8601. calendar_id: Calendar to analyse. account: Account name from 'calendar-mcp accounts'; omit for the default.
Inputs: time_max (required), time_min (required), account, calendar_id. Returns: Result of the analyze_busyness tool.
block_focus_timeBook focus timeA
Book the best free blocks in a window as focus time, until the hours add up.
Takes the blocks find_focus_time would report, longest first, and creates
an event on each until hours_needed is covered. The last block is trimmed
to what is still needed rather than swallowing a whole afternoon. Events are
created busy, with reminders off and without notifying anyone.
Run it with dry_run first when the user has not yet agreed to the times.
Both preview and booking fail before writing if any checked calendar has
unknown availability. The destination calendar is always checked too.
Args:
time_min: Start of the window to book inside, ISO 8601.
time_max: End of the window, ISO 8601.
hours_needed: How many focus hours to book.
title: Title for the blocks. Default 'Focus time'.
calendar_id: Calendar to book on. Omit for the user's configured
focus_calendar_id (see get_preferences).
check_calendar_ids: Calendars whose events count as busy. Omit for every
calendar the account has selected.
description: Optional note to put in each block.
dry_run: True to report the blocks that would be booked without writing
anything to the calendar.
account: Account name from 'calendar-mcp accounts'; omit for the default.
Inputs: time_max (required), time_min (required), hours_needed (required), title, +5 more. Returns: Result of the block_focus_time tool.
check_attendee_statusCheck attendee RSVPsARead-onlyIdempotent
Report who has accepted, declined or not yet answered an event invitation.
Args:
event_id: The event to inspect (from find_events).
calendar_id: Calendar the event lives on.
attendee_emails: Restrict the report to these addresses. Omit for all.
account: Account name from 'calendar-mcp accounts'; omit for the default.
Inputs: event_id (required), account, calendar_id, attendee_emails. Returns: Result of the check_attendee_status tool.
create_calendarCreate a calendarA
Create a new secondary calendar owned by the user.
Args: summary: Name for the new calendar, e.g. 'Client work'. account: Account name from 'calendar-mcp accounts'; omit for the default.
Inputs: summary (required), account. Returns: One calendar from the user's calendar list.
create_eventCreate an eventA
Create an event with explicit start and end times, and optional attendees.
For a one-line natural-language description ("coffee with Sam tomorrow at 3")
prefer quick_add_event.
Args: calendar_id: Calendar to create the event on. summary: Event title. Required. start_time: Start, ISO 8601 with a UTC offset (e.g. '2026-03-14T15:00:00-04:00'). Without an offset it is read in the calendar's own timezone. end_time: End, ISO 8601, same convention as start_time. description: Longer notes for the event body. location: Free-text location or meeting link. attendee_emails: People to invite. They receive an invitation email unless send_notifications is false. send_notifications: Whether Google emails the attendees. Default true. account: Account name from 'calendar-mcp accounts'; omit for the default.
Inputs: account, summary, end_time, location, +5 more. Returns: Result of a tool that creates, updates, moves or RSVPs to a single event.
delete_eventDelete an eventADestructiveIdempotent
Permanently delete an event. This cannot be undone.
Clients that support elicitation are asked to confirm first; if the user
declines, nothing is deleted and deleted comes back false.
Args:
event_id: The event to delete (from find_events).
calendar_id: Calendar the event lives on.
send_notifications: Whether Google emails the attendees that it was
cancelled. Default true.
account: Account name from 'calendar-mcp accounts'; omit for the default.
Inputs: event_id (required), account, calendar_id, send_notifications. Returns: Result of the delete_event tool.
detect_conflictsDetect calendar conflictsARead-onlyIdempotent
Find double-booked events in a window, across every signed-in account.
Reports two things. conflicts are genuine overlaps -- the user cannot be
in both places. tight transitions do not overlap but leave less than the
buffer from get_preferences, which is what makes a day feel impossible.
Events the user declined, events marked free, cancelled events and (unless
include_all_day is set) all-day events are ignored, because none of them
actually occupy the user.
Args: time_min: Start of the window to check, ISO 8601. time_max: End of the window to check, ISO 8601. accounts: Account names to check. Omit for every signed-in account, which is the point of the tool -- a work meeting clashing with a personal one is invisible from either calendar alone. calendar_ids: Restrict to these calendars (in every account checked). Omit for each account's selected calendars. include_all_day: True to let all-day events clash with timed ones. max_events_per_calendar: Safety limit per calendar. Default 250.
Inputs: time_max (required), time_min (required), accounts, calendar_ids, +2 more. Returns: Result of the detect_conflicts tool.
find_eventsFind eventsARead-onlyIdempotent
Search a calendar for events, expanding recurring series into instances.
Use this before any tool that needs an event_id. Narrow the window with
time_min/time_max rather than raising max_results.
Args: calendar_id: Calendar to search. 'primary' is the user's own calendar. time_min: Inclusive start of the window, ISO 8601 with a UTC offset. Without an offset it is read in the calendar's own timezone. time_max: Exclusive end of the window, ISO 8601. query: Free-text search over title, description, location and attendees. max_results: Maximum events to return (default 50). account: Account name from 'calendar-mcp accounts'; omit for the default.
Inputs: query, account, time_max, time_min, +2 more. Returns: Result of a tool that returns several events.
find_focus_timeFind focus timeARead-onlyIdempotent
Find the uninterrupted blocks in a window that could be used for deep work.
Searches inside the user's working hours (get_preferences), removes lunch,
everything already booked on their calendars, and the buffer they like
around meetings, then reports what is left -- longest block first, because
that is the one worth protecting. Blocks shorter than
min_focus_block_minutes are not reported at all.
Availability must be readable for every requested calendar; otherwise this
returns an error rather than unverified free time.
Read-only: use block_focus_time to actually defend the time.
Args: time_min: Start of the window to search, ISO 8601. Without a UTC offset it is read in the calendar's own timezone. time_max: End of the window to search, ISO 8601. hours_needed: How many focus hours the user is trying to find. Used to report whether the window can supply them; pass 0 to just look. calendar_ids: Calendars whose events count as busy. Omit for every calendar the account has selected. account: Account name from 'calendar-mcp accounts'; omit for the default.
Inputs: time_max (required), time_min (required), hours_needed (required), account, +1 more. Returns: Result of the find_focus_time tool: when this person could actually think.
get_preferencesGet scheduling preferencesARead-onlyIdempotent
Read the user's scheduling preferences: working hours, lunch, buffers, focus.
Consult this before proposing meeting times or hunting for focus blocks, rather than assuming a nine-to-five. Never configured returns the defaults (Mon-Fri 09:00-17:00, no lunch break, no buffer), which is a reasonable guess but worth confirming with the user before you rely on it.
Inputs: no named parameters. Returns: How this user wants their time scheduled.
list_accountsList signed-in accountsARead-onlyIdempotent
List the Google accounts calendar-mcp can use, and which is the default.
Every other tool takes an optional account argument naming one of these.
An account whose valid is false needs calendar-mcp auth --account <name>
run once in a terminal before its calendars can be read.
Inputs: no named parameters. Returns: Result of the list_accounts tool.
list_calendarsList calendarsARead-onlyIdempotent
List the calendars the signed-in user can see, with their IDs and timezones.
Start here whenever the user mentions a calendar other than their own: the
id values returned are what every other tool's calendar_id expects.
Args: min_access_role: Only return calendars where the user has at least this role: 'freeBusyReader', 'reader', 'writer' or 'owner'. Omit for all. account: Account name from 'calendar-mcp accounts'; omit for the default.
Inputs: account, min_access_role. Returns: Result of the list_calendars tool.
move_eventMove or reschedule an eventAIdempotent
Reschedule an event, and/or move it to a different calendar.
Supplying only new_start keeps the event's original duration -- this is the
right tool for "push my 2pm back an hour". Supplying
destination_calendar_id transfers the event between calendars.
Args:
event_id: The event to move (from find_events).
calendar_id: Calendar the event currently lives on.
new_start: New start, ISO 8601. Duration is preserved if new_end is omitted.
new_end: New end, ISO 8601. Optional when new_start is given.
destination_calendar_id: Calendar to transfer the event to.
send_notifications: Whether Google emails the attendees. Default true.
account: Account name from 'calendar-mcp accounts'; omit for the default.
Inputs: event_id (required), account, new_end, new_start, +3 more. Returns: Result of a tool that creates, updates, moves or RSVPs to a single event.
project_recurring_eventsProject recurring eventsARead-onlyIdempotent
Compute future occurrences of recurring events from their recurrence rules.
Unlike find_events, this expands the RRULEs locally, so it reaches past the
horizon Google materialises instances for -- useful for "when do my birthdays
/ standups land next year".
Args: time_min: Start of the projection window, ISO 8601. time_max: End of the projection window, ISO 8601. calendar_id: Calendar whose recurring events should be projected. event_query: Only project recurring events matching this text, e.g. 'Birthday'. account: Account name from 'calendar-mcp accounts'; omit for the default.
Inputs: time_max (required), time_min (required), account, calendar_id, +1 more. Returns: Result of the project_recurring_events tool.
query_free_busyQuery free/busyARead-onlyIdempotent
Get busy intervals for one or more calendars, without revealing event details.
Works for other people's calendars addressed by email, which is how you check whether someone is free before proposing a time.
Args: calendar_ids: Calendar IDs or attendee email addresses to check. time_min: Start of the window, ISO 8601 with a UTC offset. time_max: End of the window, ISO 8601 with a UTC offset. account: Account name from 'calendar-mcp accounts'; omit for the default.
Inputs: time_max (required), time_min (required), calendar_ids (required), account. Returns: Result of the query_free_busy tool.
quick_add_eventQuick-add an eventA
Create an event from a plain-English phrase, parsed by Google.
Google interprets the date, time and title itself, in the calendar's own timezone. Check the returned start/end and tell the user what was booked -- the parser guesses, and does not handle attendees or descriptions.
Args: text: The phrase to parse, e.g. 'Dentist Thursday 9am' or 'Team sync every Monday at 10 for 30 minutes'. calendar_id: Calendar to create the event on. account: Account name from 'calendar-mcp accounts'; omit for the default.
Inputs: text (required), account, calendar_id. Returns: Result of a tool that creates, updates, moves or RSVPs to a single event.
respond_to_eventRSVP to an eventAIdempotent
Set the user's own RSVP on an invitation they have received.
Only works on events the user is an attendee of; it does not change anyone else's response.
Args:
event_id: The invitation to answer (from find_events).
response_status: 'accepted', 'declined', 'tentative' or 'needsAction'.
calendar_id: Calendar the invitation lives on.
comment: Optional note sent to the organizer with the RSVP.
send_notifications: Whether Google emails the organizer. Default true.
account: Account name from 'calendar-mcp accounts'; omit for the default.
Inputs: event_id (required), response_status (required), account, comment, +2 more. Returns: Result of a tool that creates, updates, moves or RSVPs to a single event.
schedule_mutualFind a mutual slot and scheduleA
Find the first slot where everyone is free, then book the meeting there.
Reads each attendee's free/busy inside the window, picks the earliest gap
that fits duration_minutes, and creates the event with all of them invited.
Refuses to book if any attendee or organizer availability is unknown.
Fails with an error if no common slot exists -- widen the window or shorten
the meeting and try again.
By default the search obeys the user's own settings from get_preferences:
their working hours per weekday (so nothing lands on a day off), their lunch
break, and the buffer they want around meetings. working_hours_start and
working_hours_end narrow that further; they never widen it.
Args: attendee_calendar_ids: Attendee email addresses whose availability matters. time_min: Earliest the meeting may start, ISO 8601 with a UTC offset. time_max: Latest the meeting may end, ISO 8601 with a UTC offset. duration_minutes: Length of the meeting in minutes. summary: Title for the meeting. description: Optional agenda or notes. location: Optional location or meeting link. organizer_calendar_id: Calendar the meeting is created on. working_hours_start: Optional daily earliest start, 'HH:MM' local to the calendar, e.g. '09:00'. working_hours_end: Optional daily latest end, 'HH:MM', e.g. '17:00'. send_notifications: Whether Google emails the attendees. Default true. respect_preferences: Obey the user's saved working hours, lunch and buffer. Set false to search the whole window instead. account: Account name from 'calendar-mcp accounts'; omit for the default.
Inputs: summary (required), time_max (required), time_min (required), duration_minutes (required), +9 more. Returns: Result of a tool that creates, updates, moves or RSVPs to a single event.
set_preferencesSet scheduling preferencesAIdempotent
Update the user's scheduling preferences and save them. Returns the merged result.
Only the arguments you pass change; everything else keeps its current value, so a single correction ("I actually start at 8") does not have to restate the whole schedule. The merged result is validated before it is written, so a rejected change leaves the saved preferences untouched.
Args:
timezone: IANA timezone the working hours are expressed in, e.g.
'Europe/Berlin'. Must be a real zone name.
working_hours: Whole-schedule replacement, keyed by weekday
('mon'..'sun'), each value a list of ['HH:MM', 'HH:MM'] pairs. Days
you omit become non-working, so pass every working day at once, e.g.
{"mon": [["09:00", "12:00"], ["13:00", "18:00"]], "fri": [["09:00", "15:00"]]}.
buffer_minutes: Minimum gap to leave before and after each meeting when
proposing times. 0 disables it.
min_focus_block_minutes: Shortest free stretch that still counts as
usable focus time.
lunch: Daily lunch break as ['HH:MM', 'HH:MM'], carved out of the
working hours.
focus_calendar_id: Calendar that focus blocks are booked on; 'primary'
for the user's own.
clear_lunch: Set true to remove an existing lunch break (pass this
instead of lunch when the user says they no longer want one).
Inputs: lunch, timezone, clear_lunch, working_hours, +3 more. Returns: How this user wants their time scheduled.
suggest_rescheduleSuggest better times for an eventAIdempotent
Propose better times for an existing meeting, ranked, keeping its length.
Reads the event, then looks for slots of the same duration inside the user's working hours where the organiser is free, and ranks them: fewest attendee conflicts first, the event's current day next, then earliest. Slots that sit closer to another meeting than the user's buffer allows are penalised, not hidden.
Read-only by default -- it suggests, the user decides. Set apply to move
the event to the top suggestion once they have agreed to it.
Args:
event_id: The event to reschedule (from find_events).
calendar_id: Calendar the event lives on.
search_days: How many days ahead to search. Default 7, maximum 60.
max_suggestions: How many times to propose. Default 5, maximum 20.
search_from: Start searching from this time, ISO 8601. Defaults to now.
apply: True to actually move the event to the best suggestion. Only set
this when the user has agreed to the time.
account: Account name from 'calendar-mcp accounts'; omit for the default.
Inputs: event_id (required), apply, account, calendar_id, +3 more. Returns: Result of the suggest_reschedule tool. Read-only unless 'apply' was set.
time_auditAudit where time wentARead-onlyIdempotent
Report where the user's time went: meeting hours, who with, and what focus time is left.
Answers "how much of my week is meetings?", "who am I spending my time with?" and "where did my focus time go?" in one pass. Working hours, lunch, buffer and the minimum focus block come from the saved preferences (see get_preferences), so the percentages reflect this user's actual day.
Declined meetings, events marked 'free', and all-day entries are excluded by default; the 'excluded' field says how many were skipped.
Args: time_min: Start of the window to audit, ISO 8601. time_max: End of the window to audit, ISO 8601. calendar_ids: Calendars to include. Defaults to ['primary']. group_by: Break the window down by 'day' or by ISO 'week'. include_all_day: Count all-day events as meeting time. include_declined: Count meetings the user declined. account: Account name from 'calendar-mcp accounts'; omit for the default.
Inputs: time_max (required), time_min (required), account, group_by, +3 more. Returns: Result of the time_audit tool: where the user's time actually went.
update_eventUpdate an eventAIdempotent
Change fields on an existing event. Omitted fields are left untouched.
To reschedule while keeping the duration, use move_event instead: changing
only start_time here leaves the old end time in place.
Args:
calendar_id: Calendar the event lives on.
event_id: The event to update (from find_events). Required.
summary: New title.
start_time: New start, ISO 8601.
end_time: New end, ISO 8601.
description: New description.
location: New location.
send_notifications: Whether Google emails the attendees. Default true.
account: Account name from 'calendar-mcp accounts'; omit for the default.
Inputs: account, summary, end_time, event_id, +5 more. Returns: Result of a tool that creates, updates, moves or RSVPs to a single event.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 23 tools
Most tools target distinct resource+action pairs, and descriptions proactively cross-reference potential confusions (create_event vs quick_add_event, move_event vs update_event, find_focus_time vs block_focus_time). A few genuine overlaps remain (suggest_reschedule's apply flag vs move_event, analyze_busyness vs time_audit), but they are clearly delineated in the text.
Strong verb_noun pattern throughout (find_events, create_event, update_event, delete_event, list_calendars, get_preferences, set_preferences). Minor deviations like quick_add_event, time_audit and schedule_mutual break the pattern slightly but remain readable and unambiguous.
23 tools is at the heavy end of the scale for a calendar server. Each tool is well-scoped and justified (event CRUD, focus time, preferences, analytics, cross-account conflict detection), but the surface is large enough that an agent must sift through several near-neighbors.
Covers event lifecycle (create/quick_add/find/update/move/delete), calendars (list/create), attendees (add/respond/status), free/busy, focus time, preferences and analytics. Minor gaps: no remove_attendee, no update_calendar or delete_calendar, which an agent would need for full calendar management.
Maintenance
Related MCP Connectors
Hosted Google Calendar MCP server for AI agents. No self-hosting or Google Cloud setup.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A MCP server that works with Google Calendar to manage event listing, reading, and updates.
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Related MCP Servers
- AlicenseAqualityCmaintenanceA Model Context Protocol server that integrates Google Calendar with Claude Desktop, enabling users to manage calendar events (view, create, update, delete) through natural language.5138 npm59MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables natural language interaction with Google Calendar, allowing users to view, create, update, and delete calendar events through context-aware operations.79 npm1MIT
- AlicenseNot gradedqualityNot gradedmaintenanceA Model Context Protocol (MCP) server for Google Calendar integration in Claude Desktop, enabling AI assistants to manage Google Calendar events through natural language interactions.1ISC
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server for Google Calendar integration with Claude Desktop. Create, update, delete, and manage calendar events with batch operations and enterprise-grade retry mechanisms.1MIT