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.
README
TickTick MCP Server -- The Complete TickTick Integration for Claude
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?
| Feature | This Server | TickTick Official MCP | jacepark12 |
|---|---|---|---|
| Tools | 28 | 22 | ~20 |
| Multi-condition filter | Yes (priority + tag + date + project) | Yes | No |
| Move task between projects | Yes | Yes | No |
| Bulk complete | Yes (up to 20) | Yes (up to 20) | No |
| Batch update | Yes | Yes | No |
| Completed tasks view | Yes | Yes | No |
| Cross-project search | Full text search | Yes | Yes |
| Subtasks | Yes | No | No |
| GTD focus view | Yes (high priority + due + overdue) | No | Partial |
| Dida365 support | Yes (configurable base URL) | No | Yes |
| Async (httpx) | Yes | N/A | No (sync requests) |
| Pydantic validation | Yes (typed inputs) | N/A | No |
| MCP annotations | Yes (readOnly, destructive hints) | N/A | No |
| Self-hosted / open source | Yes | No (hosted service) | Yes |
| Privacy | 100% local, your tokens only | Goes through TickTick servers | 100% local |
Quick Start
Prerequisites
- TickTick account
- Python 3.10+
- Claude Code or Claude Desktop
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
- Go to developer.ticktick.com
- Click New App and fill in any name
- Set OAuth Redirect URL to:
http://localhost:8080/callback - 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 say | What 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)
| Tool | Description |
|---|---|
ticktick_list_projects |
List all projects with IDs, names, colors |
ticktick_get_project |
Get details of a specific project |
ticktick_get_project_with_tasks |
Get project details + all undone tasks in one call |
ticktick_create_project |
Create a new project (name, color, view mode) |
ticktick_update_project |
Update a project's name, color, or view mode |
ticktick_delete_project |
Permanently delete a project |
Tasks -- Basic CRUD (7 tools)
| Tool | Description |
|---|---|
ticktick_list_tasks |
List all tasks in a specific project |
ticktick_create_task |
Create a task (title, due date, priority, project, tags) |
ticktick_get_task |
Get full details of a specific task |
ticktick_update_task |
Update title, content, dates, or priority |
ticktick_complete_task |
Mark a task as completed |
ticktick_delete_task |
Permanently delete a task |
ticktick_create_subtask |
Create a subtask under a parent task |
Tasks -- Smart Queries (7 tools)
| Tool | Description |
|---|---|
ticktick_get_all_tasks |
Get all tasks across all active projects |
ticktick_search_tasks |
Full-text search across titles, content, subtasks |
ticktick_get_tasks_by_priority |
Filter by priority (None/Low/Medium/High) |
ticktick_get_tasks_due_today |
Tasks due today across all projects |
ticktick_get_overdue_tasks |
All overdue tasks across all projects |
ticktick_get_tasks_due_this_week |
Tasks due within the next 7 days |
ticktick_get_tasks_due_in_days |
Tasks due in exactly N days |
Tasks -- Batch & Productivity (5 tools)
| Tool | Description |
|---|---|
ticktick_batch_create_tasks |
Create multiple tasks at once |
ticktick_batch_update_tasks |
Update multiple tasks at once |
ticktick_complete_tasks_bulk |
Mark up to 20 tasks as completed at once |
ticktick_move_task |
Move a task from one project to another |
ticktick_get_focus_tasks |
GTD focus view: high priority + due today + overdue |
Tasks -- Advanced Filters (2 tools)
| Tool | Description |
|---|---|
ticktick_filter_tasks |
Multi-condition filter: priority + tag + date range + project + status |
ticktick_get_completed_tasks |
View completed tasks in a project |
User (1 tool)
| Tool | Description |
|---|---|
ticktick_get_user_preferences |
Get 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.AsyncClientfor non-blocking API calls - Pydantic input models -- Type-safe, validated inputs with clear error messages
- MCP annotations --
readOnlyHint,destructiveHintfor 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
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。