Cal2Prompt icon

Cal2Prompt

Converts Google Calendar schedules into customizable LLM prompts for use with language models.

About

Cal2Prompt is a command-line tool that fetches events from your Google Calendar and transforms them into structured prompts for Large Language Models. It leverages the Google Calendar API v3 and allows flexible prompt customization through the Jinja2 template engine. Cal2Prompt can output directly to standard output or run as an experimental Model Context Protocol (MCP) server, allowing real-time integration with applications like Claude.

Key Features

  • Google Calendar Integration (API v3)
  • Customizable LLM prompts via Jinja2 template engine
  • Experimental Model Context Protocol (MCP) server mode
  • Command-line interface
  • High-speed processing via Rust

Use Cases

  • Providing language models with contextual awareness of a user's schedule
  • Automating the creation of daily or weekly schedule summaries for LLMs
  • Integrating calendar data into conversational AI applications via MCP
Craft Better Prompts with AnyPrompt