Open Sunsama Documentation

Learn how to integrate with Open Sunsama's REST API, connect AI agents using MCP tools, and self-host your own instance.

  • Quick Start: Get started with Open Sunsama in under 5 minutes. Create your account, set up your first tasks, and learn the basics of time blocking.
  • Docker Deployment: Self-host Open Sunsama with Docker Compose: one command builds the API and web app, starts PostgreSQL and creates the database tables.
  • Claude Desktop Setup: Connect Open Sunsama to Claude Desktop. Add it once as a connector with OAuth sign-in, or run the local MCP server with an API key.
  • Cursor Setup: Connect Open Sunsama to Cursor with one click. Sign in with OAuth and manage tasks while you code, with no API key to paste.
  • Claude Setup: Add Open Sunsama to Claude as a custom connector. Works on claude.ai, Claude Desktop, the Claude mobile apps, and Claude Code.
  • ChatGPT Setup: Connect Open Sunsama to ChatGPT as an MCP plugin connection with OAuth sign-in. Let ChatGPT read your schedule and plan your tasks.
  • Local Server & API Keys: Run the Open Sunsama MCP server locally with npx and an API key, or call the hosted server with an API key header. For VS Code, Windsurf, scripts, and self-hosting.
  • MCP Overview: Connect Claude, ChatGPT, Cursor, and other AI assistants to Open Sunsama with one URL. Sign in once with OAuth: no API keys, no config files.
  • Time Blocks API: Complete reference for the Time Blocks API. Schedule focused work time and link blocks to tasks.
  • Tasks API: Complete reference for the Tasks API endpoints. Create, read, update, and delete tasks programmatically.
  • Authentication: Learn how to authenticate with the Open Sunsama API using JWT tokens or API keys.
  • Effective Time Blocking: Learn how to use time blocking in Open Sunsama to maximize your productivity and protect your focus time.