timer-tracking
Timer and time-tracking add-on: start/stop timers, log entries, CSV export. Data stays local.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"timer-tracking": {
"command": "uvx",
"args": [
"https://github.com/theluckystrike/mcp-servers/releases/download/v0.21.0/time-tracker.mcpb"
]
}
}
}可執行的套件
0.21.0stdio0.22.0stdio遠端端點
https://mcp.zovo.one/mcp/timer-trackingstreamable-http它能做什麼
工具清單
工具(14)
🟢license_status
Report this endpoint's licence state for your token as JSON: the product, the tier free or pro, why it is not Pro, and the checkout URL. Call it to explain a free-tier refusal. No arguments, nothing changes.
輸入結構描述
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪license_activate(key)
Turn Pro on for this connection with key, an MCPL1.<payload>.<signature> issued at checkout for this server or the bundle. Data under your token stays; a wrong or expired key changes nothing. license_status confirms it.
輸入結構描述
{
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "License key from checkout, MCPL1.<payload>.<signature>"
}
},
"required": [
"key"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪timer_start(project, task, tags, rate, currency)
Start a stopwatch for work on a project and return the start time. Only one runs at a time: a new one stops and logs the previous, naming it. rate is an hourly rate in MAJOR units for this timer only.
輸入結構描述
{
"type": "object",
"properties": {
"project": {
"type": "string",
"minLength": 1,
"description": "Project or client name, e.g. 'acme-website'. A partial name that matches exactly one existing project is used as that project."
},
"task": {
"type": "string",
"description": "What you are working on right now"
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Free-form tags, e.g. ['dev','meeting']"
},
"rate": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "string"
}
],
"description": "Hourly rate for this timer only; a number (90) or the words the user said, e.g. rate '90 euros an hour'. Defaults to the project rate set by project_set_rate."
},
"currency": {
"type": "string",
"description": "Currency of the rate: EUR, USD, GBP, PLN, or words like 'euros'. Defaults to the project currency, else USD."
}
},
"required": [
"project"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪timer_stop(note)
Stop the running timer and log it as one entry. Returns the duration, the money at the rate in force and the new entry id. With no timer running it says so and writes nothing.
輸入結構描述
{
"type": "object",
"properties": {
"note": {
"type": "string",
"description": "Optional note stored with the entry"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢timer_status
Report the running timer and today's total hours. Today is the local calendar day, so a timer started at 23:30 yesterday contributes only the minutes since midnight. No arguments, and it writes nothing.
輸入結構描述
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡entry_add(project, task, start, end, minutes, ...)
Log time already worked as one entry and return its id, duration and amount. Give start plus end or minutes. rate is hourly in MAJOR units and is frozen on the entry, so a later rate change never moves it.
輸入結構描述
{
"type": "object",
"properties": {
"project": {
"type": "string",
"minLength": 1,
"description": "Project or client name. A partial name that matches exactly one existing project is used as that project."
},
"task": {
"type": "string",
"description": "What the work was"
},
"start": {
"type": "string",
"description": "ISO 8601 start time, e.g. 2026-09-02T09:00:00"
},
"end": {
"type": "string",
"description": "ISO 8601 end time (or use minutes)"
},
"minutes": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Duration in minutes (alternative to end)"
},
"note": {
"type": "string",
"description": "Optional note"
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional tags"
},
"billable": {
"type": "boolean",
"description": "Default true; set false for non-billable work"
},
"rate": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "string"
}
],
"description": "Hourly rate for this entry; a number (90) or the words the user said ('90 euros an hour')"
},
"currency": {
"type": "string",
"description": "Currency of the rate: EUR, USD, GBP, PLN, or words like 'euros'. Defaults to the project currency, else USD."
}
},
"required": [
"project",
"start"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢entry_list(from, to, project, limit)
List logged entries as a table of id, day, start, project, task, hours, billable, tags and note, newest first, with total hours. Free reads the last 7 days and says so; Pro reads the whole history.
輸入結構描述
{
"type": "object",
"properties": {
"from": {
"type": "string",
"description": "ISO date/time lower bound"
},
"to": {
"type": "string",
"description": "ISO date/time upper bound"
},
"project": {
"type": "string",
"description": "Filter by project name"
},
"limit": {
"type": "integer",
"exclusiveMinimum": 0,
"description": "Maximum rows, newest first (default 50)"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴entry_delete(id)
Delete one logged entry by id and report the project and hours removed. It never touches a running timer. A billed entry goes too, losing the invoice record, so correct one with entry_edit instead.
輸入結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Entry id from entry_list"
}
},
"required": [
"id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡entry_edit(id, project, task, start, end, ...)
Change one logged entry by id; only the fields you pass move. minutes keeps start and moves end, an end at or before start is refused, tags REPLACES the list, and rate is hourly in MAJOR units.
輸入結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Entry id from entry_list"
},
"project": {
"type": "string"
},
"task": {
"type": "string"
},
"start": {
"type": "string",
"description": "ISO 8601"
},
"end": {
"type": "string",
"description": "ISO 8601"
},
"minutes": {
"type": "number",
"exclusiveMinimum": 0,
"description": "New duration in minutes, keeps start"
},
"note": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"billable": {
"type": "boolean"
},
"rate": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "string"
}
],
"description": "Hourly rate override for this entry, a number or words like '90 euros'"
},
"currency": {
"type": "string",
"description": "Currency of the rate, e.g. EUR"
}
},
"required": [
"id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡project_set_rate(project, hourly_rate, currency, apply_to_existing, only_missing)
Set the hourly rate and currency used to turn tracked hours into money for a project or client. Returns the new rate and, when re-rating is asked for, how many already logged entries changed.
輸入結構描述
{
"type": "object",
"properties": {
"project": {
"type": "string",
"minLength": 1,
"description": "Project or client name. A partial name that matches exactly one existing project is used as that project."
},
"hourly_rate": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "string"
}
],
"description": "Hourly rate: a number (85) or the words the user said ('90 euros an hour'). '1,200 USD' is 1200; '12,50 EUR' is 12.50; anything ambiguous is refused."
},
"currency": {
"type": "string",
"description": "Currency: a code (EUR, USD, GBP, PLN) or a word ('euros', 'pounds', 'zl'). Defaults to the shared business profile's default_currency, else USD."
},
"apply_to_existing": {
"type": "boolean",
"description": "Re-rate time already logged for this project: every entry is re-stamped with the new rate, including entries that already carry one. Default false: the new rate applies to future entries only, because each entry captures the rate in force when it was logged."
},
"only_missing": {
"type": "boolean",
"description": "Only meaningful with apply_to_existing. True restores the old fill-the-gaps behaviour: only entries that carry no rate of their own are touched. Default false, which re-stamps every entry of the project."
}
},
"required": [
"project",
"hourly_rate"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢report(from, to, group_by, format, project, ...)
Timesheet report: total tracked hours and billable money for a period, optionally grouped by (group by) project, day, task or tag - hours per project, how much to bill. Omit group_by for the plain total per currency.
輸入結構描述
{
"type": "object",
"properties": {
"from": {
"type": "string",
"description": "ISO date/time start of the period. On the free tier the window is clamped to the last 7 days; Pro reports over the full history."
},
"to": {
"type": "string",
"description": "ISO date/time end of the period. On the free tier the window is clamped to the last 7 days; Pro reports over the full history."
},
"group_by": {
"type": "string",
"enum": [
"project",
"day",
"task",
"tag"
],
"description": "project | day | task | tag. Optional: omit it for the plain total per currency, with no breakdown. Money is grouped by currency and EUR is never added to USD."
},
"format": {
"type": "string",
"enum": [
"table",
"json",
"csv"
],
"description": "table (default), json or csv. Every format carries one amount per currency, never a mixed-currency sum."
},
"project": {
"type": "string",
"description": "Optional project filter"
},
"unbilled_only": {
"type": "boolean",
"description": "Default true: hours already put on an invoice (entry_mark_billed) are excluded, so the report answers 'what is still to bill'. Pass false for the full timesheet including invoiced work."
}
},
"required": [
"from",
"to"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪export_csv(from, to, project, path)
Call this tool to export the timesheet to a CSV file (excel-friendly) you can hand to a bookkeeper: one row per entry with hours, billable, rate, currency and amount. Returns the file path written.
輸入結構描述
{
"type": "object",
"properties": {
"from": {
"type": "string",
"description": "ISO date/time lower bound. On the free tier the export is clamped to the last 7 days; Pro exports the full history."
},
"to": {
"type": "string",
"description": "ISO date/time upper bound. On the free tier the export is clamped to the last 7 days; Pro exports the full history."
},
"project": {
"type": "string",
"description": "Optional project filter"
},
"path": {
"type": "string",
"description": "Target file path; a relative path resolves against the working directory. Defaults to a timestamped file in the local data directory, and the full path is returned."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪entry_mark_billed(ids, project, from, to, invoice_number, ...)
Close the loop after an invoice is issued: stamp the tracked hours that went on it with the invoice number, so report and invoice_summary stop offering them and the same hours are never billed twice.
輸入結構描述
{
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Exact entry ids, normally the entry_ids invoice_summary returned. Pass either ids or project plus from and to. Entries already billed are left alone and listed back to you."
},
"project": {
"type": "string",
"description": "Project or client, used with from and to instead of ids; every billable entry in that range is stamped."
},
"from": {
"type": "string",
"description": "ISO date/time start of the billed period, used with project"
},
"to": {
"type": "string",
"description": "ISO date/time end of the billed period, used with project"
},
"invoice_number": {
"type": "string",
"minLength": 1,
"description": "The invoice these hours were put on, e.g. INV-2026-0001"
},
"billed_at": {
"type": "string",
"description": "ISO timestamp of the stamp, defaults to now"
}
},
"required": [
"invoice_number"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢invoice_summary(project, from, to, unbilled_only)
Turn tracked billable time into invoice lines for one project: hours, hourly rate, amount per task and the total, one line per rate so two rates never average. Hours already marked billed are left out. Free: last 7 days.
輸入結構描述
{
"type": "object",
"properties": {
"project": {
"type": "string",
"minLength": 1,
"description": "Project or client to invoice"
},
"from": {
"type": "string",
"description": "ISO date/time start of the billing period. Free covers the last 7 days; Pro invoices any period from the full history."
},
"to": {
"type": "string",
"description": "ISO date/time end of the billing period. Free covers the last 7 days; Pro invoices any period from the full history."
},
"unbilled_only": {
"type": "boolean",
"description": "Default true: hours already put on an invoice (entry_mark_billed) are left out, so the same hours are never billed twice. Pass false to see the whole period including invoiced work."
}
},
"required": [
"project",
"from",
"to"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}社群
證據