cal2prompt
@shuntaka9576
About cal2prompt
✨ Fetches your schedule (Google Calendar) and outputs it as a single LLM prompt, with an optional MCP server mode.
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is cal2prompt?
cal2prompt is a command-line tool that fetches your schedule (e.g., from Google Calendar) and converts it into a custom prompt or text snippet via a Jinja2 template engine. It can output directly to stdout, or run as an experimental MCP (Model Context Protocol) server.
How to use cal2prompt?
Install via brew install shuntaka9576/tap/cal2prompt or build from source with Cargo. Set up a Google OAuth2 client, create Lua configuration files (~/.config/cal2prompt/config.lua and secrets.lua), then run cal2prompt with date‑range flags (e.g., --today, --this-week) or use the mcp subcommand to launch the experimental MCP server.
Key features of cal2prompt
- Google Calendar integration via Calendar API v3
- Custom LLM prompt generation with a Jinja2 template engine
- High‑speed processing built with the Rust ecosystem
- Experimental MCP (Model Context Protocol) server mode
Use cases of cal2prompt
- Generate a daily or weekly schedule summary as a prompt for an AI assistant
- Feed live calendar events into an LLM via the MCP server (e.g., Claude Desktop)
- Produce custom‑formatted text snippets for time‑blocking or status reports
- Combine multiple Google Calendars into a single chronological overview
FAQ from cal2prompt
How does authentication work?
cal2prompt uses Google OAuth2. You must create your own Google project and OAuth client; the generated token is stored in ~/.local/share/cal2prompt/oauth. The first run automatically starts the authentication flow.
What configuration format does cal2prompt use?
Configuration is written in Lua using two files: secrets.lua for sensitive data (client ID, client secret, calendar IDs) and config.lua for the main setup (time zone, template, etc.).
How can I use cal2prompt as an MCP server with Claude Desktop?
Add a mcpServers entry in claude_desktop_config.json specifying the full path to the cal2prompt binary and the mcp argument, plus the HOME environment variable.
Are there any known limitations?
The MCP mode is experimental and may change without notice. You must supply your own Google Calendar API token; the project owner cannot provide a pre‑approved client due to security and approval constraints.
Where are OAuth tokens stored?
Tokens are stored in the file defined by the settings.oauthFilePath configuration option, defaulting to ~/.local/share/cal2prompt/oauth.
Frequently asked questions
How does authentication work?
cal2prompt uses Google OAuth2. You must create your own Google project and OAuth client; the generated token is stored in `~/.local/share/cal2prompt/oauth`. The first run automatically starts the authentication flow.
What configuration format does cal2prompt use?
Configuration is written in Lua using two files: `secrets.lua` for sensitive data (client ID, client secret, calendar IDs) and `config.lua` for the main setup (time zone, template, etc.).
How can I use cal2prompt as an MCP server with Claude Desktop?
Add a `mcpServers` entry in `claude_desktop_config.json` specifying the full path to the `cal2prompt` binary and the `mcp` argument, plus the `HOME` environment variable.
Are there any known limitations?
The MCP mode is experimental and may change without notice. You must supply your own Google Calendar API token; the project owner cannot provide a pre‑approved client due to security and approval constraints.
Where are OAuth tokens stored?
Tokens are stored in the file defined by the `settings.oauthFilePath` configuration option, defaulting to `~/.local/share/cal2prompt/oauth`.
Basic information
More Productivity MCP servers
JobYap
JobYapJobYap aggregates job postings directly from companies' official careers sites and gives every posting a public discussion thread, with salaries, locations and full descriptions.

RADAAR
RADAARThe RADAAR MCP (Model Context Protocol) Server acts as a bridge between AI assistants (such as Claude, ChatGPT, or custom LLM agents) and the RADAAR social media management platform. By exposing RADAAR’s core tools and A

FlowyTeam OKR MCP Server
flowy-teamFlowyTeam is a native OKR MCP server. Connect Claude (Desktop, web, mobile), ChatGPT, Claude Code or n8n and your agent can read every objective and key result in your workspace, post check-ins, move key-result progress,

Contio MeetingOS
Andrew ElyContio MeetingOS is an AI-powered workspace for meeting-driven teams. — from planning to follow-through. It gives you a structured workspace to build agendas, collaborate with participants in real time, capture transcri

LinkedIn Ghostwriter
ContentInWrite LinkedIn posts in your own voice from Claude, ChatGPT, or any MCP client. ContentIn trains a personal AI on your own LinkedIn posts, then generates ideas, drafts in your voice, schedules, publishes via LinkedIn's o
Comments