kimai-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@kimai-mcp start a timer for the Acme project tagged development"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@jdlar/kimai-mcp
MCP (Model Context Protocol) server for Kimai time-tracking. Exposes your Kimai instance as 44 tools that any MCP-compatible AI client can use — Claude Desktop, OpenCode, Cursor, etc.
Prerequisites
Node.js >= 18
A running Kimai instance with API access
An API token (generate one in your Kimai user profile under API Access / API Token)
Related MCP server: Timesheet MCP Server
Quick Start
Option 1: NPX (Recommended - No Installation Required)
KIMAI_API_URL=https://your-kimai.example.com KIMAI_API_TOKEN=your-token npx @jdlar/kimai-mcpOption 2: Global Installation
# 1. Install globally
npm install -g @jdlar/kimai-mcp
# 2. Set environment variables and run
KIMAI_API_URL=https://your-kimai.example.com KIMAI_API_TOKEN=your-token @jdlar/kimai-mcpOption 3: Environment File
# Create .env file with your credentials
echo "KIMAI_API_URL=https://your-kimai.example.com" > .env
echo "KIMAI_API_TOKEN=your-token" >> .env
# Run with npx
npx @jdlar/kimai-mcp
# Or run with global installation
@jdlar/kimai-mcpMCP Client Configuration
Claude Desktop
Add to your Claude Desktop config file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
Option A: Using NPX (Recommended)
{
"mcpServers": {
"kimai": {
"command": "npx",
"args": ["-y", "@jdlar/kimai-mcp"],
"env": {
"KIMAI_API_URL": "https://your-kimai.example.com",
"KIMAI_API_TOKEN": "your-api-token-here"
}
}
}
}Option B: Using Global Installation
{
"mcpServers": {
"kimai": {
"command": "@jdlar/kimai-mcp",
"env": {
"KIMAI_API_URL": "https://your-kimai.example.com",
"KIMAI_API_TOKEN": "your-api-token-here"
}
}
}
}OpenCode
Add to your opencode.json:
{
"mcp": {
"kimai": {
"type": "local",
"command": ["npx", "-y", "@jdlar/kimai-mcp"],
"env": {
"KIMAI_API_URL": "https://your-kimai.example.com",
"KIMAI_API_TOKEN": "your-api-token-here"
}
}
}
}Cursor
Add to .cursor/mcp.json in your project root:
{
"mcpServers": {
"kimai": {
"command": "npx",
"args": ["-y", "@jdlar/kimai-mcp"],
"env": {
"KIMAI_API_URL": "https://your-kimai.example.com",
"KIMAI_API_TOKEN": "your-api-token-here"
}
}
}
}Other MCP Clients
For any MCP-compatible client, configure:
Command:
npx(or@jdlar/kimai-mcpif installed globally)Args:
["-y", "@jdlar/kimai-mcp"](only when using npx)Transport: stdio
Environment variables:
KIMAI_API_URL— Your Kimai instance URL (without trailing slash)KIMAI_API_TOKEN— API token from your Kimai user profile
Available Tools
Timesheets (10 tools)
Tool | Description |
| List/filter timesheet entries (by user, project, customer, date range, active state, tags, etc.) |
| Get a single timesheet by ID |
| Create a new timesheet entry (start a timer or log completed work) |
| Update an existing timesheet |
| Delete a timesheet entry |
| Get currently running timesheets |
| Stop a running timesheet |
| Restart a stopped timesheet |
| Duplicate a timesheet entry |
| Get recent timesheet entries |
Customers (4 tools)
Tool | Description |
| List/filter customers |
| Get customer by ID |
| Create a new customer |
| Update an existing customer |
Projects (4 tools)
Tool | Description |
| List/filter projects |
| Get project by ID |
| Create a new project |
| Update an existing project |
Activities (4 tools)
Tool | Description |
| List/filter activities |
| Get activity by ID |
| Create a new activity (project-scoped or global) |
| Update an existing activity |
Users (3 tools)
Tool | Description |
| List users (requires |
| Get user by ID |
| Get current authenticated user |
Tags (3 tools)
Tool | Description |
| List/filter tags |
| Create a new tag |
| Delete a tag |
Teams (13 tools)
Tool | Description |
| List all teams |
| Get team by ID |
| Create a new team |
| Update an existing team |
| Delete a team |
| Add a user to a team |
| Remove a user from a team |
| Grant team access to a customer |
| Revoke team access to a customer |
| Grant team access to a project |
| Revoke team access to a project |
| Grant team access to an activity |
| Revoke team access to an activity |
System (3 tools)
Tool | Description |
| Test API connection |
| Get Kimai version info |
| Get timesheet configuration |
Example Prompts
Once connected, you can ask your AI assistant things like:
Time Tracking
Start a timer on project "Website Redesign", activity "Development"What timesheets did I log this week?Stop my running timerReporting
Show me all timesheet entries for customer "Acme Corp" in January 2026How many hours did I track on project "Mobile App" this month?Management
List all active projects for customer "Acme Corp"Create a new customer called "NewCo" based in the US with USD currencyCreate a project "Q1 Campaign" under the "Marketing Agency" customerPermissions
All 44 tools are always registered. If your API token lacks a required permission for a specific tool, it returns a clear error message instead of failing silently — for example:
Permission denied (403): Your Kimai API token does not have access to this endpoint.
Check your user role and permissions in Kimai.No role configuration is needed. Just use the tools and Kimai's permission system handles the rest.
Generating an API Token
Log in to your Kimai instance
Click on your profile icon (top right)
Navigate to API Access or API Token
Create a new API token
Copy the token and use it as
KIMAI_API_TOKEN
The token inherits the permissions of the user who created it. Admin tokens can access all endpoints; regular user tokens are scoped to their own data.
Development
# Install dependencies
pnpm install
# Build
pnpm build
# Watch mode
pnpm dev
# Run the server
pnpm startLicense
MIT
Available Tools
44 toolskimai-add-team-activityC
Grant a team access to an activity.
Inputs: id (required), activityId (required).
kimai-add-team-customerC
Grant a team access to a customer.
Inputs: id (required), customerId (required).
kimai-add-team-memberB
Add a user to an existing team.
Inputs: id (required), userId (required).
kimai-add-team-projectC
Grant a team access to a project.
Inputs: id (required), projectId (required).
kimai-create-activityA
Create a new activity. Requires name. Optionally link to a project (otherwise it becomes a global activity).
Inputs: name (required), color, budget, number, +7 more.
kimai-create-customerC
Create a new customer. Requires name, country (2-letter ISO code), currency (3-letter code), and timezone.
Inputs: name (required), country (required), currency (required), timezone (required), +18 more.
kimai-create-projectB
Create a new project. Requires name and customer ID.
Inputs: name (required), customer (required), end, color, +11 more.
kimai-create-tagC
Create a new tag. The tag name must not contain commas.
Inputs: name (required), color, visible.
kimai-create-teamB
Create a new team. Requires a name and at least one member.
Inputs: name (required), members (required), color.
kimai-create-timesheetA
Create a new timesheet entry. Requires project and activity. If no begin is set, starts now. If no end is set, the timesheet will be running (active timer).
Inputs: project (required), activity (required), end, tags, +7 more.
kimai-delete-tagB
Delete a tag by ID. This removes the tag from all associated entries.
Inputs: id (required).
kimai-delete-teamC
Delete a team by ID.
Inputs: id (required).
kimai-delete-timesheetB
Delete a timesheet entry by ID. This action is irreversible.
Inputs: id (required).
kimai-duplicate-timesheetA
Duplicate a timesheet entry. Creates a copy with export state reset.
Inputs: id (required).
kimai-get-active-timesheetsA
Get all currently running (active) timesheet entries for the current user.
Inputs: no named parameters.
kimai-get-activityB
Get a single activity by ID with full details.
Inputs: id (required).
kimai-get-customerC
Get a single customer by ID with full details.
Inputs: id (required).
kimai-get-meA
Get the currently authenticated user's profile. Useful to check your identity, permissions, and preferences.
Inputs: no named parameters.
kimai-get-projectB
Get a single project by ID with full details.
Inputs: id (required).
kimai-get-recent-timesheetsB
Get the most recent timesheet entries (useful for quick time entry). Returns a short list of recent activity combinations.
Inputs: size, user, begin.
kimai-get-teamB
Get a single team by ID with full details including members and assigned entities.
Inputs: id (required).
kimai-get-timesheetB
Get a single timesheet entry by ID.
Inputs: id (required).
kimai-get-timesheet-configA
Get the Kimai instance timesheet configuration (tracking mode, rounding rules, defaults, etc.).
Inputs: no named parameters.
kimai-get-userA
Get a single user by ID. Requires 'view_user' permission.
Inputs: id (required).
kimai-get-versionA
Get the Kimai instance version, environment, and edition information.
Inputs: no named parameters.
kimai-list-activitiesB
List activities. Supports filtering by project, visibility, global-only, and search.
Inputs: term, order, globals, orderBy, +2 more.
kimai-list-customersC
List all customers. Supports filtering by visibility, search term, and sorting.
Inputs: term, order, orderBy, visible.
kimai-list-projectsC
List projects. Supports filtering by customer, visibility, date range, and search.
Inputs: end, term, order, start, +5 more.
kimai-list-tagsB
List all tags, optionally filtered by name.
Inputs: name.
kimai-list-teamsA
List all teams. Requires 'view_team' permission.
Inputs: no named parameters.
kimai-list-timesheetsA
List and filter timesheet entries. Supports filtering by user, customer, project, activity, date range, running/stopped state, billable status, tags, and full text search. Results are paginated.
Inputs: end, full, page, size, +12 more.
kimai-list-usersA
List users. Requires 'view_user' permission. Supports filtering by visibility, search, and sorting.
Inputs: full, term, order, orderBy, +1 more.
kimai-pingA
Test the Kimai API connection. Returns 'pong' if successful.
Inputs: no named parameters.
kimai-remove-team-activityC
Revoke a team's access to an activity.
Inputs: id (required), activityId (required).
kimai-remove-team-customerC
Revoke a team's access to a customer.
Inputs: id (required), customerId (required).
kimai-remove-team-memberC
Remove a user from an existing team.
Inputs: id (required), userId (required).
kimai-remove-team-projectC
Revoke a team's access to a project.
Inputs: id (required), projectId (required).
kimai-restart-timesheetA
Restart a previously stopped timesheet entry. Creates a new running timesheet based on the original.
Inputs: id (required), copy, begin.
kimai-stop-timesheetA
Stop a currently running timesheet entry. Sets the end time to now.
Inputs: id (required).
kimai-update-activityA
Update an existing activity. Pass only the fields you want to change.
Inputs: id (required), name, color, budget, +8 more.
kimai-update-customerA
Update an existing customer. Pass only the fields you want to change.
Inputs: id (required), city, name, color, +19 more.
kimai-update-projectA
Update an existing project. Pass only the fields you want to change.
Inputs: id (required), end, name, color, +12 more.
kimai-update-teamA
Update an existing team. Pass name, color, and/or the full members list. Note: members array replaces all existing members.
Inputs: id (required), name, color, members.
kimai-update-timesheetA
Update an existing timesheet entry. Pass only the fields you want to change.
Inputs: id (required), end, tags, user, +8 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 44 tools
Each tool targets a distinct resource+action pair, and the timesheet timer lifecycle (stop/restart/duplicate/get-active) is reasonably well delineated by descriptions. Minor overlap exists between kimai-get-active-timesheets and kimai-list-timesheets with a running filter, and between restart/duplicate/create-timesheet, but an agent can pick correctly with the descriptions provided.
Every tool uses the same kimai-<verb>-<noun> pattern (kimai-create-tag, kimai-list-timesheets, kimai-add-team-member), with only natural exceptions like kimai-get-me, kimai-ping, and kimai-get-version that still fit the verb-first convention.
At 44 tools the surface is heavy, and a large share comes from ten near-mechanical team add/remove pairs for members, customers, projects, and activities that could be consolidated into fewer parameterized tools. While the underlying Kimai domain is genuinely broad, the set is larger than an agent can comfortably navigate in one pass.
Timesheets, teams, and tags have full lifecycle coverage, but customers, projects, and activities support list/get/create/update with no delete operation, leaving agents unable to complete removal workflows. Users are also read-only, which is likely intentional but leaves gaps relative to the rest of the CRUD surface.
Maintenance
Related MCP Connectors
Connects AI assistants to TrackingTime for querying time entries, projects, tasks, customers, and team data using natural language.
timesheet.io MCP server - manage timers, projects, tasks and reports
Time tracker for freelancers and the self-employed. Your AI agent lists tasks in priority order with tracked hours and earnings, opens a task with every time entry, sees clients with hourly rates, and gets time and money reports by client, project, task or day. With a write token it also creates and updates tasks and sets priorities; it cannot delete tasks, mark them paid or start the timer. Works on every plan, including free. Token: TimeCharm app, Settings → AI agents. Accounts in Russia use https://app.timecharm.ru/api/mcp.
Read tasks and time entries; create, edit and delete entries, and run timers in TimeCamp.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to the TrackingTime API v4 for managing projects, tasks, and team assignments. Users can start or stop timers, log manual time entries, and organize project workflows using natural language.12 npmMIT

Timesheet MCP Serverofficial
AlicenseBqualityBmaintenanceEnables natural language control of the Timesheet API for timer management, task tracking, and project management through MCP tools.50135 npm1MIT- AlicenseBqualityDmaintenanceMCP server that enables AI agents to interact with Clockify time tracking via curated workflows and a generic API tool for managing workspaces, projects, tasks, and time entries.911 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to interact with KIMAI 2 time tracking for managing timesheets, projects, activities, customers, and generating reports.MIT