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.
npm install mcp_clockifyA 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.
- š 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






- get-clockify-user - Retrieve current user profile information
- list-clockify-workspaces - List all accessible workspaces
- list-clockify-projects - List projects in a workspace with optional name filtering
- list-clockify-tasks - List tasks within a specific project
- create-clockify-time-entry - Create new time entries
- update-clockify-time-entry - Update existing time entries
- delete-clockify-time-entry - Delete time entries
- list-clockify-time-entries - List time entries with date filtering
1. Clockify Account: You need a Clockify account with API access
2. API Key: Generate your Clockify API key from your profile settings
3. MCP-Compatible Client: VS Code with GitHub Copilot, Claude Desktop, or other MCP clients
Add the following configuration to your MCP client:
``json`
{
"servers": {
"mcp_clockify": {
"command": "npx",
"args": ["-y", "mcp_clockify@latest"],
"env": {
"CLOCKIFY_API_KEY": "your-clockify-api-key-here"
}
}
}
}
1. Clone the repository:
`bash`
git clone
cd clockify-mcp
2. Install dependencies:
`bash`
npm install
3. Build the project:
`bash`
npm run build
4. Configure your MCP client:
`json`
{
"servers": {
"mcp_clockify": {
"command": "node",
"args": ["/path/to/clockify-mcp/build/index.js"],
"env": {
"CLOCKIFY_API_KEY": "your-clockify-api-key-here"
}
}
}
}
1. Log in to your Clockify account
2. Go to Profile Settings (click your avatar in the top-right corner)
3. Navigate to the API section
4. Generate or copy your existing API key
1. Open VS Code
2. Run the command MCP: Open User Configuration (Ctrl/Cmd + Shift + P)mcp.json
3. This opens or creates the file in your user profile
4. Add the configuration with your API key:
`json`
{
"servers": {
"mcp_clockify": {
"command": "npx",
"args": ["-y", "mcp_clockify@latest"],
"env": {
"CLOCKIFY_API_KEY": "your-clockify-api-key-here"
}
}
}
}
5. Save the file and restart VS Code
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json
Windows:
`json`
{
"mcpServers": {
"mcp_clockify": {
"command": "npx",
"args": ["-y", "mcp_clockify@latest"],
"env": {
"CLOCKIFY_API_KEY": "your-clockify-api-key-here"
}
}
}
}
1. Open your Gemini CLI configuration file (e.g., ~/.gemini/settings.json).
2. Add the following configuration:
`json`
{
"mcpServers": {
"mcp_clockify": {
"command": "npx",
"args": ["-y", "mcp_clockify@latest"],
"env": {
"CLOCKIFY_API_KEY": "your-clockify-api-key-here"
}
}
}
}
``
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.
``
Show me my time entries for this week in Clockify.
``
List all projects in my main workspace and help me find the "Website Redesign" project.
``
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".
- npm run build - Build the TypeScript projectnpm start
- - Start the servernpm run inspect
- - Use MCP inspector for debugging
``
āāā src/
ā āāā index.ts # Main server implementation
āāā build/
ā āāā index.js # Compiled JavaScript
āāā package.json # Project configuration
āāā tsconfig.json # TypeScript configuration
āāā README.md # This file
1. Invalid API Key Error
- Verify your API key is correct and has proper permissions
- Check that the environment variable is properly set
2. Network Connection Issues
- Ensure you have internet connectivity
- Verify Clockify API is accessible from your network
3. Server Not Starting
- Check that Node.js is installed (version 16 or higher)
- Verify all dependencies are installed with npm install
Use the MCP inspector for debugging:
`bash``
npm run inspect
This opens a web interface to test and debug the MCP server.
The server interacts with Clockify API v1. For detailed API documentation, visit Clockify API Documentation.
1. Fork the repository
2. Create a feature branch
3. Make your changes
4. Add tests if applicable
5. Submit a pull request
This project is licensed under the ISC License.
For issues and questions:
- Check the troubleshooting section
- Review Clockify API documentation
- Open an issue on the repository
---
Note: This is an unofficial integration.