MCP Hub
Back to servers

ticktick-mcp

MCP server for TickTick using the official OAuth 2.0 API. Create, list, update, complete, and delete tasks just by talking to Claude.

glama
Stars
1
Forks
1
Updated
Apr 6, 2026

TickTick MCP Server -- The Complete TickTick Integration for Claude

License: MIT Version Python Tools Glama

28 tools. Full CRUD. Smart queries. Multi-condition filters. Batch operations. GTD support. Dida365 compatible.

Connect Claude to your TickTick account and manage your entire task system through natural conversation -- create tasks, search across projects, check what's overdue, batch-create items, and stay organized without ever opening the app.

"What's overdue?" --> Instantly shows all missed deadlines across every project.


Why This One?

FeatureThis ServerTickTick Official MCPjacepark12
Tools2822~20
Multi-condition filterYes (priority + tag + date + project)YesNo
Move task between projectsYesYesNo
Bulk completeYes (up to 20)Yes (up to 20)No
Batch updateYesYesNo
Completed tasks viewYesYesNo
Cross-project searchFull text searchYesYes
SubtasksYesNoNo
GTD focus viewYes (high priority + due + overdue)NoPartial
Dida365 supportYes (configurable base URL)NoYes
Async (httpx)YesN/ANo (sync requests)
Pydantic validationYes (typed inputs)N/ANo
MCP annotationsYes (readOnly, destructive hints)N/ANo
Self-hosted / open sourceYesNo (hosted service)Yes
Privacy100% local, your tokens onlyGoes through TickTick servers100% local

Quick Start

Prerequisites

Step 1 -- Clone and install

git clone https://github.com/Salen-Project/ticktick-mcp
cd ticktick-mcp
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt

Step 2 -- Register a TickTick developer app

  1. Go to developer.ticktick.com
  2. Click New App and fill in any name
  3. Set OAuth Redirect URL to: http://localhost:8080/callback
  4. Copy your Client ID and Client Secret

Step 3 -- Authenticate

TICKTICK_CLIENT_ID=your_id TICKTICK_CLIENT_SECRET=your_secret .venv/bin/python3 setup_auth.py

This opens your browser to authorize the app. Click Allow -- tokens are saved to ~/.ticktick_mcp/tokens.json and refresh automatically.

Step 4 -- Register with Claude Code

claude mcp add ticktick \
  -e TICKTICK_CLIENT_ID=your_id \
  -e TICKTICK_CLIENT_SECRET=your_secret \
  -- /path/to/ticktick-mcp/.venv/bin/python3 /path/to/ticktick-mcp/server.py

For Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "ticktick": {
      "type": "stdio",
      "command": "/path/to/ticktick-mcp/.venv/bin/python3",
      "args": ["/path/to/ticktick-mcp/server.py"],
      "env": {
        "TICKTICK_CLIENT_ID": "your_id",
        "TICKTICK_CLIENT_SECRET": "your_secret"
      }
    }
  }
}

Step 5 -- Add the productivity skill (optional)

mkdir -p ~/.claude/skills/ticktick
cp skills/ticktick/SKILL.md ~/.claude/skills/ticktick/

Dida365 Support

For Dida365 (TickTick's Chinese version), set these environment variables:

TICKTICK_BASE_URL=https://api.dida365.com/open/v1
TICKTICK_TOKEN_URL=https://dida365.com/oauth/token

Usage Examples

You sayWhat happens
"Remind me to call the dentist on Friday"Task created with due date
"Add 'review Q1 report' to Work, high priority"Task in Work project, priority 5
"What's overdue?"Shows all overdue tasks across projects
"What should I focus on?"GTD view: high priority + due today + overdue
"Search for anything about 'budget'"Full-text search across all projects
"Show me all high priority tasks"Filters by priority=5 across projects
"What's due this week?"Tasks due in the next 7 days
"Create tasks: buy milk, call John, submit report"Batch creates 3 tasks
"Create a project called 'Vacation Planning'"New project created
"Add subtask 'Buy sunscreen' under the vacation task"Subtask created
"I finished the dentist task"Task marked complete
"Delete the old Sprint project"Project and all tasks deleted

MCP Tools Reference

Projects (5 tools)

ToolDescription
ticktick_list_projectsList all projects with IDs, names, colors
ticktick_get_projectGet details of a specific project
ticktick_get_project_with_tasksGet project details + all undone tasks in one call
ticktick_create_projectCreate a new project (name, color, view mode)
ticktick_update_projectUpdate a project's name, color, or view mode
ticktick_delete_projectPermanently delete a project

Tasks -- Basic CRUD (7 tools)

ToolDescription
ticktick_list_tasksList all tasks in a specific project
ticktick_create_taskCreate a task (title, due date, priority, project, tags)
ticktick_get_taskGet full details of a specific task
ticktick_update_taskUpdate title, content, dates, or priority
ticktick_complete_taskMark a task as completed
ticktick_delete_taskPermanently delete a task
ticktick_create_subtaskCreate a subtask under a parent task

Tasks -- Smart Queries (7 tools)

ToolDescription
ticktick_get_all_tasksGet all tasks across all active projects
ticktick_search_tasksFull-text search across titles, content, subtasks
ticktick_get_tasks_by_priorityFilter by priority (None/Low/Medium/High)
ticktick_get_tasks_due_todayTasks due today across all projects
ticktick_get_overdue_tasksAll overdue tasks across all projects
ticktick_get_tasks_due_this_weekTasks due within the next 7 days
ticktick_get_tasks_due_in_daysTasks due in exactly N days

Tasks -- Batch & Productivity (5 tools)

ToolDescription
ticktick_batch_create_tasksCreate multiple tasks at once
ticktick_batch_update_tasksUpdate multiple tasks at once
ticktick_complete_tasks_bulkMark up to 20 tasks as completed at once
ticktick_move_taskMove a task from one project to another
ticktick_get_focus_tasksGTD focus view: high priority + due today + overdue

Tasks -- Advanced Filters (2 tools)

ToolDescription
ticktick_filter_tasksMulti-condition filter: priority + tag + date range + project + status
ticktick_get_completed_tasksView completed tasks in a project

User (1 tool)

ToolDescription
ticktick_get_user_preferencesGet user settings (timezone, week start, etc.)

Architecture

server.py              # 20 MCP tools, async httpx, Pydantic validation
setup_auth.py          # One-time OAuth 2.0 setup (browser-based)
~/.ticktick_mcp/       # Token storage (auto-refreshed)
skills/ticktick/       # Claude skill for natural task language

Design choices:

  • Async everywhere -- httpx.AsyncClient for non-blocking API calls
  • Pydantic input models -- Type-safe, validated inputs with clear error messages
  • MCP annotations -- readOnlyHint, destructiveHint for safer tool usage
  • Auto token refresh -- Tokens refresh transparently with a 60-second buffer

Troubleshooting

"Given client ID does not match" -- Double-check your Client ID on developer.ticktick.com.

Port 8080 already in use -- lsof -ti:8080 | xargs kill -9 then retry.

Tokens expired -- Re-run setup_auth.py to get fresh tokens.

Claude doesn't see tools -- Run claude mcp list to verify registration.


Contributing

Contributions welcome! Please open an issue first to discuss what you'd like to change.

git clone https://github.com/Salen-Project/ticktick-mcp
cd ticktick-mcp
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
# Make your changes to server.py
# Test: python3 -c "from server import mcp; print(len(mcp._tool_manager._tools), 'tools')"

Links


License

MIT (c) Salen-Project

Reviews

No reviews yet

Sign in to write a review