deepworktimer-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@deepworktimer-mcp Start a 50 minute deep work session on #rust and log it when done."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Deep Work Timer MCP server
Pomodoro and deep work time tracking for AI coding agents, with a permanent per-skill ledger.
This is the Model Context Protocol server for Deep Work Timer. It lets Claude Code, Claude Desktop, Cursor, Windsurf, or any MCP client start and log focus sessions, manage tasks, and read how many hours you have put into each skill. Every session lands in your ledger at deepworktimer.com: today, this week, a 12-week heatmap, and lifetime hours per #skill. Free, no subscription, no session limit.
Typical use: you tell your agent "track this as #python for the next hour". It creates the task, starts a 60 minute session, switches tasks as the work moves, and logs the block when you are done. Six months later you can ask "how many hours have I put into Python?" and get a number.
Install
You need a free account at deepworktimer.com and an API token (Settings > API tokens). If you already use the dwt CLI, the server reads its token from ~/.deepworktimer/token and no extra setup is needed.
Claude Code
claude mcp add deepworktimer -e DWT_TOKEN=your_token -- npx -y deepworktimer-mcpClaude Desktop, Cursor, Windsurf and other clients
Add to the client's MCP config:
{
"mcpServers": {
"deepworktimer": {
"command": "npx",
"args": ["-y", "deepworktimer-mcp"],
"env": { "DWT_TOKEN": "your_token" }
}
}
}Related MCP server: ticktick-sdk
Tools
Tool | What it does |
| Active session (task, time left, which device owns it) and today's total |
| Focus time today / 7d / 30d / 365d / all time, best day, daily average |
| The 10,000-hour ledger: lifetime hours per |
| Today's completed sessions, itemized |
| Projects group tasks (a repo, a course, a certification) |
| Tasks; |
| Start a server-side session (1 to 240 min; default is your pomodoro length) |
| Move the running session to another task; time is split honestly |
| Complete the running session and write it to the ledger |
| Discard the running session |
| Record N minutes on a task after the fact |
Sessions are account-wide: one active session, visible from your phone, laptop and agent. Starting a new one takes over any running session, so the tool descriptions steer agents to dwt_status first and dwt_switch_task when something is already running. Logging refuses if another device owns the open segment (you might be working there) unless you explicitly ask.
Configuration
Variable | Default | Purpose |
|
| API token |
|
| Point at a self-hosted instance |
|
| Device label shown on sessions started here |
Why a ledger and not a streak
Most timers count down and forget. Deep Work Timer keeps the count: hours per day, per week, per skill, for as long as you keep the account. There is no premium tier and nothing is deleted when you stop paying, because there is nothing to pay. The number only goes up.
Development
npm install
npm test # builds, then runs node:test against dist/
node dist/index.js # stdio server; talk to it with an MCP inspectorThe REST API this wraps is the same one the web app and the dwt CLI use. Two API quirks are handled for you: POST /api/tasks does not attach #skills (a follow-up PATCH does), and estimates are patched separately in minutes.
License
MIT
Available Tools
14 toolsdwt_abandon_sessionAbandon the running sessionA
Discard the active session without logging any time.
Inputs: no named parameters.
dwt_complete_taskComplete a taskD
Mark a task as completed.
Inputs: task_id (required).
dwt_create_projectCreate a projectB
Create a project to group tasks (e.g. a repo, a course, a certification).
Inputs: name (required), description.
dwt_create_taskCreate a taskA
Create a task. Put skills in the description as #tags (e.g. 'Fix auth bug #python #django @1h'); an @Nh/@Nm marker sets the estimate. #tags only attach to skills that already exist on the account. Returns the created task with its attached skills.
Inputs: description (required), project_id, estimate_minutes.
dwt_deposits_todayToday's depositsB
Today's ledger statement: each completed focus session with its tasks and minutes.
Inputs: no named parameters.
dwt_lifetime_skillsLifetime hours per skill (the ledger)A
The 10,000-hour ledger: lifetime focus hours for every #skill the user has tagged, sorted by hours, with the next milestone. Use to answer 'how many hours have I put into X'.
Inputs: no named parameters.
dwt_list_projectsList projectsA
List the user's projects (id, name). Tasks live in projects or unassigned.
Inputs: no named parameters.
dwt_list_tasksList tasksA
List open tasks. Without project_id returns unassigned tasks; with it, that project's tasks. Set snoozed=true to see snoozed tasks instead.
Inputs: snoozed, project_id.
dwt_log_pomodoroLog a finished block manuallyC
Record focus time that already happened (no running session): N minutes on one task, written to the ledger now.
Inputs: minutes (required), task_id (required).
dwt_log_sessionLog (complete) the running sessionA
Complete the active session and write it to the ledger as one pomodoro, split across the tasks it touched. Refuses if another device currently owns the open segment (the user may be working there) unless force=true and the user explicitly asked.
Inputs: force.
dwt_start_sessionStart a focus sessionA
Start a server-side focus session (default length: the account's pomodoro setting, usually 25 min; 1 to 240 minutes). There is ONE active session per account: starting takes over any session running on another device, so call dwt_status first and prefer dwt_switch_task when a session is already running.
Inputs: minutes, task_id.
dwt_statsFocus time totalsA
Total focus time for today, last 7 days, last 30 days, last 365 days and all time, plus best day and 30-day daily average.
Inputs: no named parameters.
dwt_statusCurrent focus session and today's totalA
Show the active Deep Work Timer session (if any: task, time remaining, which device owns it) and today's total focus time. Call this first before starting or logging anything.
Inputs: no named parameters.
dwt_switch_taskSwitch the running session to another taskA
Move the active session's open segment to a different task. Time is split honestly between tasks; total is conserved. Use this instead of dwt_start_session when a session is already running.
Inputs: task_id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Each tool targets a distinct action/resource: session lifecycle (start, switch, log, abandon), task/project management, and reporting views are clearly separated. Even closely related tools like dwt_log_session and dwt_log_pomodoro are disambiguated by the descriptions (active session vs. past time).
All tools share the 'dwt_' prefix and mostly follow a verb_noun pattern (list_projects, create_task, start_session, complete_task). A few names are noun-like (dwt_status, dwt_stats, dwt_lifetime_skills, dwt_deposits_today) but they are still predictable and consistent in style.
14 tools is well-scoped for a deep work timer with projects, tasks, sessions, and reporting. Each tool has a clear purpose, and the number is large enough to cover key workflows without feeling bloated.
The core domain is well covered: session management, task creation/completion, manual logging, and multiple reporting views are present. Minor gaps like task/project update or delete operations exist, but they are not essential to the primary focus-tracking workflow.
Maintenance
Related MCP Connectors
ADHD system of record for agents: tasks, goals, loops, calendar, focus stats.
Pomodoro work sessions from your AI chat: timed focus blocks, session logs.
Manage tasks, Focus Zone, notes, projects, and task history from compatible AI assistants.
Plan work sessions and run pomodoro timers right in the conversation.
Related MCP Servers
- AlicenseAqualityDmaintenanceIntegrates task management with the Pomodoro Technique, enabling AI assistants to manage productivity workflows through timed work sessions, task tracking, and comprehensive productivity statistics.92MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage TickTick tasks, projects, habits, and focus sessions through the MCP server.56 PyPI148MIT

roxabi-senseofficial
AlicenseBqualityBmaintenanceLocal workstation attention journal that tracks focus, idle, and agent sessions, exposing timeline data via MCP for AI agents to query current or past activity.5AGPL 3.0- FlicenseNot gradedqualityCmaintenanceEnables AI agents to connect to the OnTime personal workbench via MCP to manage tasks, projects, and goals through natural language, including creating sprint projects, logging progress, and querying workbench state in real time.1-