Skip to main content

Local MCP server for Google Calendar — read, create, update events with your Google account directly.

Project description

honest-calendar-mcp

Local Google Calendar MCP server. Your calendar data never leaves your machine except to Google. No third party in the middle.

Companion project to honest-gmail-mcp.

Why

Most Calendar integrations for AI assistants route your event data through a hosted service that sees everything: meetings, attendees, locations, private descriptions. This one doesn't.

Data flow: You ↔ this server (on your Mac) ↔ Google Calendar API. That's it.

You can read the entire server — one file, ~250 lines of Python — and confirm exactly what it can and cannot do.

Features

Six tools exposed over MCP:

  • list_calendars — all calendars available on this account
  • list_events — events in a calendar within a time range, with optional free-text search
  • get_event — full details of a single event
  • create_event — new event (timed or all-day), with attendees, description, location, timezone
  • update_event — partial patch of an existing event
  • delete_event — delete an event

All tools that send invites accept a send_updates parameter (none by default — no email is sent unless you explicitly ask for it).

Requirements

  • Python 3.10+
  • A Google account you want to give it access to
  • A one-time setup in Google Cloud Console (~10 min, can reuse the OAuth client from honest-gmail-mcp if you already set that up)

Setup

1. Clone + install

git clone https://github.com/bartosz-kuc/honest-calendar-mcp.git
cd honest-calendar-mcp
python3 -m venv venv
./venv/bin/pip install -r requirements.txt

2. Get Google OAuth credentials

Same process as honest-gmail-mcp — a Desktop-app OAuth client from your own Google Cloud project. If you already have a project set up, just enable the Calendar API on it:

  1. https://console.cloud.google.com/ (signed in with the account you want to authorize)
  2. Select existing project (or create new one)
  3. APIs & Services → Library → search Google Calendar APIEnable
  4. Reuse existing OAuth consent screen / client, OR create new — Desktop app type
  5. Save credentials.json in this repo's root directory

3. First run (does the OAuth dance)

./venv/bin/python server.py

Browser opens → sign in → Allow. Token saved locally as token.json. Press Ctrl+C after.

4. Register with your MCP client

Claude Code:

claude mcp add calendar-personal /absolute/path/to/venv/bin/python /absolute/path/to/server.py

Claude Desktop: edit claude_desktop_config.json:

{
  "mcpServers": {
    "calendar-personal": {
      "command": "/absolute/path/to/venv/bin/python",
      "args": ["/absolute/path/to/server.py"]
    }
  }
}

Example usage

"What's on my calendar tomorrow?"

AI calls list_events with tomorrow's time range → gets back events with summary, start, end, attendees.

"Book a 1h call with alice@example.com next Thursday at 15:00."

AI calls create_event with summary, start, end, attendees, send_updates: "all" if you want Alice invited.

Data flow (detail)

Your AI client (Claude Code / Claude Desktop)
         ↕  MCP protocol over stdio (local process pipe)
This server (Python, on your machine)
         ↕  HTTPS to googleapis.com
Google Calendar API

No cloud middle. No telemetry. credentials.json and token.json stay on your disk and are .gitignored.

Security notes

  • You own the OAuth client. Nobody else can revoke, rotate, or misuse it.
  • Revoke anytime at https://myaccount.google.com/permissions.
  • Scope requested: calendar (full read/write on all your calendars). Google does not offer read-only + write-only splits for the standard Calendar scope; the write-heavy nature of a calendar-editing tool needs full scope.
  • No secrets in git. .gitignore blocks credentials.json, token.json, and virtualenvs.
  • send_updates defaults to "none" — the AI cannot accidentally spam attendees. You must explicitly ask for updates to be sent.

Author

Bartosz Kuć — Warsaw-based developer, JDG owner running skanfirmy.pl.

Consulting

Available for consulting on Polish tax and business integrations (KSeF, GUS/NFZ/GIOŚ APIs, mBank data), MCP server design, and AI-assisted tooling for JDGs and small teams. Reach out via email.

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

honest_calendar_mcp-0.1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

honest_calendar_mcp-0.1.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file honest_calendar_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: honest_calendar_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for honest_calendar_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 916996991ff960036ec65cea6d1577eaedf5ab38635f4eab6f01a724f47bbb4f
MD5 1080f7220bfab8928973758eff411e98
BLAKE2b-256 be8c4a48ef6df59290c554098c75fbf72a411ca726d6ea57b0b03c33b6083945

See more details on using hashes here.

Provenance

The following attestation bundles were made for honest_calendar_mcp-0.1.0.tar.gz:

Publisher: publish.yml on bartosz-kuc/honest-calendar-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file honest_calendar_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for honest_calendar_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d0587044247f8aa161d7e88659ae9c6ebac06358267709b7a41a89d6f3bdb279
MD5 b9ea08f902fec3ca1d84242642c93717
BLAKE2b-256 aec597e083d8af45920662ddb06044c6f66742751c7e3213941ea81ce982ab51

See more details on using hashes here.

Provenance

The following attestation bundles were made for honest_calendar_mcp-0.1.0-py3-none-any.whl:

Publisher: publish.yml on bartosz-kuc/honest-calendar-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page