Open Sunsama logo

Open Sunsama

Community
ShadowWalker2014

Open-source Sunsama alternative: a daily planner with kanban, time blocking, and focus mode that Claude and ChatGPT can use. One-click MCP connector (OAuth), REST API, web/desktop/mobile apps, self-hostable.

PublisherShadowWalker2014
Repositoryopen-sunsama
LanguageTypeScript
Forks
12
Stars
60
Available tools
0
Transport typestdio, streamable-http
Categories
Links
  • Connect tools to AI workflows

    Open Sunsama exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    60 stars and 12 forks from the linked repository.

Open Sunsama

Daily planning, done right.

The open-source daily planner for time-blocking, focused work, and seamless AI integration. AI native: control it from any agent, including Claude, ChatGPT, Cursor, Claude Code, or any MCP client, with one URL and no API key.

Open the app Connect Claude Connect ChatGPT GitHub stars

Website · Docs · Connect your AI · Self-host · Download apps

A real Tuesday for a Head of Product: a prioritized board, subtasks, estimates, and a time-blocked schedule. The backlog is tucked away on the left.

✨ Why Open Sunsama

Most planners are closed boxes that your AI assistant can't see into. Open Sunsama is built to be driven by AI as much as by you:

  • 🤖 Your AI plans with you. Claude and ChatGPT can read your schedule, create and prioritize tasks, time-block your day, and close things out through a secure one-click connector.
  • 🗓️ Sunsama-style daily planning. A kanban board of days, drag-and-drop time blocking, focus mode with a timer, and rollover of unfinished work.
  • 🔓 Open source and self-hostable. Run it on your own server, read every line, and extend it through a full REST API.
  • 🖥️ Everywhere you work. Web, desktop (macOS, Windows, Linux), and mobile, with light and dark themes and keyboard-first navigation.

🔌 Connect Claude or ChatGPT in 30 seconds

Paste one URL into your AI assistant, sign in, and click Allow access. That's it: no API keys and no config files.

https://api.opensunsama.com/mcp

Claude (web, Desktop, and mobile)

  1. Settings → Customize → Connectors → Add
  2. Name it Open Sunsama and paste the URL
  3. Continue → Add → Connect, then Allow access

Claude setup guide →

ChatGPT (paid plans, developer mode)

  1. Settings → Security and login → Developer mode
  2. chatgpt.com/plugins → + → paste the URL
  3. Create, then Allow access

ChatGPT setup guide →

Coding assistants connect the same way:

ClientInstall
Claude Codeclaude mcp add --transport http open-sunsama https://api.opensunsama.com/mcp, then run /mcp → Authenticate
CursorAdd to Cursor
VS CodeAdd to VS Code
Any MCP clientAdd the URL as a Streamable HTTP server with OAuth

Then just ask:

"What's on my plate today? Move anything that isn't a P0 or P1 to tomorrow." "Block 9–11am tomorrow for deep work on the launch plan and link it to that task." "Add subtasks to 'Board deck': metrics slide, roadmap slide, asks."

  • Standard OAuth 2.1 with PKCE. Claude and ChatGPT are identified by their published client metadata (CIMD), so the consent screen shows a verified badge. Other clients register with dynamic client registration.
  • Scoped, short-lived tokens. Access tokens expire hourly and refresh automatically. Refresh tokens rotate, and replaying an old one revokes the whole grant.
  • Least privilege. Connector tokens only reach tasks, time blocks, and your profile. They can't touch API keys, passwords, uploads, or calendar accounts.
  • Annotated tools. Every tool is marked read-only or destructive, so assistants ask before deleting anything.
  • One-click disconnect under Settings → MCP → Connected apps.
json
{
  "mcpServers": {
    "open-sunsama": {
      "command": "npx",
      "args": ["-y", "@open-sunsama/mcp"],
      "env": { "OPENSUNSAMA_API_KEY": "os_your_api_key_here" }
    }
  }
}

You can also send a key to the hosted server as an X-API-Key header. See Local server & API keys.

🎬 See it in action

🧭 Everything you need to plan a focused day

Time-block your week

Drag tasks onto the calendar and see your whole week at a glance. Blocks link back to their tasks, so estimates meet reality.

Dig into any task

Subtasks, rich-text notes, attachments, priority, estimate, and a timer, all in one keyboard-friendly modal.

Focus mode

One task, one timer. Track actual time against your estimate while everything else fades away.

⌘K for everything

Jump to any task, idea, or setting in a keystroke. Search spans tasks, ideas, and events.

Every task, one list

Filter active, completed, or everything, grouped by day with subtask progress.

Ideas: your someday boards

Trello-style boards for bets and side projects. Promote an idea to a real task when it's time.

Works on every screen

  • Web app at opensunsama.com
  • Desktop for macOS, Windows, and Linux, with a system tray, a global quick-add hotkey, and notifications (download)
  • Mobile for iOS and Android
  • Calendar sync with Google Calendar, Outlook, and iCloud
  • Recurring routines, task rollover, reminders, and push notifications
  • Keyboard-first: press ? anywhere for shortcuts
  • Themes: light, dark, or system, with multiple color palettes and fonts

🆚 How it compares

Open SunsamaTypical closed planners
Open source & self-hostable✅❌
AI native: control it from any agent over MCP✅❌
One-click Claude & ChatGPT connector (OAuth)✅Rare
Full REST API with scoped keys✅Limited
Daily planning board + time blocking✅✅
Focus timer, routines, rollover✅Varies
Web, desktop, and mobile apps✅✅

Switching from another tool? Read the comparisons: Sunsama · Motion · Akiflow · Reclaim · Todoist

👥 Built for people who plan their day

🛠️ MCP tools

23 tools, available through the hosted connector and the local server:

CategoryTools
Taskslist_tasks get_task create_task update_task complete_task uncomplete_task delete_task schedule_task reorder_tasks
Time blockslist_time_blocks get_time_block create_time_block update_time_block delete_time_block link_task_to_time_block get_schedule_for_day
Subtaskslist_subtasks create_subtask toggle_subtask update_subtask delete_subtask
Profileget_user_profile update_user_profile

🧩 REST API

Everything in the app is available over HTTP, with JWT or scoped API keys:

bash
curl -X POST https://api.opensunsama.com/tasks \
  -H "X-API-Key: os_your_key" -H "Content-Type: application/json" \
  -d '{"title": "Ship v2.0", "priority": "P0", "scheduledDate": "2026-10-01", "estimatedMins": 120}'

Scopes: tasks:read tasks:write time-blocks:read time-blocks:write ideas:read ideas:write user:read user:write. See the API reference.

🚀 Get started

Cloud: create an account at opensunsama.com, then connect your AI.

Self-host with Docker:

bash
git clone https://github.com/ShadowWalker2014/open-sunsama.git
cd open-sunsama
docker-compose up -d        # PostgreSQL + API on :3001 (MCP connector at /mcp)
docker build -f Dockerfile.web --build-arg VITE_API_URL=https://api.your-domain.com -t open-sunsama-web .

The self-hosting guide covers environment variables, the web container, and production setup.

Prerequisites: Bun 1.2+ and PostgreSQL 15+. S3-compatible storage is optional, for file uploads.

bash
git clone https://github.com/ShadowWalker2014/open-sunsama.git
cd open-sunsama
bun install

# Configure environment (root + API)
cp .env.example .env
cp apps/api/.env.example apps/api/.env
#   JWT_SECRET              → openssl rand -base64 32
#   CALENDAR_ENCRYPTION_KEY → openssl rand -hex 32
#   API_URL / WEB_APP_URL   → your public URLs (the MCP connector uses them for OAuth)

bun run db:push
bun run dev

For calendar sync, follow the Google Calendar setup guide.

scripts/readme-media/seed-demo.ts fills an account with a realistic week (tasks, subtasks, time blocks, and ideas) through the REST API. It's the same data behind these screenshots:

bash
DEMO_API_URL=http://localhost:3001 DEMO_PASSWORD='Choose-a-strong-1' bun run scripts/readme-media/seed-demo.ts

🏗️ Tech stack

LayerTechnologies
FrontendReact 19, Vite, TanStack Router + Query, Tailwind CSS, Radix UI, Tiptap
BackendHono 4, Drizzle ORM, PostgreSQL, PG Boss jobs, Zod, OAuth 2.1 authorization server
AIModel Context Protocol (Streamable HTTP + stdio), 23 annotated tools
Desktop / mobileTauri 2, Expo
InfraBun workspaces, Turborepo, Docker, Railway
open-sunsama/
├── apps/
│   ├── api/        # Hono REST API, OAuth server, and the /mcp endpoint
│   ├── web/        # React + Vite app, docs, and marketing site
│   ├── desktop/    # Tauri v2 desktop app
│   └── mobile/     # Mobile apps
├── packages/       # database (Drizzle), types, api-client, utils
└── mcp/            # MCP tools + the npx stdio server

🗺️ Roadmap

  • Daily planning board, priorities, subtasks, and rich notes
  • Time-blocking calendar with day, 3-day, week, and month views
  • Focus mode, routines (recurring tasks), and rollover
  • Calendar sync: Google Calendar, Outlook, and iCloud
  • Ideas boards and a ⌘K command palette
  • Desktop and mobile apps
  • MCP server (local stdio) and REST API with scoped keys
  • One-click Claude & ChatGPT connector (hosted MCP + OAuth)
  • Team workspaces
  • Integrations (Linear, GitHub, Jira, Notion)
  • Analytics dashboard
  • AI auto-scheduling

Have an idea? Start a discussion.

❓ FAQ

🤝 Contributing

Contributions are welcome! Open an issue, start a discussion, or send a PR. See CONTRIBUTING.md.

bash
git checkout -b feature/amazing-feature
bun run dev && bun run typecheck && bun run lint
git commit -m "feat: add amazing feature"

📄 License

Open Sunsama uses a custom non-commercial license. It covers personal, educational, non-profit, and open-source use, plus evaluation. Commercial use by for-profit companies requires an enterprise license. See LICENSE.

If Open Sunsama helps you plan better days, please give it a ⭐. It helps others find it.

Star on GitHub

Made by Circo · opensunsama.com

Installation

TypingMind
{
  "mcpServers": {
    "open-sunsama": {
      "command": "npx",
      "args": [
        "-y",
        "@open-sunsama/mcp"
      ],
      "env": {
        "OPENSUNSAMA_API_KEY": "<OPENSUNSAMA_API_KEY>"
      }
    }
  }
}

Use Open Sunsama MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Open Sunsama is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. You can run MCP locally on your device or connect to a remote MCP server URL.

Option 1: Use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Open Sunsama as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Open Sunsama MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "open-sunsama": {
      "command": "npx",
      "args": [
        "-y",
        "open-sunsama"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Open Sunsama MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Open Sunsama MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Open Sunsama to help me with this task?
Open Sunsama
Sure. I read it.
Here is what I found using Open Sunsama.

Option 2: Add an MCP server URL

Use this when Open Sunsama is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter the MCP server URL from the provider in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste the MCP server URL from the provider into the Server URL field.
  2. Enter a connection name for Open Sunsama.
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the Open Sunsama connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the Open Sunsama tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the Open Sunsama tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Open Sunsama to help me with this task?
Open Sunsama
Sure. I read it.
Here is what I found using Open Sunsama.

Frequently asked questions

What is the Open Sunsama MCP server used for?

Open Sunsama is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Open Sunsama MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Open Sunsama with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Open Sunsama MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Open Sunsama connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Open Sunsama MCP to TypingMind?

Open Sunsama can be connected in TypingMind with the local MCP connector or by adding a remote MCP server URL. Use the local connector when the server needs access to files, apps, or private resources on your device, and use a server URL when the MCP server is hosted remotely.

What tools does Open Sunsama MCP provide in TypingMind?

Open Sunsama exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Open Sunsama MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Open Sunsama requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇