mite
v1.0.1mite time tracking: server-side reports, time entries, master data.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
mite_whoami Who am I in mite
Shows the mite account, the user behind the API key and its role, plus the mode and tools this server offers. Call it first to learn what you are allowed to do; for projects use `mite_list_projects`, for customers `mite_list_customers`. Returns account name, title and currency, the user id, name and role, and the server mode with the names of all enabled tools. Takes no input and is available in every mode.
mite_report_projects_by_month Hours and revenue per project and month
Aggregated report from mite: hours and revenue per project and month for a period, grouped on the mite server so whole years work without reading single entries. For other groupings or totals use `mite_report`; for single entries use `mite_list_time_entries`. Returns rows of month (YYYY-MM), project, hours and revenue in currency units plus a total; revenue is null without rates. Read-only, no paging, default period is this year.
| Parameter | Type | Description |
|---|---|---|
billable | boolean | true = only billable entries, false = only non-billable entries. Default: both. |
customer_id | array | Only these customers: list of mite customer ids, e.g. [123, 456]. Default: all customers. |
from | string | Start of the period: a date as YYYY-MM-DD (e.g. 2026-01-01) or a keyword (today, yesterday, this_week, last_week, this_month, last_month, this_year, last_year). A keyword alone selects that whole peri… |
project_id | array | Only these projects: list of mite project ids, e.g. [789]. Default: all projects. |
service_id | array | Only these services: list of mite service ids, e.g. [42]. Default: all services. |
to | string | End of the period: a date as YYYY-MM-DD (e.g. 2026-03-31) or a keyword (today, yesterday, this_week, last_week, this_month, last_month, this_year, last_year). Default: today when only from is a date;… |
user_id | array | Only these users: list of mite user ids, e.g. [7]. Needs an API key that may see other users. Default: all users the key may see. |
mite_report Hours and revenue grouped by up to three levels
Aggregated report from mite: hours, revenue and share of hours, grouped by 1 to 3 of customer, project, service, user, day, week, month, year for a period, on the mite server so whole years work. For the fixed project-by-month view use `mite_report_projects_by_month`, for billable share use `mite_report_billable_ratio`, for budgets use `mite_report_budget`. Returns rows with hours, revenue in currency units (null without rates) and share of hours in percent, plus a total. Read-only, no paging, default period is this year.
| Parameter | Type | Description |
|---|---|---|
group_by * | array | 1 to 3 distinct values from: customer, project, service, user, day, week, month, year, e.g. ["customer", "month"]. Required; the order sets the column order. |
billable | boolean | true = only billable entries, false = only non-billable entries. Default: both. |
customer_id | array | Only these customers: list of mite customer ids, e.g. [123, 456]. Default: all customers. |
from | string | Start of the period: a date as YYYY-MM-DD (e.g. 2026-01-01) or a keyword (today, yesterday, this_week, last_week, this_month, last_month, this_year, last_year). A keyword alone selects that whole peri… |
project_id | array | Only these projects: list of mite project ids, e.g. [789]. Default: all projects. |
service_id | array | Only these services: list of mite service ids, e.g. [42]. Default: all services. |
to | string | End of the period: a date as YYYY-MM-DD (e.g. 2026-03-31) or a keyword (today, yesterday, this_week, last_week, this_month, last_month, this_year, last_year). Default: today when only from is a date;… |
user_id | array | Only these users: list of mite user ids, e.g. [7]. Needs an API key that may see other users. Default: all users the key may see. |
mite_report_budget Project budgets and their consumption
Budget, consumption, remaining budget and percent used per project over the whole project life, not for a period; for hours or revenue in a period use `mite_report`. Minute budgets are in hours, cent budgets in currency units (consumption = revenue); budget, remaining and percent are null for projects without a budget. Without project_id: all active projects with a budget. Read-only, no paging.
| Parameter | Type | Description |
|---|---|---|
project_id | array | Only these projects: list of mite project ids, e.g. [789]. Default: all active projects with a budget. |
mite_report_billable_ratio Billable and non-billable hours with billable share
Billable hours, non-billable hours and the billable share in percent for a period, optionally per customer, project, user, month, aggregated on the mite server. For revenue or other groupings use `mite_report`. Returns hours and a ratio in percent with one decimal, per group and as a total. Read-only, no paging, default period is this year.
| Parameter | Type | Description |
|---|---|---|
from | string | Start of the period: a date as YYYY-MM-DD (e.g. 2026-01-01) or a keyword (today, yesterday, this_week, last_week, this_month, last_month, this_year, last_year). A keyword alone selects that whole peri… |
group_by | string | One of: customer, project, user, month, e.g. "customer". Default: only the total, no rows. |
to | string | End of the period: a date as YYYY-MM-DD (e.g. 2026-03-31) or a keyword (today, yesterday, this_week, last_week, this_month, last_month, this_year, last_year). Default: today when only from is a date;… |
mite_list_time_entries List time entries
Lists single time entries from mite for a period, newest first, optionally filtered by customer, project, service, user, billable or locked. Use it to find individual entries or their ids; for totals use `mite_report`, for one known entry use `mite_get_time_entry`. Each row has hours, revenue in currency units (null if none), the locked flag and the note. Returns at most `limit` entries per page (default 100, max 1000) and `has_more` when further pages exist; the period defaults to this_year.
| Parameter | Type | Description |
|---|---|---|
billable | boolean | true = only billable, false = only non-billable, e.g. true. Default: both. |
customer_id | array | Only these customers: list of customer ids, e.g. [123, 456]. Default: all customers. |
from | string | Start of the period: a date as YYYY-MM-DD (e.g. 2026-01-01) or a keyword (today, yesterday, this_week, last_week, this_month, last_month, this_year, last_year). A keyword alone selects that whole peri… |
limit | integer | Entries per page, 1–1000, e.g. 50. Default: 100. |
locked | boolean | true = only locked, false = only unlocked, e.g. false. Default: both. |
page | integer | Page number, starting at 1, e.g. 2. Default: 1. |
project_id | array | Only these projects: list of project ids, e.g. [789]. Default: all projects. |
service_id | array | Only these services: list of service ids, e.g. [42]. Default: all services. |
to | string | End of the period: a date as YYYY-MM-DD (e.g. 2026-03-31) or a keyword (today, yesterday, this_week, last_week, this_month, last_month, this_year, last_year). Default: today when only from is a date;… |
user_id | array | Only these users: list of user ids, e.g. [7] (needs a key that may see other users). Default: all users the key may see. |
mite_get_time_entry Get one time entry
Fetches one time entry from mite by its id; use it when the id is known, otherwise find entries with `mite_list_time_entries`. Returns date, hours, revenue in currency units (null if none), billable and locked flags, customer, project, service, user and note. Fails with "not found" if no time entry has this id.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Id of the time entry, e.g. 1234567. Required. |
mite_tracker_status Tracker status
Tells whether the mite time tracker is currently running for the key's user and, if so, on which time entry. Returns `running` and, when it runs, `time_entry_id`, the start time `since` and `minutes`, the entry's total so far in minutes. Read-only and takes no input; to look at that entry in full use `mite_get_time_entry`.
mite_list_customers List customers
Lists customers from mite, active ones or with `archived: true` the archived ones; use it to look up customer ids for filters such as `customer_id` in `mite_list_time_entries`. Returns id, name, archived flag and note per customer. The whole list is returned at once without paging.
| Parameter | Type | Description |
|---|---|---|
archived | boolean | true = list archived entries instead of the active ones, e.g. true. Default: false. |
mite_list_projects List projects
Lists projects from mite, active ones or with `archived: true` the archived ones; use it to look up project ids for filters such as `project_id` in `mite_list_time_entries`, for budget usage use `mite_report_budget`. Returns id, name, customer, archived flag, note, `budget` and `budget_type`; `budget` is in the unit given by `budget_type` (minutes or cents), not hours or currency units. The whole list is returned at once without paging.
| Parameter | Type | Description |
|---|---|---|
archived | boolean | true = list archived entries instead of the active ones, e.g. true. Default: false. |
mite_list_services List services
Lists services (activity types) from mite, active ones or with `archived: true` the archived ones; use it to look up service ids for filters such as `service_id` in `mite_list_time_entries`. Returns id, name, billable flag, archived flag and note per service. The whole list is returned at once without paging.
| Parameter | Type | Description |
|---|---|---|
archived | boolean | true = list archived entries instead of the active ones, e.g. true. Default: false. |
mite_list_users List users
Lists users from mite, active ones or with `archived: true` the archived ones; use it to look up user ids for `user_id` in `mite_list_time_entries`, and `mite_whoami` for the current user. Returns id, name, role and archived flag per user; email addresses and hourly rates are not returned. The whole list is returned at once without paging.
| Parameter | Type | Description |
|---|---|---|
archived | boolean | true = list archived entries instead of the active ones, e.g. true. Default: false. |