timetastic-mcp
This server provides an MCP interface for the Timetastic API, enabling agentic clients to query and manage absence, leave, and related workforce data.
Absences
List who is off between specified dates (up to 31 days), merging bookings, public holidays, non-working days, and other events.
Leave Bookings (Holidays)
List holidays with rich filtering (date, status, user, department, leave type, approver, etc.) with pagination
Get a single holiday by ID
Book leave (including half-days, hourly bookings, admin overrides) for yourself, a department, or everyone
Approve, decline, or cancel individual or group bookings
Users
List, get, add, edit, archive, and restore users
Get user contact details (Pro accounts only)
Assign public holidays to a user by country/region
Departments
List, get, create, edit, and delete departments
Leave Types
List, get, create, update, and delete leave types
List valid colors and icons for leave types
Allowances
List allowances, carry-forward, and TOIL for all users or a specific user
Update annual allowances and carry-forward amounts
Add, update, and delete TOIL (Time Off In Lieu) entries
Locked Dates
List, add, and delete locked date periods (scoped to organisation, department, or user)
Public Holidays
List public holidays (filterable by country, year, or user), get a specific holiday, and list available countries
Webhooks
List recent webhook events (up to 30 days of history)
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@timetastic-mcplist upcoming holidays for Jane Doe"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Timetastic MCP
An unofficial MCP server for Timetastic, exposing the Timetastic API to agentic clients so they can query and manage absence & leave data.
Setup
You need an admin API token, generated at
https://app.timetastic.co.uk/api. The server reads it from the
TIMETASTIC_API_TOKEN environment variable.
The quickest way to run it is with uv's uvx,
which fetches and runs the published package without a manual install:
export TIMETASTIC_API_TOKEN="your-token-here"
uvx timetastic-mcpOr install it as a tool so the timetastic-mcp command is on your PATH:
uv tool install timetastic-mcp # or: pipx install timetastic-mcpOnly admin users can generate API tokens on Timetastic. The above URL is only accessible to admin users.
Related MCP server: TimePRO MCP Server
Client configuration
Add the server to your MCP client (e.g. Claude Desktop / Claude Code):
{
"mcpServers": {
"timetastic": {
"command": "uvx",
"args": ["timetastic-mcp"],
"env": { "TIMETASTIC_API_TOKEN": "your-token-here" }
}
}
}Pin a version with "args": ["timetastic-mcp@0.1.0"]. If you installed the
command on your PATH instead, use "command": "timetastic-mcp" with
"args": []. In Claude Code you can also add it from the CLI:
claude mcp add timetastic --env TIMETASTIC_API_TOKEN=your-token -- uvx timetastic-mcpTools
Tools are grouped by resource and named <verb>_<resource>.
Group | Tools |
Absences |
|
Holidays (leave bookings) |
|
Users |
|
Departments |
|
Leave types |
|
Allowances |
|
Locked dates |
|
Public holidays |
|
Webhooks |
|
Note: Timetastic calls all leave bookings "holidays" for historical reasons — the Holidays tools cover any kind of absence, not just annual leave.
Layout
The package lives under src/timetastic_mcp/:
timetastic.py— async HTTP client (auth, base URL, rate-limit retries, error handling).server.py— the sharedFastMCPinstance andget_client(), the lazily-created API client the tools call.tools/— one module per resource area, each registering its tools on the shared server:absences,holidays,users,departments,leave_types,allowances,locked_dates,public_holidays,webhooks.main.py— entry point (thetimetastic-mcpconsole script); importstoolsto register everything, then runs the server.
Development
Requires Python 3.13+ and uv.
uv sync # create the venv and install the package + dev deps
uv run pytest # run the test suite
uv run timetastic-mcp # run the server from your checkoutNotes
The API is rate limited to 5 requests/second per token (1/second for
list_absences); the client retries once on a429.Write and admin operations require appropriate permissions on the token's user account.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mlequime/timetastic-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server