Overview
Fareclock users can connect an AI assistant such as Claude or ChatGPT to their Fareclock data through the Fareclock API. Once connected, users can ask questions in plain language and receive answers as summaries, tables, charts or spreadsheets.
The process involves three steps:
The user creates a Fareclock API key, a secure credential that grants software access to their account.
The user provides the AI assistant with the API key, stored securely as described below, along with the Fareclock API Docs, so the assistant understands what data is available and how to retrieve it.
The user asks a question, such as "Which employees worked overtime last week?" The assistant retrieves the relevant data and presents it in the requested format.
The primary risk is exposure of the API key, as anyone who holds it can access the account's data. For this reason, the guidance below never asks users to paste the key into a chat. Once available, the Fareclock MCP connector will replace the API key with a standard Fareclock sign-in.
Common use cases
An AI assistant can build reports on request in any format, answer one-off questions, spot problems, combine Fareclock data with other information and help plan ahead.
Use case | Example prompt | Who it helps |
Overtime watch | "Who is close to 40 hours this week? List anyone over 35 so far." | Managers, owners |
Late and missed punches | "Which employees clocked in late or forgot to clock out most often this month?" | Managers, HR |
Scheduled vs. actual hours | "Compare scheduled shifts with actual hours worked last week, by department." | Operations |
Job costing | "How many labor hours went to each job and job phase in October? Chart it." | Construction, field services |
Department labor breakdown | "Show total hours by department for Q3 as a bar chart." | Owners, finance |
Time off overview | "Who has time off booked in the next two weeks, and what type?" | HR |
Attendance trends | "Is absenteeism going up? Compare the last three months." | HR, owners |
Device and location check | "Which clock-in devices were used last week, and by how many employees?" | Operations, admins |
Audit questions | "Were any time entries deleted this month? By whom?" | Admins, owners |
Instant answers | "Did anyone on the night crew work both Saturday and Sunday this month?" | Managers, owners |
Pre-payroll error check | "Before I run payroll, flag anything unusual: shifts over 14 hours, duplicate punches, or someone whose hours doubled from last week." | Payroll, admins |
Account cleanup | "List employees with no hours in 60 days, and jobs that are still open but haven't been used." | Admins |
Labor rule review | "Which shifts last week ran over 6 hours with no break? Summarize by location." | HR, operations |
Estimate vs. actual | "Here's my bid for the Henderson job. Compare the labor hours I estimated with the hours actually logged, by phase." | Contractors, project managers |
Bidding on new work | "Based on our last five kitchen remodel jobs, how many labor hours should I estimate for the next one?" | Contractors, estimators |
Staffing forecast | "Looking at the last six months, which days and weeks do we usually run short? Suggest staffing levels for December." | Operations, owners |
Explaining a timecard | "Explain in simple Spanish how Ana's overtime was calculated on her last timecard." | Payroll, HR |
Help article: Use Claude or ChatGPT with your Fareclock data
You can ask an AI assistant questions about your team's hours, attendance and jobs, and get answers as tables, charts or summaries. Pick the setup that matches how comfortable you are with technical steps.
Step 1: Choose your setup
Setup | Best for | API key needed? | Effort |
A. Export and upload | Anyone, no technical steps | No | 5 minutes |
B. AI app on your computer with a safely stored key | Admins comfortable typing a few commands | Yes, stored in Keychain or Credential Manager | 20–30 minutes, once |
Setup A: Export and upload (no API key)
Step 1: In Fareclock, export the report you need (for example time cards for the last pay period) as a CSV or Excel file.
Step 2: Open Claude or ChatGPT and attach the file.
Step 3: Ask your question, for example: "Total overtime hours per employee, sorted highest first."
Note: The AI only sees the file you attached, and nothing else in your account.
Setup B: AI app on your computer, connected to the API
This gives the AI live access to your data, so it can pull whatever it needs to answer.
Step 1: Create a read-only API key. In Fareclock, go to Settings → Integrations → API Keys and click New API Key.
Label: name it after its use, for example "AI assistant – Office laptop".
Active: leave it checked.
Permissions: choose Read for the data the AI needs, and None for everything else. Never choose Write or Delete for an AI assistant key.
Click Save, then click Reveal Key to copy it.
Step 2: Store the key safely. Don't paste it into a chat. Save it in your computer's password vault by following Store your API key safely below.
Step 3: Use an AI coding tool, not a regular chat. Install an AI tool that runs on your computer and can run commands, such as Claude Code or OpenAI's Codex.
Step 4: Give the AI access to the Fareclock API documentation and your API key.
Start your session with:
Read the Fareclock API documentation at docs.fareclock.com. My Fareclock API key is: [PASTE YOUR ACTUAL API KEY FROM YOUR ORGANIZATION'S PASSWORD VAULT HERE].
Step 5: Ask your question, for example: "How many hours did each department log last week? Make a bar chart."
Store your API key safely
Your API key works like a master password to your Fareclock data: anyone who has it can read your team's records. Treat it that way.
Why not paste it into the chat?
Chats are saved in your history, sometimes synced across devices, and can be shared by accident.
Copy-paste leaves the key on your clipboard, in screenshots and in screen recordings.
Once a key has been in a chat, you can't be sure where it has gone.
The safer way is to keep the key in your computer's built-in password vault and let the AI app use it from there.
Five rules for any API key
One key per use. Create a separate key named for the AI assistant, so you can turn off just that one.
Never share it in a chat, email or message, including with Fareclock support.
Tell the AI to only read data. Use the instruction in Setup B so it doesn't change or delete records.
Delete keys you no longer use under Settings → Integrations.
If a key leaks, delete it right away and create a new one. The old key stops working as soon as it's deleted.
