Skip to main content
Glama

TickTick

TickTick MCP Server 🎯

TickTick.com | Manage Your Tasks with AI

A comprehensive MCP (Model Context Protocol) server for managing your TickTick tasks directly from Claude or any MCP-compatible AI assistant.

Features ✨

  • Task Management: Create, update, complete, and delete tasks

  • Project Management: Create and manage projects/lists

  • Smart Scheduling: Generate daily schedules based on task priorities and due dates

  • OAuth2 Authentication: Secure authentication with TickTick's official API

  • Rich Formatting: Beautiful markdown output for easy reading

Related MCP server: TickTick MCP

Prerequisites

  • Python 3.10 or higher

  • A TickTick account

  • A TickTick Developer App (we'll create this below)

Installation

Step 1: Clone/Copy the Server

# Create directory
mkdir -p ~/ticktick-mcp
cd ~/ticktick-mcp

# Copy the files (ticktick_mcp.py and pyproject.toml)

Step 2: Install Dependencies

# Using pip
pip install mcp httpx pydantic

# Or using the project
cd ~/ticktick-mcp
pip install -e .

Step 3: Register a TickTick Developer App

  1. Go to TickTick Developer Portal

  2. Log in with your TickTick account

  3. Click "+ App Name" to create a new app

  4. Enter a name (e.g., "Claude MCP Integration")

  5. Important: Set the OAuth Redirect URL to: http://127.0.0.1:8080/callback

  6. Click Save

  7. Note down your Client ID and Client Secret

Configuration

For Claude Desktop

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "ticktick": {
      "command": "python",
      "args": ["/path/to/ticktick-mcp/ticktick_mcp.py"],
      "env": {}
    }
  }
}

Using uv (recommended):

{
  "mcpServers": {
    "ticktick": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/ticktick-mcp", "python", "ticktick_mcp.py"]
    }
  }
}

For Other MCP Clients

Run the server directly:

python ticktick_mcp.py

First-Time Setup (OAuth Authentication)

Once the MCP server is connected, use these tools in order:

1. Configure Credentials

Tell Claude:

"Configure TickTick with my credentials: Client ID is YOUR_CLIENT_ID and Client Secret is YOUR_CLIENT_SECRET"

This will:

  • Save your credentials securely

  • Generate an authorization URL for you to visit

2. Authorize the App

  1. Claude will provide an authorization URL

  2. Open the URL in your browser

  3. Log in to TickTick and click "Allow"

  4. You'll be redirected to a URL like: http://127.0.0.1:8080/callback?code=ABCD1234&state=mcp_auth

  5. Copy the code parameter (ABCD1234 in this example)

3. Complete Authorization

Tell Claude:

"Complete TickTick authorization with code: ABCD1234"

You're now authenticated! The token is cached for ~6 months.

Available Tools

Authentication

Tool

Description

ticktick_configure

Configure API credentials

ticktick_authorize

Complete OAuth flow

ticktick_check_auth

Check authentication status

Tasks

Tool

Description

ticktick_list_tasks

List all incomplete tasks

ticktick_get_task

Get details of a specific task

ticktick_create_task

Create a new task

ticktick_update_task

Update an existing task

ticktick_complete_task

Mark a task as complete

ticktick_delete_task

Delete a task

Projects

Tool

Description

ticktick_list_projects

List all projects/lists

ticktick_create_project

Create a new project

ticktick_delete_project

Delete a project

Scheduling

Tool

Description

ticktick_schedule_time

Generate a daily schedule

ticktick_get_today

Quick view of today's tasks

Usage Examples

List Your Tasks

"Show me all my TickTick tasks"

Create a Task

"Create a TickTick task: Review Q4 report, due tomorrow, high priority"

Schedule Your Day

"Help me plan my day based on my TickTick tasks"

Create a Project

"Create a new TickTick project called 'Side Business Ideas'"

Complete a Task

"Mark task ID abc123 in project xyz as complete"

Task Priority Levels

Priority

Value

Emoji

None

0

⚪

Low

1

🟢

Medium

3

🟡

High

5

🔴

File Locations

The server stores configuration and tokens in your home directory:

  • Configuration: ~/.ticktick-mcp-config.json

  • OAuth Token: ~/.ticktick-mcp-token.json

To reset authentication, delete these files.

Troubleshooting

"Not authenticated" Error

Run ticktick_check_auth to verify your authentication status, then re-run the OAuth flow if needed.

"Token expired" Error

Delete ~/.ticktick-mcp-token.json and re-authenticate.

"Rate limit exceeded" Error

Wait a minute before making more requests. TickTick has API rate limits.

"Resource not found" Error

Double-check the task ID and project ID. Use ticktick_list_tasks to see valid IDs.

API Reference

This server uses TickTick's official Open API:

Contributing

Feel free to extend this server! Some ideas:

  • Add support for habits

  • Add Pomodoro timer integration

  • Add calendar view

  • Add recurring task support

  • Add tag management tools

License

MIT License - feel free to use and modify!


Built with ❤️ for productivity enthusiasts using Claude and TickTick.

Available Tools

55 tools
ticktick_archive_projectA
Idempotent

Archive a project.

Archived projects are hidden from the main view but can be restored. Requires v2 API authentication.

Inputs: params (required). Returns: result

ticktick_authorize_oauthA
    Complete OAuth2 authorization with the code from callback URL.

    Use this after visiting the authorization URL and being redirected.

    Args:
        params: Authorization code

    Returns:
        Success message with token details
    

Inputs: params (required). Returns: result

ticktick_auth_statusA
Read-onlyIdempotent
    Check current authentication status.

    Returns:
        Authentication status details
    

Inputs: no named parameters. Returns: result

ticktick_batch_create_tasksA

Create multiple tasks in a single request.

More efficient than creating tasks one by one.

Inputs: params (required). Returns: result

ticktick_batch_delete_tasksB
DestructiveIdempotent
    Delete multiple tasks in a single request.

    Warning: This action cannot be undone.
    

Inputs: params (required). Returns: result

ticktick_checkin_habitA

Record a habit check-in.

Track your daily progress toward habit goals. Requires v2 API authentication.

Inputs: params (required). Returns: result

ticktick_complete_taskB
Idempotent

Mark a task as complete.

Inputs: params (required). Returns: result

ticktick_configure_oauthA
Idempotent
    Configure OAuth2 credentials for TickTick API v1.

    This is the first step for OAuth authentication. After configuration,
    you'll receive an authorization URL to visit.

    Args:
        params: OAuth credentials

    Returns:
        Authorization URL and instructions
    

Inputs: params (required). Returns: result

ticktick_create_folderB

Create a new project folder.

Folders help organize projects into logical groups.

Inputs: params (required). Returns: result

ticktick_create_habitA

Create a new habit to track.

Set daily goals, reminders, and custom icons/colors. Requires v2 API authentication.

Inputs: params (required). Returns: result

ticktick_create_projectB

Create a new project/list.

Projects can be organized in folders and have different view modes.

Inputs: params (required). Returns: result

ticktick_create_subtaskB
    Create a subtask under a parent task.

    Note: Requires v2 API for full hierarchy support.
    

Inputs: params (required). Returns: result

ticktick_create_tagA

Create a new tag.

Tags can be nested by specifying a parent tag name. Requires v2 API authentication.

Inputs: params (required). Returns: result

ticktick_create_taskB
    Create a new task in TickTick.

    Can set title, description, due date, priority, tags, and more.
    If project_id is not provided, task goes to inbox.
    

Inputs: params (required). Returns: result

ticktick_delete_focus_recordA
DestructiveIdempotent
    Delete a focus record.

    Warning: This cannot be undone.
    Requires v2 API authentication.
    

Inputs: params (required). Returns: result

ticktick_delete_folderA
DestructiveIdempotent

Delete a project folder.

Projects in the folder will be moved to the root level.

Inputs: params (required). Returns: result

ticktick_delete_habitA
DestructiveIdempotent
    Delete a habit.

    Warning: This will delete all check-in history for this habit.
    Requires v2 API authentication.
    

Inputs: params (required). Returns: result

ticktick_delete_projectA
DestructiveIdempotent
    Delete a project and all its tasks.

    Warning: This action cannot be undone. All tasks in the project will be deleted.
    

Inputs: params (required). Returns: result

ticktick_delete_tagA
DestructiveIdempotent

Delete a tag.

The tag will be removed from all tasks. Requires v2 API authentication.

Inputs: params (required). Returns: result

ticktick_delete_taskA
DestructiveIdempotent
    Delete a task permanently.

    Warning: This action cannot be undone.
    

Inputs: params (required). Returns: result

ticktick_get_completed_tasksA
Read-onlyIdempotent

Get completed tasks within a date range.

Requires v2 API authentication (username/password login).

Inputs: params (required). Returns: result

ticktick_get_daily_summaryA
Read-onlyIdempotent

Get detailed summary for a specific day.

Shows tasks completed, habits done, and focus time. Requires v2 API for complete data.

Inputs: params (required). Returns: result

ticktick_get_focus_recordsA
Read-onlyIdempotent

Get focus session history.

Filter by date range and focus type (pomodoro/stopwatch). Requires v2 API authentication.

Inputs: params (required). Returns: result

ticktick_get_focus_settingsA
Read-onlyIdempotent

Get current Pomodoro/focus settings.

Shows work duration, break times, and daily goals. Requires v2 API authentication.

Inputs: params (required). Returns: result

ticktick_get_habitB
Read-onlyIdempotent

Get details of a specific habit including its statistics.

Requires v2 API authentication.

Inputs: params (required). Returns: result

ticktick_get_habit_statsA
Read-onlyIdempotent

Get statistics for a specific habit.

Includes completion rate, streaks, and historical data. Requires v2 API authentication.

Inputs: params (required). Returns: result

ticktick_get_overviewA
Read-onlyIdempotent

Get today's productivity overview.

Includes task status, habit progress, and focus statistics. Extended features require v2 API authentication.

Inputs: params (required). Returns: result

ticktick_get_productivity_scoreA
Read-onlyIdempotent

Calculate your productivity score.

Score is based on task completion, habit consistency, and focus time. Includes personalized recommendations. Extended metrics require v2 API authentication.

Inputs: params (required). Returns: result

ticktick_get_projectB
Read-onlyIdempotent

Get details of a specific project including its tasks.

Inputs: params (required). Returns: result

ticktick_get_tag_tasksB
Read-onlyIdempotent

Get all tasks that have a specific tag.

Requires v2 API authentication.

Inputs: params (required). Returns: result

ticktick_get_taskA
Read-onlyIdempotent

Get a specific task by ID.

Requires both task ID and project ID.

Inputs: params (required). Returns: result

ticktick_get_task_analyticsA
Read-onlyIdempotent

Get detailed task analytics.

Shows priority distribution, due date analysis, and tag usage.

Inputs: params (required). Returns: result

ticktick_get_today_focusA
Read-onlyIdempotent

Get today's focus time statistics.

Shows total focus time, pomodoro count, and progress toward daily goal. Requires v2 API authentication.

Inputs: params (required). Returns: result

ticktick_get_today_habitsA
Read-onlyIdempotent

Get today's status for all habits.

Shows which habits are completed and which need attention. Requires v2 API authentication.

Inputs: params (required). Returns: result

ticktick_get_weekly_reportA
Read-onlyIdempotent

Get weekly productivity report.

Includes daily breakdown, totals, and trends. Requires v2 API for complete data.

Inputs: params (required). Returns: result

ticktick_list_foldersA
Read-onlyIdempotent

List all project folders.

Folders are used to organize projects.

Inputs: params (required). Returns: result

ticktick_list_habitsA
Read-onlyIdempotent

List all habits.

Requires v2 API authentication (username/password login).

Inputs: params (required). Returns: result

ticktick_list_projectsA
Read-onlyIdempotent

List all projects/lists.

Returns project details including ID, name, color, and task count.

Inputs: params (required). Returns: result

ticktick_list_tagsA
Read-onlyIdempotent

List all tags in your TickTick account.

Requires v2 API authentication (username/password login). Tags can be nested (have parent-child relationships).

Inputs: params (required). Returns: result

ticktick_list_tasksB
Read-onlyIdempotent

List tasks with optional filtering.

Supports filtering by project, priority, tags, and search query.

Inputs: params (required). Returns: result

ticktick_loginA
    Login with username/password for v2 API access.

    This enables extended features like tags, habits, and focus timer.

    Args:
        params: Login credentials

    Returns:
        Success message
    

Inputs: params (required). Returns: result

ticktick_logoutA
Idempotent
    Clear all authentication tokens (logout).

    Returns:
        Confirmation message
    

Inputs: no named parameters. Returns: result

ticktick_merge_tagsA
DestructiveIdempotent

Merge one tag into another.

The source tag will be deleted, and all tasks will be moved to the target tag. Requires v2 API authentication.

Inputs: params (required). Returns: result

ticktick_move_taskB
Idempotent

Move a task to a different project/list.

Inputs: params (required). Returns: result

ticktick_rename_tagA
Idempotent

Rename a tag.

All tasks with the old tag will be updated to use the new name. Requires v2 API authentication.

Inputs: params (required). Returns: result

ticktick_start_pomodoroA

Start a Pomodoro focus session.

The classic Pomodoro technique with customizable duration. Can be linked to a specific task. Requires v2 API authentication.

Inputs: params (required). Returns: result

ticktick_start_stopwatchB

Start a stopwatch focus session.

Open-ended focus tracking without a fixed duration. Requires v2 API authentication.

Inputs: params (required). Returns: result

ticktick_stop_focusA
Idempotent

Stop the current focus session.

Optionally save or discard the focus record. Requires v2 API authentication.

Inputs: params (required). Returns: result

ticktick_uncomplete_taskB
Idempotent

Reopen a completed task (mark as incomplete).

Inputs: params (required). Returns: result

ticktick_update_focus_settingsA
Idempotent

Update Pomodoro/focus settings.

Customize work duration, breaks, and automation preferences. Requires v2 API authentication.

Inputs: params (required). Returns: result

ticktick_update_folderB
Idempotent

Rename a project folder.

Inputs: params (required). Returns: result

ticktick_update_habitB
Idempotent

Update an existing habit's properties.

Requires v2 API authentication.

Inputs: params (required). Returns: result

ticktick_update_projectB
Idempotent

Update an existing project's properties.

Inputs: params (required). Returns: result

ticktick_update_tagA
Idempotent

Update a tag's properties (color, etc.).

Requires v2 API authentication.

Inputs: params (required). Returns: result

ticktick_update_taskB
Idempotent

Update an existing task.

Only provided fields will be updated.

Inputs: params (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 55 tools

    Disambiguation3/5

    The tools are generally well-differentiated by resource type (tasks, projects, habits, tags, focus) and action, but there is some overlap in functionality. For example, 'ticktick_get_task' and 'ticktick_list_tasks' serve distinct purposes, but 'ticktick_get_completed_tasks' and 'ticktick_get_today_habits' might be confused with broader listing tools. Descriptions help clarify, but the high tool count increases potential for misselection.

    Naming Consistency5/5

    All tool names follow a consistent 'ticktick_verb_noun' pattern with snake_case throughout. The verbs are clear and appropriate (e.g., create, get, update, delete, list), and nouns consistently represent TickTick entities like tasks, projects, habits, tags, and focus. This uniformity makes the tool set predictable and easy to navigate.

    Tool Count2/5

    With 55 tools, the count is excessive for a task management server, even considering TickTick's broad feature set. This many tools can overwhelm agents, leading to confusion and inefficiency. A more streamlined set, perhaps grouping related operations or reducing redundancy, would be more appropriate for the domain.

    Completeness5/5

    The tool set provides comprehensive coverage of TickTick's domain, including full CRUD operations for tasks, projects, habits, tags, and folders, plus advanced features like focus tracking, analytics, and OAuth authentication. There are no obvious gaps; agents can perform all core workflows from task management to productivity analysis without dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers