Labsco
MCP SERVER

cal2prompt

by shuntaka9576

Pull your Google Calendar into a prompt shaped exactly the way you want it.

Calendars, Meetings & Scheduling
Summary
Bring your own Google credentials — there is deliberately no shared client.

Calendar API access is granted to a limited set of approved clients, so the author does not ship one: you create the Google project and hold the token, which lands in your platform's data directory. Both the project and the MCP mode are marked experimental, and the README says features may change without notice.

What it is

A Rust command-line tool that fetches your schedule through the Google Calendar API v3 and renders it with a Jinja2 template. `cal2prompt mcp` runs the same thing as an MCP server.

What you get
  • The range you actually want — `--today`, `--this-week`, `--this-month`, `--next-week`, or `--since` and `--until` with explicit dates
  • Several calendars merged into one chronological list
  • Output shaped by your own template, with all-day events, timed events, location, description and attendees all available to it
  • Inserting a new event into a calendar you nominate, through the MCP mode
  • A timezone you set once — `settings.TZ` in IANA format, defaulting to UTC
Requirements

Your own Google OAuth 2.0 client — clientID, clientSecret and the calendar IDs — written into `~/.config/cal2prompt/config.lua`. Install with `brew install shuntaka9576/tap/cal2prompt` or `cargo install --path .`. In Claude Desktop, set `command` to the full path from `which cal2prompt`, pass `mcp` as the argument, and set `HOME` explicitly because the app does not inherit it.

Setup effort

One command plus a key — brew install shuntaka9576/tap/cal2prompt, then supply credentials