Skip to main content
Glama
Timesheet MCP Server

Timesheet MCP Server

Official
by timesheetIO

Timesheet MCP Server

npm version License: MIT Node.js Version MCP Compatible

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

https://mcp.timesheet.io

Runs on your computer with npx -y @timesheet/mcp

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/mcp

Claude 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:3000

The 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_TOKEN is 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 tools
absence_approveApprove AbsenceB
Idempotent
Inspect

Approve a pending absence.

Inputs: organizationId (required), id (required). Returns: id, success, deletedId

absence_cancelCancel AbsenceC
Idempotent
Inspect

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 AbsenceC
DestructiveIdempotent
Inspect

Delete an absence.

Inputs: organizationId (required), id (required). Returns: id, success, deletedId

absence_getGet AbsenceB
Read-only
Inspect

Get a single absence by ID.

Inputs: organizationId (required), id (required).

absence_listList AbsencesA
Read-only
Inspect

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 AbsenceB
Idempotent
Inspect

Reject a pending absence with a reason.

Inputs: organizationId (required), id (required), reason (required). Returns: id, success, deletedId

absence_type_listList Absence TypesB
Read-only
Inspect

List absence types for an organization (vacation, sick, etc.).

Inputs: organizationId (required), limit, page, search. Returns: items, totalCount

absence_updateUpdate AbsenceC
Idempotent
Inspect

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 FieldsA
Read-only
Inspect

Use this when the user wants to see what fields/columns are available for customizing exports.

Inputs: scope. Returns: fields

export_from_templateExport from TemplateA
Read-only
Inspect

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 ExportA
Read-only
Inspect

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 TypesA
Read-only
Inspect

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 TemplateA
DestructiveIdempotent
Inspect

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 TemplateA
Read-only
Inspect

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 TemplatesA
Read-only
Inspect

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 ProjectA
DestructiveIdempotent
Inspect

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 ProjectA
Read-only
Inspect

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 ProjectsA
Read-only
Inspect

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 DataA
Read-only
Inspect

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 PDFA
Read-only
Inspect

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 XMLA
Read-only
Inspect

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 DataA
Read-only
Inspect

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 PDFA
Read-only
Inspect

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 DataA
Read-only
Inspect

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 PDFA
Read-only
Inspect

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 DataA
Read-only
Inspect

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 PDFB
Read-only
Inspect

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 StatisticsA
Read-only
Inspect

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 TaskA
DestructiveIdempotent
Inspect

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 TaskA
Read-only
Inspect

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 TasksA
Read-only
Inspect

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 TeamsA
Read-only
Inspect

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 StatusA
Read-only
Inspect

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

    B3.4/5.0

    Scored across 50 tools

    Disambiguation4/5

    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.

    Naming Consistency5/5

    All tools follow a consistent 'domain_verb' pattern (e.g., absence_create, export_generate, timer_start). No mixing of conventions or vague names.

    Tool Count2/5

    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.

    Completeness4/5

    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

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers