TempClock MCP by usefulapi
Read workers, sites, time entries and bookings; see who is on site now in TempClock.
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"tempclock": {
"url": "https://tempclock.usefulapi.io/mcp"
}
}
}リモートエンドポイント
https://tempclock.usefulapi.io/mcpstreamable-httpできること
ツール一覧
ツール(5)
🟢tempclock_list_workers(id, location_id, department_id, status, active, ...)
List workers (name, employee id, site, department, status, dormant flag), or one worker by id. TempClock API: GET /api/v1/workers.php.
入力スキーマ
{
"type": "object",
"properties": {
"id": {
"description": "One worker by id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"location_id": {
"description": "Workers at one site (from tempclock_list_locations).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"department_id": {
"description": "Workers in one department.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"status": {
"description": "pending = registered themselves and not approved yet.",
"type": "string",
"enum": [
"active",
"pending"
]
},
"active": {
"description": "true for active workers, false for inactive ones.",
"type": "boolean"
},
"dormant": {
"description": "true = only dormant workers.",
"type": "boolean"
},
"updated_since": {
"description": "Only records created or changed since this ISO 8601 time, for example 2026-10-06T09:00:00Z.",
"type": "string"
},
"search": {
"description": "Name, employee id or email contains this text.",
"type": "string"
},
"limit": {
"description": "Rows per page, 1 to 100 (default 50).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"offset": {
"description": "Rows to skip (default 0).",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢tempclock_list_locations(id, active, limit, offset)
List sites (locations) the key can see, or one site by id. Use the ids in other tools' location_id filters. TempClock API: GET /api/v1/locations.php.
入力スキーマ
{
"type": "object",
"properties": {
"id": {
"description": "One site by id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"active": {
"description": "true for active sites, false for inactive ones.",
"type": "boolean"
},
"limit": {
"description": "Rows per page, 1 to 100 (default 50).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"offset": {
"description": "Rows to skip (default 0).",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢tempclock_list_timesheets(id, date_from, date_to, updated_since, worker_id, ...)
List clock-in and clock-out time entries, or one entry by id. Default entry_filter=shifts returns completed shifts; active returns open shifts (on site now). Pay and charge figures are not included. TempClock API: GET /api/v1/timesheets.php.
入力スキーマ
{
"type": "object",
"properties": {
"id": {
"description": "One time entry by id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"date_from": {
"description": "Clock-in date from, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"date_to": {
"description": "Clock-in date to, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"updated_since": {
"description": "Only records created or changed since this ISO 8601 time, for example 2026-10-06T09:00:00Z.",
"type": "string"
},
"worker_id": {
"description": "One worker.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"location_id": {
"description": "One site.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"department_id": {
"description": "One department.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"entry_filter": {
"description": "shifts (default) = completed shifts; active = open shifts clocked in within 18 hours; breaks; all.",
"type": "string",
"enum": [
"shifts",
"active",
"breaks",
"all"
]
},
"approval_status": {
"description": "Agency approval state.",
"type": "string",
"enum": [
"pending",
"approved",
"disputed"
]
},
"client_approval": {
"description": "Client sign-off state.",
"type": "string",
"enum": [
"pending",
"approved",
"rejected"
]
},
"limit": {
"description": "Rows per page, 1 to 100 (default 50).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"offset": {
"description": "Rows to skip (default 0).",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢tempclock_list_shifts(id, date_from, date_to, worker_id, location_id, ...)
List shift bookings (worker, site, date, times, status), or one booking by id. TempClock API: GET /api/v1/shifts.php.
入力スキーマ
{
"type": "object",
"properties": {
"id": {
"description": "One booking by id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"date_from": {
"description": "Shift date from, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"date_to": {
"description": "Shift date to, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"worker_id": {
"description": "Bookings of one worker.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"location_id": {
"description": "Bookings at one site.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"department_id": {
"description": "Bookings in one department.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"demand_id": {
"description": "Bookings of one requirement.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"status": {
"description": "One booking status (for example confirmed or cancelled).",
"type": "string"
},
"updated_since": {
"description": "Only records created or changed since this ISO 8601 time, for example 2026-10-06T09:00:00Z.",
"type": "string"
},
"limit": {
"description": "Rows per page, 1 to 100 (default 50).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"offset": {
"description": "Rows to skip (default 0).",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢tempclock_get_on_site_now(location_id, include_workers)
Count and list the workers on site right now, per site or for all sites. Set include_workers=false for totals only. TempClock API: GET /api/v1/on-site-now.php.
入力スキーマ
{
"type": "object",
"properties": {
"location_id": {
"description": "One site (from tempclock_list_locations).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"include_workers": {
"description": "false = totals only (default true).",
"type": "boolean"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}コミュニティ
エビデンス