Track Time with Claude Code
- Paste one prompt and Claude Code adds the Timesheet server itself
- Sign in once in the browser, no API key to copy
- Start the timer, log work and pull reports from the terminal
No credit card required. Cancel anytime.
Timesheet is the time tracker that Claude Code drives through the Timesheet MCP server and the Timesheet plugin. Claude works as you, so it only reaches the projects and data your account can see. Using Claude in the browser or the desktop app instead? See Claude or Claude Cowork.
How do I connect Timesheet to Claude Code?
Claude Code is an MCP client that can run its own setup commands. Paste the prompt below and Claude adds the hosted Timesheet server to your user configuration. You sign in once with OAuth. For the commands and agents too, install the plugin with Option 2.
Paste this into Claude Code
Claude adds the server at https://mcp.timesheet.io to your user scope, so it works in every project. All Timesheet tools, OAuth sign-in.
Connect me to Timesheet so you can track my time. 1. Run: claude mcp add --transport http --scope user timesheet https://mcp.timesheet.io 2. Tell me to run /mcp, select timesheet and sign in to Timesheet in the browser. 3. Then show my running timer and today's hours.
No API key needed. Run /mcp when Claude asks and approve access in the browser.
Install the Timesheet plugin
The plugin bundles the same connector with the Timesheet skill, five commands (start, stop, status, log, week) and two agents: a reporter for a period's hours and a reviewer that finds gaps and overlaps.
/plugin marketplace add timesheetIO/timesheet-plugin
/plugin install timesheet@timesheet
/mcpUse one route, not both. The plugin brings its own connector, and Claude Code shows the tools twice when the server is also added by hand.
You: Start the timer for Website redesign and note that I'm on the checkout flow.
Claude Code: Started the timer on Website redesign at 09:14 with the note "checkout flow". Say stop when you're done and I'll save the entry.
- What's my timer status?
- Log 90 minutes on the API refactor for yesterday
- How many hours did I bill this week?
Step by step
- 1Install Claude Code with
curl -fsSL https://claude.ai/install.sh | bashand runclaudeto sign in - 2Paste the setup prompt, or type the two plugin commands from Option 2
- 3Run
/mcp, select timesheet and approve access to Timesheet in the browser - 4Tell Claude what to start, stop or log. The entries appear in every Timesheet app right away
MCP connector vs Timesheet plugin: what is the difference?
Both reach the same Timesheet account with the same sign-in. The plugin adds the skill, slash commands and agents on top of the connector.
| Capability | MCP connector (Option 1) | Timesheet plugin (Option 2) |
|---|---|---|
| How Claude gets it | claude mcp add with the server URL | /plugin install timesheet@timesheet |
| Sign-in | OAuth in the browser through /mcp | OAuth in the browser through /mcp |
| Timer, entries, projects, reports | Yes, all Timesheet tools | Yes, the same tools |
| Slash commands | No | /timesheet:start, stop, status, log, week |
| Reporter and reviewer agents | No | Yes |
| Works without the connector | No | Yes, the skill falls back to the Timesheet CLI |
| Best for | Asking in your own words | Daily use with short commands and weekly reviews |
Recommendation: Start with the plugin if you track time in Claude Code every day. Use the connector alone if you only ask now and then, or if your team manages MCP servers in a shared .mcp.json.
What can Claude Code do with Timesheet?
Claude Code already knows what you're working on. With Timesheet connected it can turn that into accurate time entries while the context is fresh.
Timer from the terminal
Start, pause, resume and stop the timer by asking. Claude finds the project by name, so you don't need IDs.
Log finished work
"Log two hours on the migration for this morning" becomes a time entry with the right project, times and description.
Hours and reports
Ask for today's total, the week by project or billable hours, and get the numbers in the session.
Exports
Generate PDF, Excel or CSV exports from your saved templates and send them by email.
Timesheet review
The plugin's reviewer agent checks a period for gaps, overlaps, missing descriptions and unbilled work. It changes nothing.
OAuth, no API key
Claude signs in through your browser and works as you. Remove the server with
claude mcp remove timesheetto disconnect.
How does Claude Code talk to Timesheet?
Claude Code is an MCP client: it connects to tool servers and offers their tools to the model next to its own. The Timesheet MCP server runs at mcp.timesheet.io and exposes your account as tools such as timer_start, task_create, statistics_get and export_generate.
What happens after the prompt
- Claude adds the timesheet server to
~/.claude.json(user scope) - You run
/mcpand approve access to Timesheet in the browser - Claude reads the Timesheet tools and your projects
- It turns your request into the right tool call, such as starting a timer
- The entry is saved to your account and syncs to every Timesheet app
# Connector (Option 1)
claude mcp add --transport http --scope user \
timesheet https://mcp.timesheet.io
/mcp # sign in
# Plugin (Option 2)
/plugin marketplace add timesheetIO/timesheet-plugin
/plugin install timesheet@timesheet
# Commands from the plugin
/timesheet:start Website redesign
/timesheet:stop finished checkout flow
/timesheet:weekRead more in the MCP server documentation or the plugin repository.
What can I ask Claude Code?
Anything you'd tell a colleague who keeps your timesheet. Name the project, the time and what you did.
- Start of day
Start where you left off
“Start the timer for the project I worked on yesterday and tell me how long I worked on it then.”
- From your repo
Log the work from the commits
“Look at my commits since 9am and log the time on Website redesign with a short description of what changed.”
- End of week
Review the week
“Review my timesheet for this week. List gaps, overlaps and entries without a description.”
- Billing
Prepare an export
“Export last month's billable hours for Acme as a PDF and email it to me.”
Claude Code vs Claude vs Claude Cowork: which one is this?
Anthropic uses the Claude name for the chat app, the coding agent and the desktop agent. All three can use Timesheet. This page covers the coding agent.
Claude Code
This pageThe agent for the terminal, IDEs and the desktop app's Code tab. It runs commands, edits files and connects to MCP servers and plugins.
Claude
The chat app on the web, desktop and mobile. Add Timesheet as a custom connector. See Claude.
Claude Cowork
The desktop agent for knowledge work. It installs the same Timesheet plugin. See Claude Cowork.
Cost, security and troubleshooting
What does it cost?
Connecting Claude Code costs nothing extra. The MCP server, the plugin and the CLI are part of the Pro plan and above. Every plan starts with a 30-day trial, no credit card required.
Compare plans →How is access secured?
Claude Code signs in with OAuth 2.1 and PKCE. No password or API key goes into a prompt or a config file. Claude can only reach what your Timesheet account can reach. Disconnect with claude mcp remove timesheet or /plugin uninstall timesheet.
Something not working?
- No Timesheet tools: run
/mcp. If timesheet is missing, checkclaude mcp listand restart Claude Code. - Sign-in error: run
/mcp, select timesheet and choose to authenticate again. - Tools show twice: the server was added by hand and by the plugin. Remove one with
claude mcp remove timesheet. - A feature is refused: your plan may not include it. The tool answer links to the plans.
Frequently asked questions
How do I connect Timesheet to Claude Code?
Paste the setup prompt from this page, or run claude mcp add --transport http --scope user timesheet https://mcp.timesheet.io yourself. Then run /mcp, select timesheet and sign in to Timesheet in the browser.
Is there an official Timesheet plugin for Claude Code?
Yes. Run /plugin marketplace add timesheetIO/timesheet-plugin and /plugin install timesheet@timesheet. The plugin bundles the connector, the Timesheet skill, five commands and two agents. It is also listed in Anthropic's plugin directory.
Do I need an API key?
No. Claude Code signs in with OAuth in your browser. An API key is only needed for the local server (npx -y @timesheet/mcp) or the CLI in automation, and you create it in the web app under Integrations > API Keys.
Which plan do I need?
The Pro plan or above, because the MCP server uses the Timesheet web platform. Start with a 30-day trial, no credit card required.
Can Claude Code log time for work it did in the session?
Yes. Ask it to log the time it spent with you, for example "log this session on Website redesign with a summary of what we changed". Claude creates the entry with your project and a description.
Does it work with the Claude desktop app's Code tab and IDE extensions?
Yes. They run Claude Code underneath and use the same MCP configuration and plugins.
Can I share the setup with my team?
Yes. Add the server with --scope project and Claude Code writes it to .mcp.json in the repository. Each person still signs in with their own Timesheet account.
Is it safe to let Claude Code change my time entries?
Claude asks for permission before it calls a tool, unless you allow it. Deleting and stopping are marked as destructive, so Claude Code treats them with care. Every change shows up in your Timesheet account right away.
Let Claude Code keep your timesheet
One prompt, one sign-in, and your hours are tracked where you already work.
No credit card required. Cancel anytime.