L'Atlas / MCP servers / When I Work MCP by usefulapi
MCP server

When I Work MCP by usefulapi

io.usefulapi/when-i-work

MCP server OK 21 tools

Get a review See pricing

Check shifts, time clock entries, time-off requests, swaps and availability, and manage shifts.

Technical sheet

Author
usefulapi.io (registry namespace)
Repository
github.com/m190/usefulapi-mcp
Site
usefulapi.io/when-i-work
Version
1.40.6
Transport
Streamable HTTP
Authentication
None (observed by our test)
Server address
https://when-i-work.usefulapi.io/mcp Streamable HTTP
Tools
21
Categories
—
Last updated
24 Nov 2026
Published
24 Nov 2026

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.usefulapi/when-i-work.svg?lang=en)](https://latlas.dev/en/mcp/io.usefulapi/when-i-work)
HTML
<a href="https://latlas.dev/en/mcp/io.usefulapi/when-i-work"><img src="https://latlas.dev/badge/fiche/io.usefulapi/when-i-work.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://when-i-work.usefulapi.io/mcp
Last result
OK 28 Nov 2026, 10:55
Response time
1,242 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
when-i-work-mcp 1.40.6
Tools
21

History

DateResultResponseTools
28 Nov 2026, 10:55OK1,242 ms21

Exposed tools (21, from tools/list, 28 Nov 2026)

wheniwork_get_account

Get the account

Fetch the When I Work account (workplace) the token acts on — company name, plan and settings; for a parent account also its child accounts. A cheap way to confirm the credentials work. When I Work: GET /2/account.

No parameters.

wheniwork_list_users

List users

List the employees, supervisors, managers and admins in the account, optionally limited to some schedules or searched by name/email. Returns 25 per call by default; page with offset (next_offset is null on the last page). Role codes: 1 admin, 2 manager, 3 employee, 5 supervisor. When I Work: GET /2/users.

ParameterTypeRequiredDescription
location_idarray<integer>noOne or more schedule (location) ids.
searchstringnoSearch first name, last name or email.
show_pendingbooleannoInclude users who have not accepted their invite (default true).
only_pendingbooleannoOnly pending users.
show_deletedbooleannoInclude deleted users (supervisor or above).
only_deletedbooleannoOnly deleted/archived users (supervisor or above).
limitintegernoRecords to return, 1-100 (default 25).
offsetintegernoRecords to skip, for paging (default 0; use next_offset from the previous reply).

wheniwork_get_user

Get one user

Fetch one user by id — name, email, role, positions, schedules, wage. When I Work: GET /2/users/{id}.

ParameterTypeRequiredDescription
user_idintegeryesThe user id.

wheniwork_list_locations

List schedules (locations)

List the schedules in the account. The API calls a schedule a "location"; its id is the location_id every shift belongs to. When I Work: GET /2/locations.

ParameterTypeRequiredDescription
only_unconfirmedbooleannoOnly schedules whose address is unconfirmed.

wheniwork_list_positions

List positions

List the positions (job roles such as Cashier or Dishwasher) in the account. When I Work: GET /2/positions.

ParameterTypeRequiredDescription
show_deletedbooleannoInclude deleted positions.

wheniwork_list_shifts

List shifts

List scheduled shifts in a time window — who works when, where and in which position — optionally including open shifts and unpublished drafts. Answers "who is on on Friday?" and "what open shifts are left?". Returns up to 25 shifts by default (limit up to 1000); narrow the window to see more. When I Work: GET /2/shifts.

ParameterTypeRequiredDescription
startstringnoStart of the window. Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
endstringnoEnd of the window. Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
user_idintegernoOnly this user's shifts.
location_idarray<integer>noOne or more schedule (location) ids.
all_locationsbooleannoInclude shifts from all schedules.
unpublishedbooleannoInclude unpublished (draft) shifts — supervisor or above.
include_openbooleannoInclude open (unassigned) shifts from the user's schedules.
include_onlyopenbooleannoReturn only open shifts.
include_allopenbooleannoInclude open shifts across all schedules — manager or admin.
include_swapsbooleannoInclude swap requests attached to the shifts.
deletedbooleannoAlso return deleted_ids: shifts deleted in the window.
include_repeating_shifts_tostringnoAlso expand repeating shift series up to this date. Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
limitintegernoMaximum number of shifts to return, 1-1000 (default 25).

wheniwork_get_shift

Get one shift

Fetch one shift by id, including its breaks and publish state. When I Work: GET /2/shifts/{id}.

ParameterTypeRequiredDescription
shift_idintegeryesThe shift id.
include_repeating_shifts_tostringnoAlso expand the shift's repeating series up to this date. Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").

wheniwork_list_eligible_users_for_shift

List users eligible for an open shift

Find who could take an open shift — either an existing shift (shift_id) or a hypothetical one (start, end, position_id and location_id all required). When I Work: GET /2/shifts/eligible.

ParameterTypeRequiredDescription
shift_idintegernoAn existing shift's id.
startstringnoStart of the potential shift (required without shift_id). Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
endstringnoEnd of the potential shift (required without shift_id). Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
position_idintegernoPosition of the potential shift (required without shift_id).
location_idintegernoSchedule of the potential shift (required without shift_id).
is_sharedbooleannoWhether it is a shared open shift.
include_objectsbooleannoInclude the users' schedules and positions in the output.

wheniwork_list_times

List clocked times (timesheets)

List clocked time entries — actual hours worked, clock-in/out times, length and approval state. Use only_open to see who is clocked in right now. Returns 25 per call by default; page with offset (next_offset is null on the last page). When I Work: GET /2/times.

ParameterTypeRequiredDescription
startstringnoStart of the window. Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
endstringnoEnd of the window. Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
user_idarray<integer>noOne or more user ids.
only_openbooleannoOnly times with no end yet (people currently clocked in).
updated_atstringnoOnly times updated since this timestamp. Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
limitintegernoRecords to return, 1-100 (default 25).
offsetintegernoRecords to skip, for paging (default 0; use next_offset from the previous reply).

wheniwork_list_time_off_requests

List time-off requests

List time-off requests in a date range, with the requesting users. Status: 0 pending, 1 canceled, 2 accepted, 3 expired, 4 denied. When I Work: GET /2/requests.

ParameterTypeRequiredDescription
startstringnoStart date, yyyy-mm-dd.
endstringnoEnd date, yyyy-mm-dd.
user_idarray<integer>noOne or more user ids.
location_idintegernoOnly requests for this schedule.
statusintegernoOnly requests with this status.
typeintegernoOnly this request type.
sortbystringno'created' sorts newest first; anything else sorts by status then last update.
include_deleted_usersbooleannoInclude requests made by deleted users.
since_idintegernoOnly requests created after this request id.
max_idintegernoOnly requests created before this request id.
limitintegernoMaximum number of results.
pageintegernoPage of results to load (the response says whether there are `more`).

wheniwork_get_time_off_request

Get one time-off request

Fetch one time-off request by id, with its message thread and users. When I Work: GET /2/requests/{request_id}.

ParameterTypeRequiredDescription
request_idintegeryesThe time-off request id.

wheniwork_list_time_off_types

List time-off types

List the time-off types (e.g. Personal, Sick, Holiday) and whether each allows paid time. Their ids are the type_id for a new request. When I Work: GET /2/requesttypes.

No parameters.

wheniwork_list_shift_swaps

List shift swaps and drops

List shift requests: swaps, drops and alerts, with the shifts and users involved. Status: 0 pending, 1 approved, 2 declined, 3 completed, 4 canceled, 5 expired. Type: 1 swap, 2 drop, 3 alert. start and end must be given together. When I Work: GET /2/swaps.

ParameterTypeRequiredDescription
startstringnoStart of the shift window (give with end). Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
endstringnoEnd of the shift window (give with start). Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
user_idarray<integer>noOne or more user ids.
shift_idarray<integer>noOne or more shift ids.
statusarray<integer>noOne or more statuses.
typearray<integer>noOne or more types.
open_onlybooleannoOnly open swaps.
limitintegernoMaximum number of results.
pageintegernoPage of results to load (the response says whether there are `more`).

wheniwork_list_availability

List availability

List availability events — when people said they can or cannot work, including recurring patterns that fall in the window. Defaults to the caller, from now to two weeks out. When I Work: GET /2/availabilityevents.

ParameterTypeRequiredDescription
startstringnoStart of the window (default now). Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
endstringnoEnd of the window (default two weeks from now). Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
user_idintegernoWhose availability (default the calling user).
include_allbooleannoEveryone's availability, not just one user's — managers only.

wheniwork_list_annotations

List schedule annotations

List schedule annotations — announcements, business-closed days and blackout dates when time off is not allowed. Defaults to today through one year out. When I Work: GET /2/annotations.

ParameterTypeRequiredDescription
start_datestringnoStart of the range (default the start of today). Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
end_datestringnoEnd of the range (default one year after start). Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
no_time_offbooleannoOnly annotations that block time off.

wheniwork_create_shift

Create a shift

Create one shift on a schedule — assigned to a user, or open (user_id 0). Created as a draft unless published is true. Undo by editing it or unpublishing. When I Work: POST /2/shifts.

ParameterTypeRequiredDescription
location_idintegeryesThe schedule (location) the shift belongs to id.
start_timestringyesShift start, date-time with offset, e.g. 2026-10-05T08:00:00-05:00.
end_timestringyesShift end, date-time with offset.
user_idintegernoThe user to assign. 0 (or omitted on create) makes it an open shift.
position_idintegernoPosition for the shift.
site_idintegernoJob site for the shift.
break_timenumbernoUnpaid break length in hours, e.g. 0.5.
notesstringnoShift notes shown to the employee.
colorstringnoHex colour without #, e.g. cc0000.
publishedbooleannoPublish it immediately (default: draft).
is_sharedbooleannoFor an open shift: a shared open shift.

wheniwork_update_shift

Update a shift

Change a shift — reassign it, move it, change position or notes. When I Work requires start_time, end_time and location_id on every update, so fetch the shift first and pass them back. This tool never sends a breaks array; When I Work documents that breaks omitted from an update's breaks list are removed, so re-check the shift's breaks afterwards. When I Work: PUT /2/shifts/{id}.

ParameterTypeRequiredDescription
shift_idintegeryesThe shift id.
location_idintegeryesThe schedule (location) id.
start_timestringyesShift start (required by the API even if unchanged).
end_timestringyesShift end (required by the API even if unchanged).
user_idintegernoThe user to assign. 0 (or omitted on create) makes it an open shift.
position_idintegernoPosition for the shift.
site_idintegernoJob site for the shift.
break_timenumbernoUnpaid break length in hours, e.g. 0.5.
notesstringnoShift notes shown to the employee.
colorstringnoHex colour without #, e.g. cc0000.
publishedbooleannoPublish it immediately (default: draft).
is_sharedbooleannoFor an open shift: a shared open shift.

wheniwork_publish_shifts

Publish shifts

Publish draft shifts so employees can see them. Publishing does not itself send notifications. Undo with wheniwork_unpublish_shifts. When I Work: POST /2/shifts/publish.

ParameterTypeRequiredDescription
idsarray<integer>yesThe shift ids to publish.

wheniwork_unpublish_shifts

Unpublish shifts

Return published shifts to draft, hiding them from employees. Undo with wheniwork_publish_shifts. When I Work: POST /2/shifts/unpublish.

ParameterTypeRequiredDescription
idsarray<integer>yesThe shift ids to unpublish.

wheniwork_create_time_off_request

Create a time-off request

Create a time-off request for a user (default the calling user). It starts pending; cancel it with wheniwork_update_time_off_request (status 1). Get type ids from wheniwork_list_time_off_types. When I Work: POST /2/requests.

ParameterTypeRequiredDescription
start_timestringyesStart of the time off, full date-time.
end_timestringyesEnd of the time off, full date-time.
user_idintegernoWho is taking time off (default the calling user).
type_idintegernoTime-off type id (Personal, Sick, Holiday...).
paidbooleannoWhether it is paid time off.
hoursnumbernoHours of paid time off to use.

wheniwork_update_time_off_request

Approve, deny or change a time-off request

Change a time-off request: set its status (0 pending, 1 canceled, 2 accepted/approved, 3 expired, 4 denied) and/or its dates or hours. Reversible — set the status back. start_time and end_time must be given together. When I Work: PUT /2/requests/{request_id}.

ParameterTypeRequiredDescription
request_idintegeryesThe time-off request id.
statusintegernoNew status.
start_timestringnoNew start, full date-time (give with end_time).
end_timestringnoNew end, full date-time (give with start_time).
hoursnumbernoHours of paid time off to use.

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://when-i-work.usefulapi.io/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http when-i-work https://when-i-work.usefulapi.io/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : when-i-work ; URL : https://when-i-work.usefulapi.io/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : when-i-work ; Server URL : https://when-i-work.usefulapi.io/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "when-i-work": {
      "url": "https://when-i-work.usefulapi.io/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "when-i-work": {
      "type": "http",
      "url": "https://when-i-work.usefulapi.io/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "when-i-work": {
      "url": "https://when-i-work.usefulapi.io/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "when-i-work": {
      "httpUrl": "https://when-i-work.usefulapi.io/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.when-i-work]
url = "https://when-i-work.usefulapi.io/mcp"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

When I Work MCP by usefulapi · L’Atlas · Tested on

Markdown
[When I Work MCP by usefulapi — L’Atlas](https://latlas.dev/en/mcp/io.usefulapi/when-i-work)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 1 Dec 2026. L’Atlas adds no data beyond this source and its own tests.