Harvest MCP by usefulapi

v1.41.1
io.usefulapi/harvest Checked 2 days ago Published 1 day ago

Read time entries, projects, clients, tasks and invoices; log and update tracked time.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

harvest_list_time_entries List time entries

List time entries, optionally filtered by user, project, client, task, date range, running/billed status, or updated-since. Paginated. Harvest REST: GET /time_entries.

ParameterTypeDescription
client_idintegerFilter to a single client id.
fromstringOnly entries on/after this date, yyyy-mm-dd.
is_billedbooleanOnly billed (true) or unbilled (false) entries.
is_runningbooleanOnly running (true) or only stopped (false) entries.
pageintegerPage number (1-based) for pagination.
per_pageintegerResults per page (1–2000, Harvest default 2000).
project_idintegerFilter to a single project id.
task_idintegerFilter to a single task id.
tostringOnly entries on/before this date, yyyy-mm-dd.
updated_sincestringOnly entries updated since this ISO-8601 datetime.
user_idintegerFilter to a single user id.

harvest_get_time_entry Get time entry

Retrieve a single time entry by id. Harvest REST: GET /time_entries/{id}.

ParameterTypeDescription
time_entry_id *integerThe time entry id (required).

harvest_list_projects List projects

List projects, optionally filtered by active status or client, or updated-since. Paginated. Harvest REST: GET /projects.

ParameterTypeDescription
client_idintegerFilter to a single client id.
is_activebooleanOnly active (true) or archived (false) projects.
pageintegerPage number (1-based) for pagination.
per_pageintegerResults per page (1–2000, Harvest default 2000).
updated_sincestringOnly projects updated since this ISO-8601 datetime.

harvest_get_project Get project

Retrieve a single project by id. Harvest REST: GET /projects/{id}.

ParameterTypeDescription
project_id *integerThe project id (required).

harvest_list_clients List clients

List clients, optionally filtered by active status or updated-since. Paginated. Harvest REST: GET /clients.

ParameterTypeDescription
is_activebooleanOnly active (true) or archived (false) clients.
pageintegerPage number (1-based) for pagination.
per_pageintegerResults per page (1–2000, Harvest default 2000).
updated_sincestringOnly clients updated since this ISO-8601 datetime.

harvest_get_client Get client

Retrieve a single client by id. Harvest REST: GET /clients/{id}.

ParameterTypeDescription
client_id *integerThe client id (required).

harvest_list_tasks List tasks

List tasks (the billable/non-billable work categories that can be assigned to projects), optionally filtered by active status or updated-since. Paginated. Harvest REST: GET /tasks.

ParameterTypeDescription
is_activebooleanOnly active (true) or archived (false) tasks.
pageintegerPage number (1-based) for pagination.
per_pageintegerResults per page (1–2000, Harvest default 2000).
updated_sincestringOnly tasks updated since this ISO-8601 datetime.

harvest_list_users List users

List users in the account, optionally filtered by active status or updated-since. Paginated. Harvest REST: GET /users.

ParameterTypeDescription
is_activebooleanOnly active (true) or archived (false) users.
pageintegerPage number (1-based) for pagination.
per_pageintegerResults per page (1–2000, Harvest default 2000).
updated_sincestringOnly users updated since this ISO-8601 datetime.

harvest_get_current_user Get current user

Retrieve the currently authenticated user (whom the access token belongs to). Harvest REST: GET /users/me.

harvest_list_project_assignments List my project assignments

List the authenticated user's active project assignments — the projects and their assignable tasks the current user can log time against (use this to find the project_id + task_id for harvest_create_time_entry). Paginated. Harvest REST: GET /users/me/project_assignments.

ParameterTypeDescription
pageintegerPage number (1-based) for pagination.
per_pageintegerResults per page (1–2000, Harvest default 2000).

harvest_list_invoices List invoices

List invoices, optionally filtered by client, project, state, date range, or updated-since. Paginated. Harvest REST: GET /invoices.

ParameterTypeDescription
client_idintegerFilter to a single client id.
fromstringOnly invoices issued on/after this date, yyyy-mm-dd.
pageintegerPage number (1-based) for pagination.
per_pageintegerResults per page (1–2000, Harvest default 2000).
project_idintegerFilter to a single project id.
statestringFilter by invoice state: draft, open, paid or closed.
tostringOnly invoices issued on/before this date, yyyy-mm-dd.
updated_sincestringOnly invoices updated since this ISO-8601 datetime.

harvest_get_invoice Get invoice

Retrieve a single invoice by id, including its line items. Harvest REST: GET /invoices/{id}.

ParameterTypeDescription
invoice_id *integerThe invoice id (required).

harvest_list_estimates List estimates

List estimates, optionally filtered by client, state, date range, or updated-since. Paginated. Harvest REST: GET /estimates.

ParameterTypeDescription
client_idintegerFilter to a single client id.
fromstringOnly estimates issued on/after this date, yyyy-mm-dd.
pageintegerPage number (1-based) for pagination.
per_pageintegerResults per page (1–2000, Harvest default 2000).
statestringFilter by estimate state: draft, sent, accepted or declined.
tostringOnly estimates issued on/before this date, yyyy-mm-dd.
updated_sincestringOnly estimates updated since this ISO-8601 datetime.

harvest_list_expenses List expenses

List expenses, optionally filtered by user, client, project, date range, billed status, or updated-since. Paginated. Harvest REST: GET /expenses.

ParameterTypeDescription
client_idintegerFilter to a single client id.
fromstringOnly expenses on/after this date, yyyy-mm-dd.
is_billedbooleanOnly billed (true) or unbilled (false) expenses.
pageintegerPage number (1-based) for pagination.
per_pageintegerResults per page (1–2000, Harvest default 2000).
project_idintegerFilter to a single project id.
tostringOnly expenses on/before this date, yyyy-mm-dd.
updated_sincestringOnly expenses updated since this ISO-8601 datetime.
user_idintegerFilter to a single user id.

harvest_get_company Get company

Retrieve the company/account settings for the authenticated account (name, currency, time/date formats, week start, feature flags). Harvest REST: GET /company.

harvest_create_time_entry Create time entry

Create a time entry. Requires project_id, task_id and spent_date. Provide `hours` to log a specific duration; OR provide `started_time` (+ optional `ended_time`) for a timestamped entry; OR omit both to start a running timer (on a timestamp-tracking account). Use harvest_list_project_assignments to find valid project_id + task_id. Harvest REST: POST /time_entries. WRITE — creates data.

ParameterTypeDescription
project_id *integerThe project id to log time against (required).
spent_date *stringThe date the time was spent, yyyy-mm-dd (required).
task_id *integerThe task id within the project (required).
ended_timestringEnd time for a timestamped entry, e.g. '9:30am'.
hoursnumberDuration in decimal hours, e.g. 1.5. Omit to start a running timer.
notesstringNotes for the time entry.
started_timestringStart time for a timestamped entry, e.g. '8:00am'.
user_idintegerLog on behalf of another user (defaults to the authenticated user; requires permission).

harvest_update_time_entry Update time entry

Update an existing time entry's hours, notes, spent date, or project/task. Only the fields you provide are changed. Harvest REST: PATCH /time_entries/{id}. WRITE — modifies data.

ParameterTypeDescription
time_entry_id *integerThe time entry id to update (required).
ended_timestringChange the end time, e.g. '9:30am'.
hoursnumberChange the duration in decimal hours, e.g. 2.25.
notesstringChange the notes.
project_idintegerReassign to a different project id.
spent_datestringChange the date, yyyy-mm-dd.
started_timestringChange the start time, e.g. '8:00am'.
task_idintegerReassign to a different task id.

harvest_stop_time_entry Stop running time entry

Stop a currently running time entry (no-op error if it is already stopped). Harvest REST: PATCH /time_entries/{id}/stop. WRITE — modifies data.

ParameterTypeDescription
time_entry_id *integerThe running time entry id to stop (required).

harvest_restart_time_entry Restart stopped time entry

Restart a previously stopped time entry, resuming its timer (error if it is already running). Harvest REST: PATCH /time_entries/{id}/restart. WRITE — modifies data.

ParameterTypeDescription
time_entry_id *integerThe stopped time entry id to restart (required).

harvest_delete_time_entry Delete time entry

Permanently delete a time entry by id. This cannot be undone. Harvest REST: DELETE /time_entries/{id}. WRITE — destroys data.

ParameterTypeDescription
time_entry_id *integerThe time entry id to delete (required).