Timesheet MCP Server
OfficialControl Timesheet time tracking from AI assistants — start/stop timers, log work, pull statistics and exports, request time off, and manage projects and teams via natural language.
Timer control: start, pause, resume, stop, check status, and edit the running timer (description, location, billability, mood).
Time entries: list, create, update, and delete tasks; add notes, expenses, and manual breaks.
Statistics: totals, billable/non-billable hours, break hours, and task counts for a date range, filterable by project, team, user, tag, and billing status.
Reports and exports: generate Excel/CSV/PDF exports, email exports, use export templates, and produce PDFs/XML of documents, tasks, expenses, and notes.
Projects and teams: create, update, delete, and view projects; list teams and filter projects by team.
Time off: list, create, update, delete, approve, reject, and cancel absences, plus manage absence types.
Account/auth: configure API key authentication and custom API base URL.
Click on "Deploy 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., "@Timesheet MCP Server Start timer for Project website redesign"
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.
Timesheet MCP Server
Control Timesheet with natural language from AI assistants such as ChatGPT, Claude, Claude Code, Cursor, and VS Code. Start and stop timers, log past work, pull statistics and exports, request time off, and manage projects and teams by chatting.
The server supports the current version of the Model Context Protocol (2026-07-28) and the earlier ones, so it works with new and older clients alike. The full guide is at docs.timesheet.io.
Two ways to connect
Hosted server | Local server | |
Address |
| Runs on your computer with |
Sign-in | Your Timesheet account (OAuth 2.1), or an API key | An API key |
Requirements | None | Node.js 20 or higher |
Both offer the same tools. You need a Timesheet Pro plan or above, which includes API access.
Related MCP server: WorkTracker MCP Server
Get an API key
In the Timesheet web app, go to Integrations > API Keys, select New API Key, and copy the key. The same key works for the hosted server, the local server, and the Timesheet API.
Use the hosted server
ChatGPT: turn on developer mode, add a connection with the URL https://mcp.timesheet.io, and sign in with your Timesheet account when asked.
Claude Code with an API key:
claude mcp add --transport http --scope user timesheet https://mcp.timesheet.io --header "Authorization: Bearer your-api-token-here"Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"timesheet": {
"url": "https://mcp.timesheet.io",
"headers": { "Authorization": "Bearer your-api-token-here" }
}
}
}Use the local server
Claude Code:
claude mcp add timesheet --scope user -e TIMESHEET_API_TOKEN=your-api-token-here -- npx -y @timesheet/mcpClaude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows), and other clients with the same format:
{
"mcpServers": {
"timesheet": {
"command": "npx",
"args": ["-y", "@timesheet/mcp"],
"env": {
"TIMESHEET_API_TOKEN": "your-api-token-here"
}
}
}
}Restart the client after you change its configuration. The guide has the setup for VS Code and other clients.
Example prompts
"Start the timer for the website project"
"Pause my timer, I'm taking lunch", then "Stop the timer"
"Log 2 hours on the API project for Monday"
"What did I work on yesterday?"
"How many billable hours did I track in September?"
"Email the September timesheet for Acme as a PDF to billing@acme.com"
"Book me off next Friday"
"Who on my team is tracking right now?"
Tools
The server offers more than 100 tools. The assistant picks the right ones, so you do not need to name them.
Area | What the tools do |
Timer | Start, pause, resume, stop, and edit the running timer |
Time entries | List, create, update, and delete entries, and add notes, expenses, and breaks |
Statistics | Totals, billable hours, and per-project and daily breakdowns for up to a year |
Reports and exports | Excel, CSV, and PDF exports, export templates, and PDFs of documents, tasks, expenses, and notes |
Projects, todos, and tags | Manage projects and their members, todos, tags, and rates |
Time off and contracts | Request, approve, and cancel absences, and manage absence types and contracts |
Teams and organizations | Manage members and invitations, and see who is tracking time right now |
Account | View and update your profile and settings |
The guide lists every tool.
Interactive cards
In clients that support MCP Apps, such as ChatGPT and Claude, the timer, projects, time entries, statistics, exports, and absence requests appear as interactive cards. A card appears when you ask to see something and after each change; a lookup on the way shows none. The cards follow the client's light or dark theme and language. Other clients show the same information as text.
Development
npm install
npm run build # server and widgets
npm test # unit tests
npm run test:e2e # both protocol versions over stdio and HTTP, against the build
npm run dev # HTTP server on http://127.0.0.1:3000The HTTP server uses TIMESHEET_API_TOKEN for requests that bring no credentials, so leave it unset whenever the server can be reached from outside your computer. See .env.example for the other settings.
Troubleshooting
Nothing responds, or you get an authentication error: check that
TIMESHEET_API_TOKENis set without extra spaces or quotes, and that the key still exists in Integrations > API Keys.The command is not found: check that Node.js 20 or higher is installed with
node --version.A tool reports that it needs a higher plan: the MCP server works with a Pro plan or above.
License
MIT, see LICENSE.md.
Support
Report problems and ideas at github.com/timesheetIO/timesheet-mcp/issues.
Available Tools
50 toolsabsence_approveApprove AbsenceBIdempotentInspect
Approve a pending absence.
Inputs: organizationId (required), id (required). Returns: id, success, deletedId
absence_cancelCancel AbsenceCIdempotentInspect
Cancel an absence with a reason.
Inputs: organizationId (required), id (required), reason (required). Returns: id, success, deletedId
absence_createCreate AbsenceBInspect
Create a new absence (vacation, sick leave, etc.).
Inputs: organizationId (required), contractId (required), absenceTypeId (required), startDateTime (required), +6 more. Returns: id, success, deletedId
absence_deleteDelete AbsenceCDestructiveIdempotentInspect
Delete an absence.
Inputs: organizationId (required), id (required). Returns: id, success, deletedId
absence_getGet AbsenceBRead-onlyInspect
Get a single absence by ID.
Inputs: organizationId (required), id (required).
absence_listList AbsencesARead-onlyInspect
List absences in an organization. Filter by contract, user, type, status, date range.
Inputs: organizationId (required), contractId, userId, absenceTypeId, +9 more. Returns: items, totalCount
absence_rejectReject AbsenceBIdempotentInspect
Reject a pending absence with a reason.
Inputs: organizationId (required), id (required), reason (required). Returns: id, success, deletedId
absence_type_listList Absence TypesBRead-onlyInspect
List absence types for an organization (vacation, sick, etc.).
Inputs: organizationId (required), limit, page, search. Returns: items, totalCount
absence_updateUpdate AbsenceCIdempotentInspect
Update an absence.
Inputs: organizationId (required), id (required), startDateTime, endDateTime, +5 more. Returns: id, success, deletedId
auth_configureConfigure API AuthenticationAInspect
Use this when the user needs to configure API key authentication for the Timesheet MCP server. NOTE: This will be deprecated once OAuth 2.1 is implemented.
Inputs: apiKey (required), baseUrl. Returns: success
export_fieldsGet Export FieldsARead-onlyInspect
Use this when the user wants to see what fields/columns are available for customizing exports.
Inputs: scope. Returns: fields
export_from_templateExport from TemplateARead-onlyInspect
Use this when the user wants to generate an export using a previously saved template with specific date range.
Inputs: templateId (required), startDate (required), endDate (required). Returns: success, size
export_generateGenerate Timesheet ExportARead-onlyInspect
Use this when the user wants to export their timesheet data in Excel (xlsx), CSV, or PDF format. Returns a download URL for the export file.
Inputs: report (required), startDate (required), endDate (required), format, +9 more. Returns: url
export_report_typesGet Export Report TypesARead-onlyInspect
Use this when the user wants to see what report types are available for export (e.g., detailed, summary, by project).
Inputs: no named parameters. Returns: reports
export_sendSend Export via EmailBInspect
Use this when the user wants to generate and send a timesheet export directly to an email address.
Inputs: email (required), report (required), startDate (required), endDate (required), +4 more. Returns: success, email
export_template_createCreate Export TemplateAInspect
Use this when the user wants to save their export configuration as a reusable template.
Inputs: name (required), report, format, teamIds, +8 more. Returns: id, name
export_template_deleteDelete Export TemplateADestructiveIdempotentInspect
Use this when the user wants to delete an export template. This cannot be undone.
Inputs: templateId (required). Returns: success, deletedId
export_template_getGet Export TemplateARead-onlyInspect
Use this when the user wants to view details of a specific export template.
Inputs: templateId (required). Returns: id, name, report, format, +2 more
export_template_listList Export TemplatesARead-onlyInspect
Use this when the user wants to see their saved export templates for quick recurring exports.
Inputs: limit, page, search, sort, +1 more. Returns: templates, totalCount
export_template_updateUpdate Export TemplateAInspect
Use this when the user wants to modify an existing export template.
Inputs: templateId (required), name, report, format, +2 more. Returns: id, name
project_createCreate ProjectAInspect
Use this when the user wants to create a new project to organize their time tracking.
Inputs: title (required), description, color, teamId, +1 more. Returns: id, title
project_deleteDelete ProjectADestructiveIdempotentInspect
Use this when the user wants to permanently delete a project. WARNING: This is a destructive operation that cannot be undone. All associated tasks will remain but will lose their project association.
Inputs: id (required). Returns: success, deletedId
project_getGet ProjectARead-onlyInspect
Use this when the user wants to view detailed information about a specific project.
Inputs: id (required). Returns: id, title, description, color, +1 more
project_listList ProjectsARead-onlyInspect
Use this when the user wants to view their projects. IMPORTANT: When the user asks for a specific number (e.g., "show me 5 projects"), use the limit parameter to control how many projects are returned. Always use pagination to avoid loading all projects unnecessarily. Supports filtering by team, status, date ranges, and text search.
Inputs: limit, page, teamId, teamIds, +11 more. Returns: projects, totalCount
project_updateUpdate ProjectAInspect
Use this when the user wants to modify an existing project's details such as title, description, or archive status.
Inputs: id (required), title, description, archived. Returns: id, title
report_document_getGet Document Report DataARead-onlyInspect
Use this when the user wants to retrieve formatted document/invoice data including tasks, expenses, and financial calculations. Returns JSON data ready for display.
Inputs: documentId (required). Returns: documentTitle, invoiceNumber, totalAmount, tasks
report_document_pdfGenerate Document PDFARead-onlyInspect
Use this when the user wants to generate and download a PDF version of a document/invoice. Returns a download URL for the PDF file.
Inputs: documentId (required). Returns: success, size, message
report_document_xmlGenerate Document XMLARead-onlyInspect
Use this when the user wants to generate XML representation of a document for e-invoicing (Zugferd, XRechnung, ebInterface). Returns XML data for electronic invoice processing.
Inputs: documentId (required). Returns: success, xml
report_expense_getGet Expense Report DataARead-onlyInspect
Use this when the user wants to retrieve formatted expense data including amounts and receipt information.
Inputs: expenseId (required). Returns: expenseDate, expenseAmount, expenseDescription
report_expense_pdfGenerate Expense PDFARead-onlyInspect
Use this when the user wants to generate and download a PDF report for a specific expense including receipt images.
Inputs: expenseId (required). Returns: success, size
report_note_getGet Note Report DataARead-onlyInspect
Use this when the user wants to retrieve formatted note data including content and attachments.
Inputs: noteId (required). Returns: noteDate, noteContent, noteAuthor
report_note_pdfGenerate Note PDFARead-onlyInspect
Use this when the user wants to generate and download a PDF report for a specific note including images.
Inputs: noteId (required). Returns: success, size
report_task_getGet Task Report DataARead-onlyInspect
Use this when the user wants to retrieve formatted task data including time tracking, rates, and project details.
Inputs: taskId (required). Returns: taskDate, taskDuration, projectName, taskTotal
report_task_pdfGenerate Task PDFBRead-onlyInspect
Use this when the user wants to generate and download a PDF report for a specific task.
Inputs: taskId (required). Returns: success, size
statistics_getGet StatisticsARead-onlyInspect
Use this when the user wants to see time tracking statistics, summaries, or reports for a date range. Returns aggregated totals, project breakdowns, and daily/weekly hour charts.
Inputs: startDate (required), endDate (required), projectId, projectIds, +5 more. Returns: totalHours, billableHours, nonBillableHours, totalTasks, +3 more
task_add_expenseAdd Expense to TaskAInspect
Use this when the user wants to record an expense or cost associated with the currently running task, such as travel, materials, or client entertainment.
Inputs: description (required), amount (required), dateTime. Returns: success, expenseDescription, amount
task_add_noteAdd Note to TaskAInspect
Use this when the user wants to add a text note or comment to the currently running task for future reference or documentation.
Inputs: text (required), dateTime. Returns: success, noteText
task_add_pauseAdd Manual Pause to TaskAInspect
Use this when the user wants to manually record a past break or pause period that was not tracked in real-time.
Inputs: startDateTime (required), endDateTime (required), description. Returns: success, duration
task_createCreate TaskAInspect
Use this when the user wants to manually create a time entry for past work, rather than using the timer.
Inputs: projectId (required), startDateTime (required), endDateTime, description, +1 more. Returns: id, duration
task_deleteDelete TaskADestructiveIdempotentInspect
Use this when the user wants to permanently delete a time entry. WARNING: This is a destructive operation that cannot be undone.
Inputs: id (required). Returns: success, deletedId
task_getGet TaskARead-onlyInspect
Use this when the user wants to view detailed information about a specific time entry/task.
Inputs: id (required). Returns: id, description, projectTitle, startDateTime, +3 more
task_listList TasksARead-onlyInspect
Use this when the user wants to view their time entries. IMPORTANT: When the user asks for a specific number (e.g., "show me 10 tasks"), use the limit parameter to control how many tasks are returned. Always use pagination to avoid loading all tasks unnecessarily. Supports extensive filtering by organization, team, project, user, tags, and more.
Inputs: limit, page, sort, order, +21 more. Returns: tasks
task_updateUpdate TaskAInspect
Use this when the user wants to modify details of an existing time entry such as times, description, or billing status.
Inputs: id (required), description, startDateTime, endDateTime, +3 more. Returns: success, id
team_listList TeamsARead-onlyInspect
Use this when the user wants to view or search for teams. IMPORTANT: Use this tool to find team IDs by searching team names, which can then be used to filter projects. Supports text search and pagination.
Inputs: search, limit, page, organizationId, +2 more. Returns: teams, totalCount
timer_pausePause TimerAInspect
Use this when the user wants to pause the timer to take a break. This temporarily stops time tracking while keeping the task active.
Inputs: startDateTime. Returns: status
timer_resumeResume TimerAInspect
Use this when the user wants to resume time tracking after a break or pause. This restarts the timer from its paused state.
Inputs: endDateTime. Returns: status
timer_startStart TimerAInspect
Use this when the user wants to begin tracking time on a specific project. The user can optionally specify a custom start time in the past, otherwise it defaults to now.
Inputs: projectId (required), startDateTime. Returns: status, projectTitle, projectId, duration, +1 more
timer_statusGet Timer StatusARead-onlyInspect
Use this when the user wants to check the current state of their timer, including whether it's running, paused, or stopped, and details about the active task.
Inputs: no named parameters. Returns: status, projectTitle, projectId, description, +3 more
timer_stopStop TimerAInspect
Use this when the user wants to stop the currently active timer and complete the time tracking session. The user can optionally specify when the timer should be stopped.
Inputs: endDateTime. Returns: status, duration, hours, minutes
timer_updateUpdate Timer TaskAInspect
Use this when the user wants to modify details of the currently running timer task, such as description, location, billability, or mood rating.
Inputs: description, location, locationEnd, feeling, +1 more. Returns: success
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 50 tools
Tools are grouped by domain (absence, export, project, task, timer, etc.) with clear purposes. However, there are many similar tools like 'export_generate' vs 'export_send' and multiple report tools, which could cause slight confusion despite good descriptions.
All tools follow a consistent 'domain_verb' pattern (e.g., absence_create, export_generate, timer_start). No mixing of conventions or vague names.
50 tools is excessive for a timesheet server. Many tools are granular (e.g., separate tools for each report action) and could be consolidated. This adds unnecessary complexity for agents.
Covers core CRUD for absences, projects, tasks, exports, and timers. Missing team creation/update and absence type creation/update, but these are minor gaps for the domain.
Maintenance
Related MCP Connectors
Manage Timequip projects, tasks, comments, members, and dashboards through MCP.
Manage projects, tasks, time tracking, and team collaboration through natural language.
Connects AI assistants to TrackingTime for querying time entries, projects, tasks, customers, and team data using natural language.
Invoicing you drive by talking to your AI: log time, raise invoices and track what's owed via MCP.
Related MCP Servers
- AlicenseCqualityCmaintenanceEnables interacting with Clockify time-tracking data through natural language, providing tools to manage workspaces, projects, time entries, reports, and more via the MCP protocol.4842 PyPI1MIT
- AlicenseNot gradedqualityCmaintenanceEnables natural language time tracking and booking for WorkTracker via MCP tools, allowing users to assign time, list projects, and manage daily schedules through conversational commands.MIT
- FlicenseNot gradedqualityCmaintenanceExposes the full public TSheets REST API v1 as MCP tools, enabling time tracking, scheduling, and PTO management operations via natural language.-
- AlicenseAqualityCmaintenanceEnables viewing, creating, and managing time registrations, absences, and timesheet approvals through the Timelog API using natural language.211ISC