Memungkinkan AI client untuk mengelola time entries, projects, tasks, tags, dan clients di Clockify menggunakan bahasa natural.
Juga dikenal sebagai themkn/clockify-mcp, @themkn/clockify-mcp
- Stars
- 1
- Tools
- —
- Unduhan, 30 hari
- —
- Versi terbaru
- —
- Commit terakhir
- 13 Nov 2026
- Lisensi
- MIT
Apa itu Clockify MCP?
Clockify adalah MCP server. Memungkinkan AI client untuk mengelola time entries, projects, tasks, tags, dan clients di Clockify menggunakan bahasa natural.
Ringkasan dibuat dari README proyek
Tentang Clockify MCP server
Mengelola time tracking melalui terminal kini memungkinkan dengan MCP server ini, yang menghubungkan Claude Code ke akun Clockify Anda. Freelancer dan tim dapat menggunakan bahasa natural untuk mengontrol workflow mereka tanpa harus meninggalkan lingkungan pengembangan. Server ini memungkinkan Anda untuk memulai dan menghentikan timer, mencatat jam kerja spesifik untuk project, serta mengelola seluruh katalog client, task, dan tag Anda.
Untuk menggunakan server ini, Anda harus menyediakan personal API key dan workspace ID di dalam file konfigurasi JSON lokal. Server ini memerlukan Node.js versi 24 atau lebih tinggi untuk dijalankan. Setelah dikonfigurasi, AI client akan menggunakan tool spesifik seperti start_timer, create_time_entry, dan list_projects untuk mengeksekusi permintaan Anda. Server ini menangani kerumitan dalam mencari ID yang tepat untuk project atau client Anda, sehingga Anda cukup mendeskripsikan pekerjaan Anda dalam bahasa sehari-hari.
Apa yang bisa Anda lakukan dengannya
- 1Kontrol timer yang aktifAnda dapat memerintahkan AI client untuk memulai atau mengakhiri sesi kerja yang menggunakan timer dengan perintah sederhana.
- 2Catat jam kerja historisMinta AI untuk mencatat jumlah waktu tertentu yang dihabiskan pada sebuah project di tanggal sebelumnya.
- 3Organisir metadata projectGunakan bahasa natural untuk membuat project baru atau memberikan tag pada time entries yang sudah ada.
- 4Audit aktivitas terbaruMinta ringkasan dari jam kerja yang telah dicatat atau daftar entries dari hari tertentu.
Ditulis berdasarkan README proyek. Setiap use case diperiksa terhadap kutipan dari README tersebut.
Cara menginstal Clockify MCP
Format diverifikasi 10 Nov 2026Tambahkan ke CursorTambahkan ke GooseInstal Clockify MCP di Claude Code
$ claude mcp add clockify-mcp -- npx -y @themkn/clockify-mcpInstal Clockify MCP di Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"clockify-mcp": {
"command": "npx",
"args": [
"-y",
"@themkn/clockify-mcp"
]
}
}
}Instal Clockify MCP di VS Code
.vscode/mcp.json
{
"servers": {
"clockify-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@themkn/clockify-mcp"
]
}
}
}Instal Clockify MCP di VS Code CLI
$ code --add-mcp '{"name":"clockify-mcp","type":"stdio","command":"npx","args":["-y","@themkn/clockify-mcp"]}'Instal Clockify MCP di Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"clockify-mcp": {
"command": "npx",
"args": [
"-y",
"@themkn/clockify-mcp"
]
}
}
}Instal Clockify MCP di Codex
$ codex mcp add clockify-mcp -- npx -y @themkn/clockify-mcpInstal Clockify MCP di Codex config.toml
~/.codex/config.toml
[mcp_servers.clockify-mcp] command = "npx" args = ["-y", "@themkn/clockify-mcp"]
Instal Clockify MCP di Gemini CLI
$ gemini mcp add -s user clockify-mcp npx -- -y @themkn/clockify-mcpInstal Clockify MCP di Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"clockify-mcp": {
"command": "npx",
"args": [
"-y",
"@themkn/clockify-mcp"
]
}
}
}Pengecekan otomatis
Berjalan 14 Nov 2026Laporan lengkap →Lolos checks otomatis kami. Ini bukan audit keamanan: baca kodenya dan berikan server akses paling terbatas yang dibutuhkannya. Cara kerja checks
- Source repository terhubung dan dapat dijangkauthemkn/clockify-mcp is public and reachablegithub.com/themkn/clockify-mcp ↗Lolos
- Nama paket mencantumkan repositori ini sebagai sumbernya@themkn/clockify-mcp names themkn/clockify-mcp as sourcenpmjs.com/package/@themkn/clockify-mcp ↗Lolos
- Provenance build (atestasi Sigstore)Sigstore attestation for @themkn/clockify-mcpnpmjs.com/package/@themkn/clockify-mcp/v/1.0.3#provenance ↗Lolos
- Lisensi open source (OSI)MITspdx.org/licenses/MIT.html ↗Lolos
- Ada commit atau release dalam satu tahun terakhirLast commit or release 2026-11-13github.com/themkn/clockify-mcp ↗Lolos
- OpenSSF ScorecardTidak diperiksa
- Nama package tidak mirip dengan package populerNo popular package one edit away from @themkn/clockify-mcpLolos
- Tidak ada advisory kritis pada paket atau dependensinyaTidak diperiksa
- Tidak ada instruksi tersembunyi untuk model0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersLolos
- Tools yang bersifat destruktif telah diberi labelTidak diperiksa
- Endpoint remote merespons handshake MCPTidak diperiksa
README
Lihat di GitHubclockify-mcp — Clockify MCP Server for Claude Code
An MCP server for Clockify time tracking. Start and stop timers, manage time entries, projects, tasks, tags, and clients — directly from Claude Code or any MCP-compatible client.
What is Clockify?
Clockify is a free time tracking tool used by freelancers and teams to log work hours, generate reports, and manage projects. It works across web, desktop, and mobile — and its generous free tier covers unlimited users and tracking. This MCP server lets you control Clockify with natural language through Claude, so you never have to leave your terminal.
Prerequisites
- A Clockify account — sign up for free (the free plan is all you need)
- A personal API key — once logged in, go to Profile settings → API → Generate
- Your workspace ID — visible in the Clockify URL after selecting a
workspace (e.g.
app.clockify.me/workspaces/<id>/...) - Node.js 24+
Install
npm install -g @themkn/clockify-mcp
The binary is called clockify-mcp regardless of the scoped package name.
(Or point Claude's MCP config at the built JS locally — see below.)
Configure
The server reads a JSON config from ~/.clockify-mcp/config.json. Create it
with permission 600:
mkdir -p ~/.clockify-mcp
chmod 700 ~/.clockify-mcp
cat > ~/.clockify-mcp/config.json <<'EOF'
{
"apiKey": "YOUR_CLOCKIFY_PERSONAL_API_KEY",
"workspaceId": "YOUR_WORKSPACE_ID"
}
EOF
chmod 600 ~/.clockify-mcp/config.json
Paste the API key and workspace ID from the prerequisites above. The server will refuse to start if the config file is group- or world-readable.
Hook into Claude Code
Add an entry to your Claude MCP config (typically ~/.config/claude/mcp.json
or the per-project .claude/mcp.json):
{
"mcpServers": {
"clockify": {
"command": "clockify-mcp"
}
}
}
Recommended permissions
By default Claude Code asks for permission on every Clockify tool call. A
blanket mcp__clockify__* allow works, but it also auto-approves destructive
calls like delete_time_entry. A tiered policy keeps the daily flow frictionless
while making destructive or rare operations explicit.
Add this to your ~/.claude/settings.json:
{
"permissions": {
"allow": [
"mcp__clockify__get_current_user",
"mcp__clockify__get_workspace",
"mcp__clockify__get_project",
"mcp__clockify__get_time_entry",
"mcp__clockify__get_running_timer",
"mcp__clockify__list_clients",
"mcp__clockify__list_projects",
"mcp__clockify__list_tasks",
"mcp__clockify__list_tags",
"mcp__clockify__list_time_entries",
"mcp__clockify__start_timer",
"mcp__clockify__stop_timer",
"mcp__clockify__create_time_entry",
"mcp__clockify__update_time_entry"
]
}
}
What this does:
- Reads + time-entry writes (the list above) run without prompting — these are the daily flow.
- Catalog writes (
create_project,update_client, etc.) and alldelete_*tools are not listed, so Claude Code will prompt before each call. Catalog edits are rare from the MCP and deletes should be deliberate.
If you want a stricter setup, keep a wildcard allow and add a deny block for
the destructive tools — deny blocks the call entirely (no prompt, no
override):
{
"permissions": {
"allow": ["mcp__clockify__*"],
"deny": [
"mcp__clockify__delete_client",
"mcp__clockify__delete_project",
"mcp__clockify__delete_task",
"mcp__clockify__delete_tag",
"mcp__clockify__delete_time_entry"
]
}
}
Tools
Grouped by resource:
| Resource | Tools |
|---|---|
| Time entries | list_time_entries, get_time_entry, create_time_entry, update_time_entry, delete_time_entry, start_timer, stop_timer, get_running_timer |
| Projects | list_projects, get_project, create_project, update_project, delete_project |
| Tasks | list_tasks, create_task, update_task, delete_task |
| Tags | list_tags, create_tag, update_tag, delete_tag |
| Clients | list_clients, create_client, update_client, delete_client |
| Meta | get_current_user, get_workspace |
Notes:
- All timestamps are ISO 8601 (
YYYY-MM-DDTHH:mm:ssZ). Claude interprets relative phrases like "yesterday 9am" before calling the tool. - Tools accept IDs, not names. Claude lists projects/tasks/tags/clients first, picks the matching id, then acts.
delete_projecttries a hard delete; if Clockify refuses because the project has time entries, the server archives it instead. The response reports{ "action": "deleted" }or{ "action": "archived" }.
Example prompts
Once the server is running, try asking Claude things like:
| Prompt | What happens |
|---|---|
| "Start a timer for the standup meeting" | Starts a running timer with that description |
| "Stop my timer" | Stops the currently running timer |
| "How many hours did I log this week?" | Lists recent time entries and totals them |
| "Log 2 hours yesterday for the Website Redesign project" | Creates a time entry on the right project |
| "Create a project called 'Brand Refresh' for client Acme" | Creates a new project linked to an existing client |
| "Show me all time entries from last Monday" | Fetches entries filtered by date |
| "Tag my last time entry with 'billable'" | Updates the most recent entry with a tag |
| "Delete the 'test-cleanup' tag" | Removes a tag by name |
| "What projects do we have?" | Lists all projects in the workspace |
| "Am I tracking time right now?" | Checks for a running timer |
Claude handles the translation from natural language to API calls — you just describe what you want in plain English.
Security
- The API key in
~/.clockify-mcp/config.jsongrants full access to your Clockify account. This server cannot narrow that scope — Clockify's API does not offer read-only personal tokens. Rotate the key if you suspect exposure. - The key is never logged or returned in any tool response. Errors are scrubbed defensively before being surfaced.
- The only network destination is
https://api.clockify.me; there is no telemetry. - Run the server as your user — never via
sudo.
Report vulnerabilities per SECURITY.md.
Development
npm install
npm run typecheck
npm test
npm run build
Optional: add npm run test:live later for integration tests against a real
workspace (not run in CI).
License
MIT — see LICENSE.
Pertanyaan tentang Clockify MCP
Bagaimana cara menambahkan Clockify MCP ke Claude Code?
Jalankan claude mcp add clockify-mcp -- npx -y @themkn/clockify-mcp di terminal Anda. Tambahkan --scope user agar tersedia di semua proyek.
Bagaimana cara menambahkan Clockify MCP ke Cursor?
Buka ~/.cursor/mcp.json dan tambahkan server di bawah mcpServers, menggunakan config Cursor yang ditunjukkan di bagian instalasi di atas.
Bagaimana cara mengonfigurasi API key dan workspace ID?
Buat file config JSON di ~/.clockify-mcp/config.json yang berisi apiKey dan workspaceId Anda.
Apakah server ini mendukung penghapusan project?
Ya, tetapi jika Clockify mencegah hard delete karena project tersebut berisi time entries, server akan mengarsipkannya sebagai gantinya.