TempClock MCP by usefulapi

Read workers, sites, time entries and bookings; see who is on site now in TempClock.

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
90%
命名品質
80%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~1,616Token(工具定義)
~2.9 KB典型回應大小
中等的注意力影響(128k 上下文的 1.26%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `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"
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本5 個工具