Skip to main content
Glama

Clockify MCP Server

A Model Context Protocol (MCP) server for Clockify that allows interaction with Clockify's time tracking entities through a standardized protocol.

Features

  • Full CRUD Support: Comprehensive Create, Read, Update, and Delete operations for all core Clockify entities.

  • Access to Clockify entities:

    • Workspaces

    • Projects

    • Tasks

    • Clients

    • Tags

    • Users

    • Time Entries

    • Reports

  • Time Tracking: Start/stop timers, log time manually, and manage time entries.

  • Full MCP Support: Standardized protocol for use with any MCP client (Claude Desktop, Cursor, Windsurf, etc.).

Related MCP server: @lewinnovation/clockify-mcp-server

🚀 Quick Start (Hosted)

The fastest way to use Clockify MCP is through our hosted instance at https://kyzu-clockify-mcp.fastmcp.app/mcp.

Add it to your favorite AI tools using these commands:

Codex CLI

codex mcp add --url https://kyzu-clockify-mcp.fastmcp.app/mcp kyzu-clockify

Claude CLI

claude mcp add --scope local --transport http kyzu-clockify https://kyzu-clockify-mcp.fastmcp.app/mcp

Gemini CLI

gemini mcp add kyzu-clockify https://kyzu-clockify-mcp.fastmcp.app/mcp --transport http

🛠️ Local Setup (Self-Hosted)

If you prefer to run the server locally for development or private use.

1. Prerequisites

2. Installation

git clone https://github.com/antuking/clockify-mcp.git
cd clockify-mcp
uv sync

3. Configuration

Create a .env file in the root directory:

CLOCKIFY_API_KEY=your-api-key
CLOCKIFY_WORKSPACE_ID=your-workspace-id  # optional

4. Running the Server

uv run clockify-mcp

5. Using with MCP Clients (Local)

Codex CLI

codex mcp add clockify_mcp \
  --env CLOCKIFY_API_KEY=<CLOCKIFY_API_KEY> \
  --env CLOCKIFY_WORKSPACE_ID=<CLOCKIFY_WORKSPACE_ID> \
  -- uv --directory <REPO_PATH> run clockify-mcp

Claude Desktop

{
  "mcpServers": {
    "clockify": {
      "command": "uv",
      "args": ["--directory", "<REPO_PATH>", "run", "clockify-mcp"],
      "env": {
        "CLOCKIFY_API_KEY": "your-api-key",
        "CLOCKIFY_WORKSPACE_ID": "your-workspace-id"
      }
    }
  }
}

Cursor / Windsurf

{
  "name": "Clockify MCP",
  "command": "uv",
  "args": ["--directory", "<REPO_PATH>", "run", "clockify-mcp"],
  "env": {
    "CLOCKIFY_API_KEY": "your-api-key",
    "CLOCKIFY_WORKSPACE_ID": "your-workspace-id"
  }
}

Gemini CLI

gemini mcp add clockify \
  --env CLOCKIFY_API_KEY=<CLOCKIFY_API_KEY> \
  --env CLOCKIFY_WORKSPACE_ID=<CLOCKIFY_WORKSPACE_ID> \
  -- uv --directory <REPO_PATH> run clockify-mcp

API Coverage

This server implements the following Clockify API endpoints:

Workspaces

  • get_workspaces - List all workspaces

  • get_workspace - Get workspace by ID

Projects

  • get_projects - List all projects in a workspace

  • get_project - Get project by ID

  • add_project - Create a new project

  • update_project - Update an existing project

  • delete_project - Delete a project

Tasks

  • get_tasks - List all tasks

  • get_task - Get task by ID

  • add_task - Create a new task

  • update_task - Update an existing task

  • delete_task - Delete a task

Clients

  • get_clients - List all clients

  • get_client - Get client by ID

  • add_client - Create a new client

  • update_client - Update an existing client

  • delete_client - Delete a client

Tags

  • get_tags - List all tags

  • get_tag - Get tag by ID

  • add_tag - Create a new tag

  • update_tag - Update an existing tag

  • delete_tag - Delete a tag

Users

  • get_current_user - Get the authenticated user

  • get_users - List all users in a workspace

  • get_user - Get user by ID

  • add_user - Add a user to a workspace

  • update_user - Update a user

  • delete_user - Remove a user from a workspace

Time Entries

  • get_time_entries - List time entries (with optional date range)

  • get_time_entry - Get time entry by ID

  • add_time_entry - Create a new time entry

  • update_time_entry - Update an existing time entry

  • delete_time_entry - Delete a time entry

  • get_time_entries_for_project - Get time entries for a project

Development

This server is built using:

Available Tools

36 tools
add_clientC

Add a new client to a workspace

Inputs: name (required), billable, workspace_id. Returns: object

add_projectC

Add a new project to a workspace

Inputs: name (required), color, billable, client_id, +2 more. Returns: object

add_tagC

Add a new tag to a workspace

Inputs: name (required), color, projectId, workspace_id. Returns: object

add_taskC

Add a new task

Inputs: name (required), status, tagIds, userId, +5 more. Returns: object

add_time_entryC

Add a new time entry

Inputs: start (required), end, tagIds, taskId, +5 more. Returns: object

add_userC

Add a new user to a workspace

Inputs: name (required), email (required), role, status, +2 more. Returns: object

delete_clientC

Delete a client

Inputs: client_id (required), workspace_id. Returns: object

delete_projectC

Delete a project

Inputs: project_id (required), workspace_id. Returns: object

delete_tagD

Delete a tag

Inputs: tag_id (required), workspace_id. Returns: object

delete_taskC

Delete a task

Inputs: task_id (required), workspace_id. Returns: object

delete_time_entryD

Delete a time entry

Inputs: entry_id (required), workspace_id. Returns: object

delete_userC

Delete a user from a workspace

Inputs: user_id (required), workspace_id. Returns: object

get_clientB

Get a client by ID

Inputs: client_id (required), workspace_id. Returns: object

get_clientsC

Get all clients in a workspace

Inputs: workspace_id. Returns: result

get_current_userA

Get the current authenticated user

Inputs: no named parameters. Returns: object

get_projectC

Get a project by ID

Inputs: project_id (required), workspace_id. Returns: object

get_projectsC

Get all projects in a workspace

Inputs: workspace_id. Returns: result

get_reports_detailedC

Get detailed time entry report for a workspace

Inputs: end_date (required), start_date (required), workspace_id (required). Returns: result

get_reports_summaryC

Get time entry summary report for a workspace

Inputs: end_date (required), start_date (required), workspace_id (required). Returns: object

get_tagC

Get a tag by ID

Inputs: tag_id (required), workspace_id. Returns: object

get_tagsC

Get all tags in a workspace

Inputs: project_id, workspace_id. Returns: result

get_taskB

Get a task by ID

Inputs: task_id (required), workspace_id. Returns: object

get_tasksC

Get all tasks in a workspace

Inputs: project_id, workspace_id. Returns: result

get_time_entriesC

Get all time entries in a workspace

Inputs: end, start, workspace_id. Returns: result

get_time_entries_for_projectC

Get all time entries for a project

Inputs: project_id (required), workspace_id. Returns: result

get_time_entryC

Get a time entry by ID

Inputs: entry_id (required), workspace_id. Returns: object

get_userC

Get a user by ID

Inputs: user_id (required), workspace_id. Returns: object

get_usersC

Get all users in a workspace

Inputs: workspace_id. Returns: result

get_workspaceB

Get a workspace by ID

Inputs: workspace_id (required). Returns: object

get_workspacesA

Get all workspaces for the authenticated user

Inputs: no named parameters. Returns: result

update_clientD

Update an existing client

Inputs: client_id (required), name, billable, workspace_id. Returns: object

update_projectC

Update an existing project

Inputs: project_id (required), name, color, archived, +2 more. Returns: object

update_tagC

Update an existing tag

Inputs: tag_id (required), name, color, workspace_id. Returns: object

update_taskC

Update an existing task

Inputs: task_id (required), name, status, tagIds, +3 more. Returns: object

update_time_entryC

Update an existing time entry

Inputs: entry_id (required), end, start, tagIds, +4 more. Returns: object

update_userC

Update an existing user

Inputs: user_id (required), name, role, email, +2 more. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 36 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action (e.g., add_client, delete_client, get_client, update_client), with no overlapping purposes. The resource type is always clear from the name.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case (add_, delete_, get_, update_). The few exceptions like get_current_user or get_reports_detailed still adhere to the pattern.

    Tool Count4/5

    36 tools cover CRUD for multiple resources (clients, projects, tags, tasks, time entries, users) plus workspaces and reports. While on the higher end, it is appropriate for Clockify's API scope.

    Completeness5/5

    The tool set covers all major CRUD operations for each resource, plus specific queries like get_time_entries_for_project and report endpoints. No obvious gaps for typical usage.

    Related MCP Connectors

    Related MCP Servers