productivity
Kimai MCP Integration for Claude Code
Connect Kimai to Claude Code through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Kimai to Claude Code
Connect local KosmoKrator integrations to Claude Code through one scoped MCP gateway entry.
Add KosmoKrator as a stdio MCP server in the Claude Code project config and select the integrations that should be visible. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Code can inspect read-capable tools without receiving write access by default.
Kimai MCP Config for Claude Code
Claude Code can launch the local kosmo binary directly from the project MCP config.
{
"mcpServers": {
"kosmokrator-kimai": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=kimai",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=kimai --write=deny Why Use KosmoKrator Here
Expose only Kimai instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Kimai Tools Visible to Claude Code
Claude Code sees stable MCP tool names generated from the Kimai integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__kimai__kimai_list_timesheets | kimai.kimai_list_timesheets | Read | List time-tracking entries from Kimai. Supports filtering by user, project, date range, and state. Returns paginated results with timesheet details including duration, description, and associated project/activity. |
integration__kimai__kimai_get_timesheet | kimai.kimai_get_timesheet | Read | Get details of a specific timesheet entry from Kimai. Returns the full timesheet record including begin/end timestamps, duration, description, project, activity, and user information. |
integration__kimai__kimai_create_timesheet | kimai.kimai_create_timesheet | Write | Create a new time-tracking entry in Kimai. Requires a begin timestamp and at least a project ID. Optionally specify an end time, activity, and description to categorize the time entry. |
integration__kimai__kimai_list_projects | kimai.kimai_list_projects | Read | List projects from Kimai. Supports filtering by customer and visibility. Returns project details including name, customer, budget, and time budget information. |
integration__kimai__kimai_get_project | kimai.kimai_get_project | Read | Get details of a specific project from Kimai. Returns the full project record including name, customer, comment, budget, time budget, and visibility status. |
integration__kimai__kimai_list_customers | kimai.kimai_list_customers | Read | List customers from Kimai. Supports filtering by visibility. Returns customer details including name, company, contact information, and associated project count. |
integration__kimai__kimai_get_current_user | kimai.kimai_get_current_user | Read | Get the profile of the currently authenticated Kimai user. Returns user details including username, display name, email, timezone, and language preferences. |