ntimer

v1.0.0
io.github.Lmxai/ntimer Checked 1 day ago Published 7 days ago

Time 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.

ParameterTypeDescription
work *stringWork name, full path ("Studio / Ntime"), or ID; case-insensitive.
idempotencyKeystringOn a retry, the same key returns the first result without repeating the operation.
idleMinutesintegerMinutes 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.
modestringTimer mode: "Pomodoro 25/5", "Flowtime", "52/17", a custom timer, or a minute count ("25" means countdown). Omit for a stopwatch.
typestringActivity 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.

ParameterTypeDescription
idempotencyKeystringOn a retry, the same key returns the first result without repeating the operation.
workstringWork 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.

ParameterTypeDescription
idempotencyKeystringOn a retry, the same key returns the first result without repeating the operation.
workstringWork 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.

ParameterTypeDescription
idempotencyKeystringOn a retry, the same key returns the first result without repeating the operation.
notestringOptional session note.
workstringWork 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.

ParameterTypeDescription
name *string
activitystringActivity 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.
clientstringClient name for a project. Creates the client if needed.
idempotencyKeystringOn a retry, the same key returns the first result without repeating the operation.
kindstringDefaults to work when a parent exists, otherwise project.
parentstringParent 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.

ParameterTypeDescription
work *stringWork name, full path ("Studio / Ntime"), or ID; case-insensitive.
activitystringActivity type: coding, office, meeting, or learning. Use "inherit" to inherit from the parent.
addressstringClient billing address.
billableboolean
contactstringClient contact person.
countrystringClient country as a two-letter ISO code, such as NL or DE.
currencystring
emailstringClient billing email.
idempotencyKeystringOn a retry, the same key returns the first result without repeating the operation.
kindstring
namestring
notestring
parentstringNew parent work item. Use "" to move to the top level.
ratestringHourly rate, such as "85" or "85.50". Use "" to clear it.
taxIdstringClient 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.

ParameterTypeDescription
type *string
companystringCompany name, required for a company account.
idempotencyKeystringOn 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.

ParameterTypeDescription
markdown *stringMind 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 *stringMind map title.
idempotencyKeystringOn a retry, the same key returns the first result without repeating the operation.
workstringOptional 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.

ParameterTypeDescription
map *stringMind map ID or case-insensitive title.
ops *arrayOperations applied in order.
idempotencyKeystringOn a retry, the same key returns the first result without repeating the operation.
versionintegerVersion 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.

ParameterTypeDescription
map *stringMind map ID or case-insensitive title.
idempotencyKeystringOn a retry, the same key returns the first result without repeating the operation.
markdownstringMind 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…
titlestring

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.

ParameterTypeDescription
map *stringMind map ID or case-insensitive title.
depthintegerNumber of levels to show below the selected branch or root.
findstringLabel substring. Returns matching branch IDs and paths, up to 20.
formatstringDefaults to "markdown". Use "outline" for branch IDs.
understringReturn 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.

ParameterTypeDescription
endIso *stringEnd time, ISO 8601, for example 2026-10-17T09:00:00+03:00.
startIso *stringStart time, ISO 8601, for example 2026-10-17T09:00:00+03:00.
work *stringWork name, full path ("Studio / Ntime"), or ID; case-insensitive.
idempotencyKeystringOn a retry, the same key returns the first result without repeating the operation.
notestring
typestringActivity 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.

ParameterTypeDescription
session *stringSession ID returned by a status or report result.
endIsostringNew end time, ISO 8601, for example 2026-10-17T09:00:00+03:00.
idempotencyKeystringOn a retry, the same key returns the first result without repeating the operation.
notestring
startIsostringNew start time, ISO 8601, for example 2026-10-17T09:00:00+03:00.
typestringActivity 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.
workstringWork 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.

ParameterTypeDescription
session *string
idempotencyKeystringOn 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.

ParameterTypeDescription
period *string
workstringWork 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.

ParameterTypeDescription
project *stringGit 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.

ParameterTypeDescription
project *stringProject name, normally the Git repository root directory.
filestringFile currently being edited, if any.
idleMinutesintegerMinutes without a signal before a new session closes. Defaults to 30; zero disables idle closing.
typestringActivity type for a new session. Defaults to coding.
workstringWork 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.

ParameterTypeDescription
folder *stringFolder. Defaults to inbox.
limit *integerMaximum 50.
querystringFull-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.

ParameterTypeDescription
subject *string
text *string
to *array
ccarray