Listed from the MCP registry; nobody on Odel publishes it.
Deputy workforce data for AI agents: rosters, timesheets and shifts; read-only by default
Runs on your machine from its package; the steps are below.
At most: creates or changes data: records, files, settings.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
uvx deputy-mcp
MCP client config
{
"mcpServers": {
"deputy-mcp": {
"command": "uvx",
"args": [
"deputy-mcp"
]
}
}
}Ask Claude "when do I work next?" and get the answer from your Deputy roster.
Deputy MCP is a local MCP server that lets AI agents read your shifts, timesheets and team schedule, and, only if you turn it on, act on them. It runs on your machine, connects to Deputy, and works with a regular employee account.
Choose your access mode first:
| Mode | Who it's for | Start here |
|---|---|---|
| OAuth | Any employee | Employee sign-in |
| API token | Deputy admins | Admin setup |
| Calendar feed | No API access | Set DEPUTY_CALENDAR_URL using the client setup; your own roster only, read-only |
Create a personal app at https://once.deputy.com/my/oauth_clients with the redirect
URI http://localhost:8823/callback. Create it there, not under your install's
Settings → Developer: an app made inside an install fails sign-in with
invalid_client. In Bash, replace the placeholders, sign in, then register the
server with Claude Code:
export DEPUTY_OAUTH_CLIENT_ID='your-client-id'
export DEPUTY_OAUTH_CLIENT_SECRET='your-client-secret'
uvx deputy-mcp login
claude mcp add deputy \
-e DEPUTY_OAUTH_CLIENT_ID="$DEPUTY_OAUTH_CLIENT_ID" \
-e DEPUTY_OAUTH_CLIENT_SECRET="$DEPUTY_OAUTH_CLIENT_SECRET" \
-- uvx deputy-mcp
Login opens your browser and stores OAuth tokens in your OS keychain by default.
Run login and Claude Code as the same OS user. No terminal (for example, the Claude
Desktop bundle)? Set the two OAuth values and ask the assistant to sign you in: the
deputy_login tool opens the same browser sign-in.
With your Deputy API token and install URL, register directly; no OAuth login is needed:
claude mcp add deputy \
-e DEPUTY_API_TOKEN=your-deputy-token \
-e DEPUTY_BASE_URL=https://your-company.eu.deputy.com \
-- uvx deputy-mcp
For your own roster, replace ... with your private calendar feed URL:
codex mcp add deputy --env DEPUTY_CALENDAR_URL=... -- uvx deputy-mcp
The first uvx run downloads dependencies; if Codex reports the tools as unavailable,
set startup_timeout_sec = 60 under [mcp_servers.deputy] in ~/.codex/config.toml.
Download the .mcpb bundle from the Releases page
and drag it onto Settings → Extensions (double-clicking may not open it on Windows). Fill
in one access mode under Configure, then ask Claude to sign you in.
Other MCP clients and Docker: see other ways to install.
All settings are listed in .env.example.
deputy_whoami, deputy_get_my_roster,
deputy_next_shift, deputy_get_my_timesheets, deputy_get_my_colleagues,
deputy_get_my_calendar_url, deputy_get_areasdeputy_get_team_roster, deputy_who_is_working,
deputy_get_employee_info, deputy_search_shiftsdeputy_loginDEPUTY_ALLOW_WRITES=true): deputy_clock_in,
deputy_clock_out, deputy_set_unavailability,
deputy_claim_open_shiftDEPUTY_ALLOW_WRITES=true; until then the action tools
don't exist for the agent.https://*.deputy.com
and OAuth tokens live in your OS keychain; errors are scrubbed of secrets before
an agent sees them.The same client works as a command-line tool. With no subcommand, deputy-mcp starts
the MCP server (stdio by default; local HTTP is described in the
design notes).
deputy-mcp whoami # who the credentials belong to
deputy-mcp roster [--team] # your roster, or everyone's with manager access
deputy-mcp next [--employee NAME_OR_ID]
deputy-mcp timesheets | who | areas
deputy-mcp login [--no-browser] | logout
Add --json for machine output.
uv sync # runtime and dev dependencies
uv run pytest # no network needed
uv run ruff check .
uv run mypy
See CONTRIBUTING.md for the full list of checks.
The unified CI workflow reports Safety and CI passed, the required merge checks.
It also runs lint, type checks, tests on Linux and Windows, builds, and security scans.
The Security workflow repeats the scans weekly.
| Path | Contents |
|---|---|
src/deputy_mcp/ | The package: client/ (Deputy API), server/ (MCP tools, resources, prompts), CLI, OAuth |
tests/ | Unit, client, server and agent-interface tests; live/ is opt-in and never runs in CI |
docs/ | Design notes |
examples/ | A mock Deputy server (mock_deputy.py) |
.github/workflows/ | CI, security scans and release |
Pushing a v* tag runs the release workflow (.github/workflows/release.yml). Release
notes are in the changelog.
The everyday read tools and OAuth sign-in were tested against a real Deputy install with an employee account. Manager tools, actions and the OAuth token refresh are covered by automated tests but not yet verified on a live install. Not affiliated with Deputy.