Stratosphere MCP Google Calendar
Authenticates against Google via OAuth (client ID/secret, configurable scopes) and calls Google APIs on the user's behalf to read and write their calendar data.
Exposes 9 tools for Google Calendar: list and full-text search events, get a single event by ID, create events, patch existing events, delete events, list all calendars, get details of a calendar, and check free/busy intervals across calendars. Supports a configurable default calendar and read-only or full read/write scopes.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Stratosphere MCP Google Calendar
A Python MCP server that exposes Google Calendar as tools for AI assistants. Currently supporting 9 tools: list, search, get, create, update, and delete events; list and get calendars; check free/busy intervals.
Compatible with Claude, Gemini CLI, OpenAI Codex, and any MCP-compatible client.
Prerequisites
Enable the Google Calendar API:
Open Google Cloud Console
In the top bar, select your existing project from the project picker (or create a new one)
Go to
APIs & Services→LibrarySearch for
Google Calendar APIOpen it and click
Enable
If you already enabled it before, you'll see
Manageinstead ofEnable— you're good to go.
Create OAuth credentials:
Go to
APIs & Services→OAuth consent screenand configure it if you haven't already (choose External for personal use)Go to
APIs & Services→Credentials→Create credentials→OAuth client ID→Desktop appCopy the
Client IDandClient Secret— you'll add them to your.envin the next step
Related MCP server: caldav-mcp
Quick start (Docker)
Step 1: Build
docker compose buildStep 2: Configure
cp .env.example .env
# Fill in GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRETThis file contains your OAuth credentials in plain text. Restrict its permissions:
chmod 600 .env
Step 3: Authenticate (once)
Run the auth service. It prints an authorization URL. Open it in your browser, sign in, and grant calendar access. The token is saved to the shared Docker volume and the command exits.
docker compose run --rm -p 8081:8081 authStep 4: Register with your AI assistant
Claude Desktop — edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"google-calendar": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"-v", "google-calendar-mcp-tokens:/tokens",
"--env-file", "/absolute/path/to/.env",
"google-calendar-mcp:latest",
"serve"
]
}
}
}Replace /absolute/path/to/.env with the full path to your .env file. Claude Desktop
launches Docker from an unspecified working directory; relative paths do not work.
Claude Code:
claude mcp add --transport stdio google-calendar -- \
docker run --rm -i \
-v google-calendar-mcp-tokens:/tokens \
--env-file /absolute/path/to/.env \
google-calendar-mcp:latest serveEdit ~/.gemini/settings.json (or .gemini/settings.json in your project root for project-scoped config):
{
"mcpServers": {
"google-calendar": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"-v", "google-calendar-mcp-tokens:/tokens",
"--env-file", "/absolute/path/to/.env",
"google-calendar-mcp:latest",
"serve"
]
}
}
}Replace /absolute/path/to/.env with the full path to your .env file.
Edit ~/.codex/config.toml (or .codex/config.toml in your project root for project-scoped config):
[[mcp_servers]]
name = "google-calendar"
command = "docker"
args = [
"run", "--rm", "-i",
"-v", "google-calendar-mcp-tokens:/tokens",
"--env-file", "/absolute/path/to/.env",
"google-calendar-mcp:latest",
"serve"
]Replace /absolute/path/to/.env with the full path to your .env file.
Alternative: local install (without Docker)
Step 1: Install
git clone https://github.com/stratosphereips/strato-mcp-google-calendar
cd strato-mcp-google-calendar
uv venv && source .venv/bin/activate
uv pip install -e .Step 2: Configure
cp .env.example .env
# Fill in GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRETThis file contains your OAuth credentials in plain text. Restrict its permissions:
chmod 600 .env
Step 3: Authenticate (once)
Run the auth command. It prints an authorization URL — open it in your browser, sign in,
and grant calendar access. The token is saved to ~/.config/google-calendar-mcp/.
google-calendar-authStep 4: Register with your AI assistant
Claude Desktop — edit ~/Library/Application Support/Claude/claude_desktop_config.json:
This file will contain your OAuth credentials in plain text. Restrict its permissions after editing:
chmod 600 ~/Library/Application\ Support/Claude/claude_desktop_config.json.
{
"mcpServers": {
"google-calendar": {
"command": "/absolute/path/.venv/bin/google-calendar-mcp",
"env": {
"GOOGLE_CLIENT_ID": "your_client_id",
"GOOGLE_CLIENT_SECRET": "your_client_secret"
}
}
}
}Claude Code:
claude mcp add google-calendar /absolute/path/.venv/bin/google-calendar-mcp \
--env-file /absolute/path/to/.envAvoid
--env KEY=VALUE— credentials passed that way appear in shell history andps.
Edit ~/.gemini/settings.json (or .gemini/settings.json in your project root for project-scoped config):
{
"mcpServers": {
"google-calendar": {
"command": "/absolute/path/.venv/bin/google-calendar-mcp",
"env": {
"GOOGLE_CLIENT_ID": "your_client_id",
"GOOGLE_CLIENT_SECRET": "your_client_secret"
}
}
}
}This file will contain your OAuth credentials in plain text. Restrict its permissions after editing:
chmod 600 ~/.gemini/settings.json.
Edit ~/.codex/config.toml (or .codex/config.toml in your project root for project-scoped config):
[[mcp_servers]]
name = "google-calendar"
command = "/absolute/path/.venv/bin/google-calendar-mcp"
[mcp_servers.env]
GOOGLE_CLIENT_ID = "your_client_id"
GOOGLE_CLIENT_SECRET = "your_client_secret"This file will contain your OAuth credentials in plain text. Restrict its permissions:
chmod 600 ~/.codex/config.toml.
Available Tools
Tool | Description |
| List upcoming events from a calendar |
| Full-text search across events |
| Retrieve a single event by ID |
| Create a new event |
| Patch an existing event |
| Delete an event |
| List all calendars |
| Get details for one calendar |
| Query busy intervals across calendars |
Configuration reference
Variable | Required | Default | Description |
| Yes | — | OAuth client ID |
| Yes | — | OAuth client secret |
| No |
| OAuth redirect URI |
| No |
| Token storage directory |
| No |
| OAuth scopes (comma-separated). The default grants full read/write access (create, update, delete). For read-only access use |
| No |
| Default calendar |
| No |
| Log level (stderr only) |
Development
uv pip install -e ".[dev]"
pytest # run all 88 testsProject structure
src/google_calendar_mcp/
├── server.py # FastMCP entry point
├── config.py # Env-var config loading
├── auth/
│ ├── oauth.py # OAuth flow
│ └── token_store.py # TokenStore ABC + FileTokenStore
├── calendar/
│ ├── client.py # Google API client factory
│ ├── events.py # Events API wrappers
│ ├── calendars.py # CalendarList wrappers
│ └── freebusy.py # FreeBusy wrapper
└── tools/
├── events.py # MCP tool definitions
├── calendars.py
└── freebusy.pyTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
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.
AI-native scheduling: check availability, book meetings, cancel and reschedule via MCP
Read and change Google Calendar and Outlook events, find free time and add meeting links.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to manage Google Calendar events and Google Tasks through a set of MCP tools.18 npm2MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to connect to calendar servers and manage events and tasks, including listing calendars, querying timeframes, creating, updating, completing, and deleting items through tools.897 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to connect to CalDAV servers and manage calendars, events, and tasks through MCP tools, including listing, creating, updating, completing, and deleting items.897 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to connect to CalDAV servers and manage calendars, events, and tasks, including listing, creating, updating, completing, and deleting items through MCP tools.897 npmMIT