ntimer
v1.0.0Time tracking for you and your AI coding agents: start, stop and report timers over MCP.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ntime_status Get Timer Status
Use this when you need the account's timers with each work path, state, elapsed time, and mode, plus the work count. It includes timers started on the phone or web. The active timer is the one started most recently.
ntime_start Start Timer
Use this when you need to start an account timer for a work item, visible immediately on the phone and web. When parallel timers are disabled, it stops another running timer; otherwise up to ten work timers may run. It returns an error if that work already has a running timer.
| Parameter | Type | Description |
|---|---|---|
work * | string | Work name, full path ("Studio / Ntime"), or ID; case-insensitive. |
idempotencyKey | string | On a retry, the same key returns the first result without repeating the operation. |
idleMinutes | integer | Minutes without app activity or an agent signal before the timer closes at its last activity. Zero disables idle closing. Defaults to 30 for coding and disabled for other activities. |
mode | string | Timer mode: "Pomodoro 25/5", "Flowtime", "52/17", a custom timer, or a minute count ("25" means countdown). Omit for a stopwatch. |
type | string | Activity type: coding, office, meeting, or learning. Defaults to the work item's inherited type, or office. Hobby, habit, and personal work use their own type. |
ntime_pause Pause Timer
Use this when you need to pause a running work timer. The work item is optional when only one timer is active.
| Parameter | Type | Description |
|---|---|---|
idempotencyKey | string | On a retry, the same key returns the first result without repeating the operation. |
work | string | Work timer to change. Optional when only one timer is active. |
ntime_resume Resume Timer
Use this when you need to resume a paused work timer. The work item is optional when only one timer exists. With parallel timers disabled, it stops another running timer.
| Parameter | Type | Description |
|---|---|---|
idempotencyKey | string | On a retry, the same key returns the first result without repeating the operation. |
work | string | Work timer to change. Optional when only one timer is active. |
ntime_stop Stop Timer
Use this when you need to stop a work timer and close its session. The work item is optional when only one timer is active.
| Parameter | Type | Description |
|---|---|---|
idempotencyKey | string | On a retry, the same key returns the first result without repeating the operation. |
note | string | Optional session note. |
work | string | Work timer to change. Optional when only one timer is active. |
ntime_list_works List Work Items
Use this when you need the account's company, project, task, and hobby tree with full paths, types, and hourly rates.
ntime_add_work Add Work Item
Use this when you need to add a work item according to the account tree rules. Company projects belong under the company; a client name places a billable project under that client and creates the client if needed. Clientless projects, personal areas, hobbies, and habits are not billable.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
activity | string | Activity type: coding, office, meeting, or learning. Defaults to the work item's inherited type, or office. Hobby, habit, and personal work use their own type. |
client | string | Client name for a project. Creates the client if needed. |
idempotencyKey | string | On a retry, the same key returns the first result without repeating the operation. |
kind | string | Defaults to work when a parent exists, otherwise project. |
parent | string | Parent name, path, or ID: a project for a task, or a client for a project. |
ntime_update_work Update Work Item
Use this when you need to update only the supplied fields of a work item: name, kind, activity, parent, hourly rate, currency, billable status, note, or client invoice details.
| Parameter | Type | Description |
|---|---|---|
work * | string | Work name, full path ("Studio / Ntime"), or ID; case-insensitive. |
activity | string | Activity type: coding, office, meeting, or learning. Use "inherit" to inherit from the parent. |
address | string | Client billing address. |
billable | boolean | |
contact | string | Client contact person. |
country | string | Client country as a two-letter ISO code, such as NL or DE. |
currency | string | |
email | string | Client billing email. |
idempotencyKey | string | On a retry, the same key returns the first result without repeating the operation. |
kind | string | |
name | string | |
note | string | |
parent | string | New parent work item. Use "" to move to the top level. |
rate | string | Hourly rate, such as "85" or "85.50". Use "" to clear it. |
taxId | string | Client tax or registration number. |
ntime_set_account Set Account Type
Use this when you need to set the account type. A company account uses the supplied company as the tree root and invoice sender; a personal account has no company root. Existing work items are not moved.
| Parameter | Type | Description |
|---|---|---|
type * | string | |
company | string | Company name, required for a company account. |
idempotencyKey | string | On a retry, the same key returns the first result without repeating the operation. |
ntime_mindmap_create Create Mind Map
Use this when you need to create a mind map from Markdown for viewing and editing on Ntime's Map screen. Markmap format: one '# Title' is the root; '##' and '###' headings and '- ' list items are branches (indent by two spaces). Non-heading and non-list lines are notes for the preceding branch. '- [ ] task' and '- [x] task' are task boxes. '<!-- markmap: fold -->' at a branch end starts it folded; 'foldAll' also folds descendants. Optional frontmatter: '---\nmarkmap:\n layout: tree | two-sided | org-chart\n foldLevel: 2\n---'. Bold, italic, links, and code become plain text.
| Parameter | Type | Description |
|---|---|---|
markdown * | string | Mind map Markdown, up to 30000 characters. Markmap format: one '# Title' is the root; '##' and '###' headings and '- ' list items are branches (indent by two spaces). Non-heading and non-list lines ar… |
title * | string | Mind map title. |
idempotencyKey | string | On a retry, the same key returns the first result without repeating the operation. |
work | string | Optional work item name, path, or ID associated with the map. |
ntime_mindmap_edit Edit Mind Map
Use this when you need to apply up to 50 atomic mind map operations, all or none. Branches are identified by ID or label path. When supplied, version must match the map's current update time. Outline format: "v <updatedAt>"; root `"" # Title`; branches "0.1 - [ ] text". Branches are addressed by ID or a label path such as "Product / Pricing page". Search returns up to 20 IDs and paths. The under and depth fields select a subtree.
| Parameter | Type | Description |
|---|---|---|
map * | string | Mind map ID or case-insensitive title. |
ops * | array | Operations applied in order. |
idempotencyKey | string | On a retry, the same key returns the first result without repeating the operation. |
version | integer | Version from the outline's v line. Omit to edit the latest text. |
ntime_mindmap_update Replace Mind Map
Use this when you need to replace a mind map's complete Markdown, title, or both. The supplied Markdown overwrites the current map text.
| Parameter | Type | Description |
|---|---|---|
map * | string | Mind map ID or case-insensitive title. |
idempotencyKey | string | On a retry, the same key returns the first result without repeating the operation. |
markdown | string | Mind map Markdown, up to 30000 characters. Markmap format: one '# Title' is the root; '##' and '###' headings and '- ' list items are branches (indent by two spaces). Non-heading and non-list lines ar… |
title | string |
ntime_mindmap_get Get Mind Map
Use this when you need a mind map as complete Markdown or as concise outline lines with IDs. Outline mode supports a subtree, depth limit, or label search with up to 20 ID and path results. Outline format: "v <updatedAt>"; root `"" # Title`; branches "0.1 - [ ] text". Branches are addressed by ID or a label path such as "Product / Pricing page". Search returns up to 20 IDs and paths. The under and depth fields select a subtree.
| Parameter | Type | Description |
|---|---|---|
map * | string | Mind map ID or case-insensitive title. |
depth | integer | Number of levels to show below the selected branch or root. |
find | string | Label substring. Returns matching branch IDs and paths, up to 20. |
format | string | Defaults to "markdown". Use "outline" for branch IDs. |
under | string | Return only this branch subtree, identified by ID or label path. |
ntime_mindmap_list List Mind Maps
Use this when you need to list the account's mind maps from newest to oldest with ID, title, author, size, and last modification time.
ntime_log Log Time Entry
Use this when you need to add a completed work block to the account as a closed manual session. It counts at half weight on the activity card, and blocks older than one week do not count there.
| Parameter | Type | Description |
|---|---|---|
endIso * | string | End time, ISO 8601, for example 2026-10-17T09:00:00+03:00. |
startIso * | string | Start time, ISO 8601, for example 2026-10-17T09:00:00+03:00. |
work * | string | Work name, full path ("Studio / Ntime"), or ID; case-insensitive. |
idempotencyKey | string | On a retry, the same key returns the first result without repeating the operation. |
note | string | |
type | string | Activity type: coding, office, meeting, or learning. Defaults to the work item's inherited type, or office. Hobby, habit, and personal work use their own type. |
ntime_edit_session Edit Time Entry
Use this when you need to change a saved session's work item, activity type, start or end time, or note. Pauses merge into one block when times change. Running sessions allow only work, type, and note changes; invoiced sessions cannot be changed.
| Parameter | Type | Description |
|---|---|---|
session * | string | Session ID returned by a status or report result. |
endIso | string | New end time, ISO 8601, for example 2026-10-17T09:00:00+03:00. |
idempotencyKey | string | On a retry, the same key returns the first result without repeating the operation. |
note | string | |
startIso | string | New start time, ISO 8601, for example 2026-10-17T09:00:00+03:00. |
type | string | Activity type: coding, office, meeting, or learning. Defaults to the work item's inherited type, or office. Hobby, habit, and personal work use their own type. |
work | string | Work name, full path ("Studio / Ntime"), or ID; case-insensitive. |
ntime_delete_session Delete Time Entry
Use this when you need to delete a saved session from the account. Running or invoiced sessions cannot be deleted.
| Parameter | Type | Description |
|---|---|---|
session * | string | |
idempotencyKey | string | On a retry, the same key returns the first result without repeating the operation. |
ntime_report Get Time Report
Use this when you need account time, billable amounts, and a breakdown by work item for today, this week, or this month across all devices.
| Parameter | Type | Description |
|---|---|---|
period * | string | |
work | string | Work name, full path ("Studio / Ntime"), or ID; case-insensitive. |
ntime_focus Set Coding Focus
Use this when you need to select or clear the work item that receives coding activity signals for a project. The focus expires after eight hours without a signal.
| Parameter | Type | Description |
|---|---|---|
project * | string | Git repository root directory name. |
work * | Full path or work name; null clears the focus. |
ntime_heartbeat Record Coding Activity
Use this when you need to record a coding activity signal. It starts a coding session for the project or selected work item when none is open, or extends the existing session. With parallel timers disabled, starting a session stops another running timer. An idle session closes at its last signal, and writes are limited to once per project per minute.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project name, normally the Git repository root directory. |
file | string | File currently being edited, if any. |
idleMinutes | integer | Minutes without a signal before a new session closes. Defaults to 30; zero disables idle closing. |
type | string | Activity type for a new session. Defaults to coding. |
work | string | Work item that receives the signal. Defaults to the project-named work item. |
ntime_mail_list List Mail
Use this when you need to list account mail in a folder as summaries containing sender, subject, and snippet. It does not send mail or return the account API key.
| Parameter | Type | Description |
|---|---|---|
folder * | string | Folder. Defaults to inbox. |
limit * | integer | Maximum 50. |
query | string | Full-text search over subject, sender, recipients, and snippet. |
ntime_mail_draft Create Mail Draft
Use this when you need to create a message in the drafts folder. It does not send the message.
| Parameter | Type | Description |
|---|---|---|
subject * | string | |
text * | string | |
to * | array | |
cc | array |