Clockify MCP Server
Enables AI assistants to interact with Clockify time tracking API to manage time entries, projects, tasks, and workspaces through natural language commands.
README
Clockify MCP Server
A Model Context Protocol (MCP) server that provides seamless integration with Clockify time tracking API. This server enables AI assistants to interact with Clockify to manage time entries, projects, tasks, and workspaces.
Features
- š Time Entry Management: Create, update, delete, and list time entries
- š Project Management: Browse and search projects across workspaces
- ā Task Management: Access and manage tasks within projects
- š¤ User Profile: Retrieve user information and workspace details
- š¢ Workspace Management: List and navigate between workspaces
Demonstration

Available Tools
User Management
get-clockify-user- Retrieve current user profile information
Workspace Management
list-clockify-workspaces- List all accessible workspaces
Project Management
list-clockify-projects- List projects in a workspace with optional name filtering
Task Management
list-clockify-tasks- List tasks within a specific project
Time Entry Management
create-clockify-time-entry- Create new time entriesupdate-clockify-time-entry- Update existing time entriesdelete-clockify-time-entry- Delete time entrieslist-clockify-time-entries- List time entries with date filtering
Prerequisites
- Clockify Account: You need a Clockify account with API access
- API Key: Generate your Clockify API key from your profile settings
- MCP-Compatible Client: VS Code with GitHub Copilot, Claude Desktop, or other MCP clients
Installation
Option 1: Using NPX (Recommended)
Add the following configuration to your MCP client:
{
"servers": {
"mcp_clockify": {
"command": "npx",
"args": ["-y", "mcp_clockify@latest"],
"env": {
"CLOCKIFY_API_KEY": "your-clockify-api-key-here"
}
}
}
}
Option 2: Local Development
-
Clone the repository:
git clone <repository-url> cd clockify-mcp -
Install dependencies:
npm install -
Build the project:
npm run build -
Configure your MCP client:
{ "servers": { "mcp_clockify": { "command": "node", "args": ["/path/to/clockify-mcp/build/index.js"], "env": { "CLOCKIFY_API_KEY": "your-clockify-api-key-here" } } } }
Configuration
Getting Your Clockify API Key
- Log in to your Clockify account
- Go to Profile Settings (click your avatar in the top-right corner)
- Navigate to the API section
- Generate or copy your existing API key
VS Code Setup
- Open VS Code
- Run the command
MCP: Open User Configuration(Ctrl/Cmd + Shift + P) - This opens or creates the
mcp.jsonfile in your user profile - Add the configuration with your API key:
{
"servers": {
"mcp_clockify": {
"command": "npx",
"args": ["-y", "mcp_clockify@latest"],
"env": {
"CLOCKIFY_API_KEY": "your-clockify-api-key-here"
}
}
}
}
- Save the file and restart VS Code
Claude Desktop Setup
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"mcp_clockify": {
"command": "npx",
"args": ["-y", "mcp_clockify@latest"],
"env": {
"CLOCKIFY_API_KEY": "your-clockify-api-key-here"
}
}
}
}
Gemini CLI Setup
- Open your Gemini CLI configuration file (e.g.,
~/.gemini/settings.json). - Add the following configuration:
{
"mcpServers": {
"mcp_clockify": {
"command": "npx",
"args": ["-y", "mcp_clockify@latest"],
"env": {
"CLOCKIFY_API_KEY": "your-clockify-api-key-here"
}
}
}
}
Usage Examples
Creating a Time Entry
I worked on the Research project for Acme Corp workspace from today 9 AM to 5 PM. Please create a time entry for this work session in Clockify.
Listing Recent Time Entries
Show me my time entries for this week in Clockify.
Managing Projects
List all projects in my main workspace and help me find the "Website Redesign" project.
Daily Time Tracking
I need to log 3 hours of work on the Mobile App project from 2 PM to 5 PM today with the description "Bug fixes and testing".
Development
Scripts
npm run build- Build the TypeScript projectnpm start- Start the servernpm run inspect- Use MCP inspector for debugging
Project Structure
āāā src/
ā āāā index.ts # Main server implementation
āāā build/
ā āāā index.js # Compiled JavaScript
āāā package.json # Project configuration
āāā tsconfig.json # TypeScript configuration
āāā README.md # This file
Troubleshooting
Common Issues
-
Invalid API Key Error
- Verify your API key is correct and has proper permissions
- Check that the environment variable is properly set
-
Network Connection Issues
- Ensure you have internet connectivity
- Verify Clockify API is accessible from your network
-
Server Not Starting
- Check that Node.js is installed (version 16 or higher)
- Verify all dependencies are installed with
npm install
Debug Mode
Use the MCP inspector for debugging:
npm run inspect
This opens a web interface to test and debug the MCP server.
API Reference
The server interacts with Clockify API v1. For detailed API documentation, visit Clockify API Documentation.
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
License
This project is licensed under the ISC License.
Support
For issues and questions:
- Check the troubleshooting section
- Review Clockify API documentation
- Open an issue on the repository
Note: This is an unofficial integration.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.