Clockify Time Tracking
This server provides a Model Context Protocol (MCP) interface to the Clockify time-tracking API, giving AI assistants access to 48 read-only tools (plus 64 opt-in write tools) across 18 domains:
Workspaces & Users: Get current user, list/get workspaces, list/filter users, get member profiles, find team managers, list user groups.
Clients: List, get, create, update, delete clients.
Projects: List (filter by name, client, billable status, archived state), get, create, update, delete.
Tasks: List (with filters), get, create, update, delete.
Tags: List (with filters), get, create, update, delete.
Time Entries: List (filter by date range, project, task, tags, description), get, create, update, delete, duplicate, bulk update, create for other users, stop running timers.
Reports: Generate detailed, summary, weekly, attendance, and expense reports; export as PDF, CSV, or XLSX.
Shared Reports: List, get, create, update, delete; supports date/sort overrides and export formats.
Time Off (paid): List/get policies, view balances by policy or user, list/filter/create/approve/reject/withdraw requests.
Holidays (paid): List by user or date range; create, update, delete.
Expenses (paid): List/get expenses and categories, download receipts; create/update/delete expenses and categories.
Approvals (paid): List/filter requests; submit, resubmit, update.
Custom Fields (paid): List workspace/project fields; create, update, delete, assign, or remove.
Scheduling (paid): List assignments, get project/user totals; create, update, delete, publish, copy assignments.
Invoices (paid): List, get, create, update, duplicate, delete invoices and items; manage payments and status.
Webhooks (paid): List, get, create, update, delete webhooks; view delivery logs; generate tokens.
Write operations are disabled by default. Set CLOCKIFY_ACCESS_MODE=full to enable all writes, or time-tracking for time-entry writes only. Advanced domains (time off, holidays, expenses, approvals, custom fields, scheduling, invoices, webhooks) require paid Clockify plans.
Provides tools to interact with the Clockify time-tracking API, enabling management of workspaces, users, clients, projects, tasks, time entries, reports, time off, holidays, expenses, approvals, custom fields, scheduling, invoices, and webhooks.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Clockify Time Tracking list my time entries from yesterday"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
clockify-mcp
A Model Context Protocol server for the Clockify time-tracking API.
Give your AI assistant access to your Clockify data — query workspaces, projects, and time entries, generate reports, log hours, and manage clients, invoices, and more — all through natural language.
112 tools across 18 domains. Read-only by default, with optional write operations behind explicit opt-in.
Install in one click
The easiest way to use this server with Claude Desktop (and other MCPB-compatible clients) is the prebuilt bundle:
➡️ Download clockify-mcp.mcpb — then double-click it. Claude Desktop opens the installer, prompts for your Clockify API key, and you're done. No Python, no npx/uvx, no config files.
The .mcpb is attached to every GitHub Release and mirrored on Smithery. Prefer a package manager or container? See Quick start below.
Related MCP server: @lewinnovation/clockify-mcp-server
What can it do?
48 read-only tools are available today (Phase 0–8b — 18 domains). 64 write tools (create/update/delete across clients, projects, tasks, tags, time entries, holidays, expenses, and expense categories, plus time-off policy/request management, approval submit/resubmit/update, custom-field create/update/delete and project assignment, scheduling assignment management, invoice and payment management, shared-report management, and webhook create/update/delete/token) register when you set CLOCKIFY_ACCESS_MODE=full (or the back-compat CLOCKIFY_ENABLE_WRITES=true). A middle time-tracking mode exposes only the time-entry writes for logging hours — see Access modes.
Domain | Tools | Tool names |
Workspaces | 3 |
|
Users | 3 |
|
Groups | 1 |
|
Clients | 2 |
|
Projects | 2 |
|
Tasks | 2 |
|
Tags | 2 |
|
Time entries | 2 |
|
Reports | 6 |
|
Shared reports | 2 |
|
Time off† | 5 |
|
Holidays† | 2 |
|
Expenses† | 4 |
|
Approvals† | 1 |
|
Custom fields† | 2 |
|
Scheduling† | 3 |
|
Invoices† | 3 |
|
Webhooks† | 3 |
|
† Time off, Holidays, Expenses, Approvals, Custom fields, Scheduling, Invoices, and Webhooks are paid Clockify features — these tools error (HTTP 402/403/404) on plans without them.
‡ generate_attendance_report and generate_expense_report (and export_report for those two types) need the workspace's attendance/Expenses add-ons; the time-based reports (detailed/summary/weekly) and shared reports work on the free plan.
Write tools (opt-in — set CLOCKIFY_ACCESS_MODE=full):
Domain | Tools | Tool names |
Clients | 3 |
|
Projects | 3 |
|
Tasks | 3 |
|
Tags | 3 |
|
Time entries | 7 |
|
Shared reports | 3 |
|
Time off† | 5 |
|
Holidays† | 3 |
|
Expenses† | 7 |
|
Approvals† | 4 |
|
Custom fields† | 5 |
|
Scheduling† | 5 |
|
Invoices† | 9 |
|
Webhooks† | 4 |
|
† Time off, Holidays, Expenses, Approvals, Custom fields, Scheduling, Invoices, and Webhooks are paid Clockify features — these tools error (HTTP 402/403/404) on plans without them.
create_expense and update_expense accept an optional local receipt file, uploaded via multipart.
Quick start
1. Install
pip install clockify-mcpOr run without installing (requires uv):
uvx clockify-mcpOr use the container image (published to GHCR on every release):
docker run --rm -i -e CLOCKIFY_API_KEY=your-key ghcr.io/tracegazer/clockify-mcp:latest2. Connect to Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"clockify": {
"command": "uvx",
"args": ["clockify-mcp"],
"env": {
"CLOCKIFY_API_KEY": "your-api-key"
}
}
}
}Restart Claude Desktop. Ask: "What workspaces do I have in Clockify?"
{
"mcpServers": {
"clockify": {
"command": "clockify-mcp",
"env": {
"CLOCKIFY_API_KEY": "your-api-key"
}
}
}
}By default the server is read-only. Opt into writes with CLOCKIFY_ACCESS_MODE:
Mode | Reads | Writes |
| everything | nothing |
| everything | time-entry writes only (log & edit hours) |
| everything | all write tools (clients, projects, invoices, …) |
{
"mcpServers": {
"clockify": {
"command": "uvx",
"args": ["clockify-mcp"],
"env": {
"CLOCKIFY_API_KEY": "your-api-key",
"CLOCKIFY_ACCESS_MODE": "full"
}
}
}
}Compatibility: the legacy
CLOCKIFY_ENABLE_WRITES=truestill works and maps tofull. If both are set,CLOCKIFY_ACCESS_MODEwins. Intime-trackingmode,duplicate/bulkalways act on the authenticated user; forupdate/deleteby id the assistant is told to confirm before touching an entry that may belong to someone else.
Warning: write mode lets the connected agent create, modify, and delete real data through your Clockify credential.
delete_*tools andwithdraw_time_off_requestare irreversible.
3. Get your API key
Log into Clockify → Profile Settings → API → copy your API key.
Configuration
Configuration resolves in this order (highest priority first):
Environment variables (always win)
TOML config at
~/.config/clockify-mcp/config.toml
Env var | TOML key | Description |
|
| Your Clockify API key (required) |
|
|
|
|
| Override for subdomain workspaces, e.g. |
|
| Fallback workspace when a tool call omits |
|
|
|
|
| Back-compat alias: |
|
| Enable OpenTelemetry — default |
|
| Span detail: |
Access modes: read exposes only read tools. time-tracking adds the time-entry write tools (create/update/delete/duplicate/bulk) for logging hours and nothing else — duplicate/bulk always act on the authenticated user, and for update/delete by id the assistant is told to confirm before touching an entry that may belong to someone else. full exposes all write tools. This gates which MCP tools the server registers; it is not a replacement for the API key's own permissions.
See config.toml.example for a copy-paste template.
# ~/.config/clockify-mcp/config.toml
api_key = "your-clockify-api-key"
# region = "global"
# default_workspace_id = ""
# access_mode = "read" # read | time-tracking | fullTip: create the config directory first:
mkdir -p ~/.config/clockify-mcp
Running the server
clockify-mcp # STDIO transport (default)
clockify-mcp --transport sse # SSE/HTTP transportSecurity note: STDIO (the default) keeps everything local. The
sseandstreamable-httptransports have no built-in authentication — only use them bound to loopback or behind an authenticated reverse proxy.
Notes
Workspace scope: Almost every Clockify operation is scoped to a workspace (
/workspaces/{workspaceId}/...). Tools accept an optionalworkspace_id; when omitted they fall back toCLOCKIFY_DEFAULT_WORKSPACE_ID. If neither is set, the tool asks you to resolve one first vialist_workspaces.Pagination: list tools take optional
page/page_sizeand return one page. The high-volume lists (list_time_entries,list_projects,list_clients,list_tasks,list_tags,list_users) also acceptfetch_all=trueto follow pagination and return every page concatenated (may make several API calls).Errors: failures carry a category —
PLAN_REQUIRED,ACCESS_DENIED, orAUTH— so the assistant knows whether to ask you to upgrade the plan, enable a module, or fix the key. See Paid features.
Paid features & enabling them in Clockify
Many domains are gated by two independent things — both must be true for the tools to work:
1. The workspace plan must include the feature. Otherwise the API returns 402 (or a "subscription" message) and the server raises ClockifyAPIError with category PLAN_REQUIRED.
Feature | Minimum plan |
Reports (detailed/summary/weekly), Shared reports | Free |
Webhooks | Free (up to 3) — paid for more |
Time off, Holidays, Invoices, Approvals | Standard |
Expenses (incl. expense report), Custom fields, Scheduling | Pro |
Attendance report | Pro (attendance/time-tracking add-on) |
2. The module must be enabled in the workspace. Even on the right plan, an admin must turn these on in Clockify → Workspace Settings: Time off, Expenses, Approval, Invoicing, Scheduling. Until enabled, the API returns 403 "Access Denied" and the server raises ClockifyAPIError with category ACCESS_DENIED. (Custom fields, webhooks, and reports need no separate toggle.)
When an operation fails, the error category says what to do:
PLAN_REQUIRED— upgrade the workspace plan (Standard/Pro).ACCESS_DENIED— enable the feature in Workspace Settings, or check the API key user's role/permission.AUTH— the API key is missing, invalid, or revoked.
Observability (optional)
The server can emit OpenTelemetry traces, metrics, and logs — completely opt-in and vendor-neutral. Export to any OTLP-compatible backend (Dynatrace, Grafana, Datadog, Jaeger, etc.). When disabled, opentelemetry is never imported.
pip install "clockify-mcp[telemetry]"
export CLOCKIFY_TELEMETRY=1OTLP endpoint and headers are configured via standard OpenTelemetry env vars (not in the TOML file). CLOCKIFY_TELEMETRY_DETAIL controls how much argument/payload data is attached (metadata default → ids → full); the API key is always redacted.
export OTEL_EXPORTER_OTLP_ENDPOINT="https://<your-env>.live.dynatrace.com/api/v2/otlp"
export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Api-Token <YOUR_DT_TOKEN>"
export OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=delta
export OTEL_SERVICE_NAME=clockify-mcpToken scopes needed: openTelemetryTrace.ingest, metrics.ingest, logs.ingest. Dynatrace's OTLP metrics ingest requires delta temporality — without that env var, metric export fails with 400 Bad Request.
export OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:4318"
export OTEL_SERVICE_NAME=clockify-mcpSignals emitted:
Traces — a span per MCP tool call (
execute_tool <name>) and per Clockify API requestMetrics —
mcp.tool.duration,mcp.tool.errors, and Clockify client request durationsLogs — tool errors and unexpected API response shapes, correlated to traces (OTLP only, never stdout)
Development
git clone https://github.com/tracegazer/clockify-mcp
cd clockify-mcp
uv sync --extra dev
CLOCKIFY_API_KEY=dummy uv run clockify-mcp --help
uv run pytest -q
uv run ruff check src/ tests/License
Available Tools
48 toolsdownload_expense_receiptB
Download an expense's receipt file to a local path.
Inputs: expense_id (required), file_id (required), save_path (required), workspace_id.
export_reportC
Export a report as a file (PDF/CSV/XLSX). report_type is detailed/summary/ weekly/attendance/expenses; fmt is PDF/CSV/XLSX; bytes are written to save_path.
Inputs: report_type (required), fmt (required), save_path (required), date_range_start (required), +2 more.
find_user_team_managerC
Find a user's team manager(s).
Inputs: user_id (required), workspace_id.
generate_attendance_reportB
Generate an attendance report (per user/day: work, break, capacity, overtime, time off) for a date range. Requires the attendance/time-tracking add-on.
Inputs: date_range_start (required), date_range_end (required), workspace_id, page, +3 more.
generate_detailed_reportC
Generate a detailed report (one row per time entry) for a date range.
Inputs: date_range_start (required), date_range_end (required), workspace_id, page, +2 more.
generate_expense_reportA
Generate a detailed expense report ({"expenses": [...], "totals": {...}}) for a date range. Requires the Expenses add-on.
Inputs: date_range_start (required), date_range_end (required), workspace_id, page, +3 more.
generate_summary_reportB
Generate a summary report (totals grouped by one or more keys) for a date range.
Inputs: date_range_start (required), date_range_end (required), workspace_id, groups, +1 more.
generate_weekly_reportC
Generate a weekly report for a date range.
Inputs: date_range_start (required), date_range_end (required), workspace_id, group, +1 more.
get_clientB
Get a single client by id.
Inputs: client_id (required), workspace_id.
get_current_userA
Get the currently logged-in user's info (id, email, default workspace).
Inputs: no named parameters.
get_expenseB
Get a single expense by id.
Inputs: expense_id (required), workspace_id.
get_invoiceC
Get a single invoice by id.
Inputs: invoice_id (required), workspace_id.
get_invoice_paymentsB
List an invoice's payments (paginated).
Inputs: invoice_id (required), workspace_id, page, page_size.
get_projectC
Get a single project by id.
Inputs: project_id (required), workspace_id, hydrated.
get_project_scheduling_totalsB
Get scheduled-assignment totals per project (POST filter body).
start/end required. status_filter is PUBLISHED/UNPUBLISHED/ALL.
Inputs: start (required), end (required), workspace_id, search, +3 more.
get_tagC
Get a single tag by id.
Inputs: tag_id (required), workspace_id.
get_taskB
Get a single task by id (within its project).
Inputs: project_id (required), task_id (required), workspace_id.
get_time_entryC
Get a single time entry by id.
Inputs: time_entry_id (required), workspace_id, hydrated.
get_time_off_policyB
Get a single time-off policy by id.
Inputs: policy_id (required), workspace_id.
get_user_member_profileC
Get a member's profile within the workspace.
Inputs: user_id (required), workspace_id.
get_user_scheduling_totalsC
Get users' scheduling capacity totals (POST filter body).
start/end required. status_filter is PUBLISHED/UNPUBLISHED/ALL.
Inputs: start (required), end (required), workspace_id, search, +3 more.
get_webhookB
Get a single webhook by id.
Inputs: webhook_id (required), workspace_id.
get_webhook_logsB
Get a webhook's delivery logs (POST filter body; page/size are query params).
from_/to are ISO-8601. status filters by ALL/SUCCEEDED/FAILED.
Inputs: webhook_id (required), workspace_id, from_, to, +4 more.
get_workspaceA
Get info for one workspace (defaults to the configured workspace).
Inputs: workspace_id.
list_approval_requestsC
List approval requests (paginated).
Inputs: workspace_id, status, sort_column, sort_order, +2 more.
list_clientsA
List clients on the workspace, optionally filtered by name (paginated). fetch_all=True follows pagination and returns every page concatenated.
Inputs: workspace_id, name, archived, sort_column, +4 more.
list_expense_categoriesC
List expense categories (paginated).
Inputs: workspace_id, name, archived, sort_column, +3 more.
list_expensesB
List expenses on the workspace (paginated), optionally for one user.
Inputs: workspace_id, user_id, page, page_size.
list_holidaysC
List holidays on the workspace, optionally filtered to a user.
Inputs: workspace_id, assigned_to.
list_holidays_in_periodC
List holidays overlapping a date range for a user.
Inputs: assigned_to (required), start (required), end (required), workspace_id.
list_invoicesC
List invoices (paginated).
Inputs: workspace_id, statuses, sort_column, sort_order, +2 more.
list_project_custom_fieldsC
List a project's custom fields (status INACTIVE/VISIBLE/INVISIBLE).
Inputs: project_id (required), workspace_id, status, entity_type.
list_projectsC
List projects on the workspace with optional filters (paginated). fetch_all=True follows pagination and returns every page concatenated.
Inputs: workspace_id, name, strict_name_search, archived, +10 more.
list_scheduled_assignmentsC
List scheduled assignments in a date range (start/end ISO-8601, required).
sort_column is PROJECT/USER/ID; sort_order is ASCENDING/DESCENDING.
Inputs: start (required), end (required), workspace_id, name, +4 more.
list_tagsA
List tags on the workspace, optionally filtered by name (paginated). fetch_all=True follows pagination and returns every page concatenated.
Inputs: workspace_id, name, strict_name_search, archived, +6 more.
list_tasksA
List tasks on a project, optionally filtered by name/active state (paginated). fetch_all=True follows pagination and returns every page concatenated.
Inputs: project_id (required), workspace_id, name, strict_name_search, +6 more.
list_time_entriesB
List a user's time entries on the workspace (paginated). fetch_all=True follows pagination and returns every page concatenated.
Inputs: user_id (required), workspace_id, description, start, +12 more.
list_time_off_balances_by_policyC
List per-user time-off balances for a policy (paginated).
Inputs: policy_id (required), workspace_id, sort, sort_order, +2 more.
list_time_off_balances_by_userB
List a user's time-off balances across policies (paginated).
Inputs: user_id (required), workspace_id, sort, sort_order, +2 more.
list_time_off_policiesB
List time-off policies on the workspace (paginated).
Inputs: workspace_id, name, status, sort_column, +3 more.
list_time_off_requestsC
List/filter time-off requests (filter sent as a POST body).
Inputs: workspace_id, start, end, statuses, +4 more.
list_user_groupsB
List user groups on the workspace, optionally filtered by name (paginated).
Inputs: workspace_id, name, page, page_size.
list_usersA
List workspace users, optionally filtered by name/email/status (paginated). fetch_all=True follows pagination and returns every page concatenated.
Inputs: workspace_id, name, email, status, +3 more.
list_webhooksC
List webhooks. type filters by USER_CREATED, SYSTEM, or ADDON.
Inputs: workspace_id, type.
list_workspace_custom_fieldsB
List workspace custom fields (status INACTIVE/VISIBLE/INVISIBLE).
Inputs: workspace_id, name, status, entity_type.
list_workspacesA
List all workspaces the authenticated user belongs to.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 48 tools
Most tools map cleanly to a specific resource and action (list/get per entity), so an agent can usually tell them apart. A few borderline overlaps exist, such as list_holidays vs list_holidays_in_period and list_time_entries vs generate_detailed_report, but the descriptions clarify the intended use.
The dominant list_* and get_* pattern is clear and predictable, with generate_*_report used consistently for report generation. Minor deviations like find_user_team_manager, download_expense_receipt, and generic export_report keep it from being perfectly consistent.
48 tools is far beyond the typical well-scoped MCP surface, and many cover peripheral resources like webhook logs, invoice payments, and scheduled assignments. The breadth makes tool selection heavier for an agent than the core time-tracking purpose seems to justify.
The tool set is almost entirely read-only: it provides list/get and report generation but no create, update, delete, or timer-control operations. For a server named 'Clockify Time Tracking', the absence of any way to actually start, stop, or modify time entries is a severe gap.
Maintenance
Related MCP Connectors
Track time in Clockify: time entries, projects, clients, tags and reports; start, stop and log time.
Manage Timequip projects, tasks, comments, members, and dashboards through MCP.
Read your tracked time and projects, pause tracking or add a note, from Claude or ChatGPT.
Connects AI assistants to TrackingTime for querying time entries, projects, tasks, customers, and team data using natural language.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables time tracking and project management through the Clockify API. Supports starting/stopping timers, logging time entries, managing projects and tasks, and generating reports with natural language commands.2123 npmMIT
- AlicenseBqualityDmaintenanceMCP server that enables AI agents to interact with Clockify time tracking via curated workflows and a generic API tool for managing workspaces, projects, tasks, and time entries.910 npmMIT
- AlicenseAqualityDmaintenanceEnables time tracking and management in Clockify through natural language commands. Supports creating time entries, managing projects, clients, and tags.13MIT
- AlicenseNot gradedqualityDmaintenanceEnables personal Clockify time tracking through ChatGPT and other MCP clients, allowing users to manage timers, entries, and reports via natural language.1MIT