
Clockify Time Tracking
io.github.tracegazerPublished by GitHub account tracegazerv0.3.2Updated Oct 24, 2026
Clockify time-tracking MCP: 112 tools across 18 domains, read-only by default with opt-in writes.
Overview
A local MCP server for the Clockify time-tracking API that lets an assistant query workspaces, projects, time entries and reports, and optionally log or edit a
- What you can do
- Look up workspaces, users, groups, clients, projects, tasks and tags, and read individual records by id. Read time entries and generate detailed, summary, weekly, attendance and expense reports, plus export reports to PDF, CSV or XLSX files. Read shared reports, time-off policies, balances and requests, holidays, expenses and receipts, approvals, custom fields, scheduling totals, invoices, payments and webhooks. With writes enabled, create, update and delete clients, projects, tasks, tags, time entries, holidays, expenses, custom fields, scheduling assignments, invoices and webhooks, and manage time-off and approval requests.
- When to use it
- Useful when you want an assistant to answer questions about Clockify hours, projects and reports in natural language, or to log and correct time entries without opening the Clockify UI. Read-only mode is enough for reporting and lookup; enable writes only if you want the assistant to change data.
- Requirements
- Runs locally as a stdio process, installed from PyPI (pip or uvx) or as a container image; a one-click desktop bundle is also offered. Requires a Clockify API key in CLOCKIFY_API_KEY, taken from Profile Settings, API. Optional settings include CLOCKIFY_ACCESS_MODE, CLOCKIFY_DEFAULT_WORKSPACE_ID, CLOCKIFY_REGION and CLOCKIFY_BASE_URL. Network access to the Clockify API is needed.
Installation
In SourceWeft
- Open Clockify Time Tracking in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
clockify-mcp
[CI] [PyPI] [Python] [License: MIT] [MCP Registry] [Smithery]
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.
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.
† 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):
† 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
Or run without installing (requires uv):
Or use the container image (published to GHCR on every release):
2. Connect to Claude Desktop
Add this to your claude_desktop_config.json:
Restart Claude Desktop. Ask: "What workspaces do I have in Clockify?"
Using pip install instead of uvx
Enabling write operations
By default the server is read-only. Opt into writes with CLOCKIFY_ACCESS_MODE:
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
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.
Tip: create the config directory first:
mkdir -p ~/.config/clockify-mcp
Running the server
Security 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.
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.
OTLP 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.
Dynatrace setup
Token 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.
Generic OTLP collector
Signals emitted:
- Traces — a span per MCP tool call (
execute_tool <name>) and per Clockify API request - Metrics —
mcp.tool.duration,mcp.tool.errors, and Clockify client request durations - Logs — tool errors and unexpected API response shapes, correlated to traces (OTLP only, never stdout)
Development
License
Source: README.md at commit 21b09b0
Tools
0Version history
1- v0.3.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts