Timebook Cli logo

Timebook Cli

by squidcode

Connects AI agents to Timebook for timers, projects, clients, and time-entry management over stdio or hosted OAuth.

Install Timebook Cli

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "squidcode-timebook-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@squidcode/timebook"
      ],
      "env": {
        "TIMEBOOK_API_URL": "YOUR_VALUE_HERE",
        "TIMEBOOK_WEB_URL": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.

npx -y @squidcode/timebook

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

squidcode/timebook-cli MCP server connects AI agents to a Timebook account for project, client, timer, and time-entry operations. It runs locally through the `timebook mcp` command over stdio, reusing a token created by `timebook login`, or through Timebook’s hosted Streamable HTTP endpoint with OAuth. Reach for it when an agent needs to track work, inspect recent entries, or correct time records in Timebook. Node.js 18.17 or newer is required for the CLI installation.

Use cases

  • Start and stop timers for client projects
  • Log manual work with durations or timestamps
  • Review recent entries by project and date
  • Correct or remove time entries created by the current token

Key features

  • Timebook project and client discovery
  • Live timer control
  • Manual time logging
  • Filtered entry history
  • Entry editing and deletion
  • Local stdio and hosted OAuth MCP access

Tools10

What Timebook Cli lets your agent do. Expand a tool for its parameters.

Self-reported~151 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

24/25 checks healthy over the last 104d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev · @squidcode/timebook (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads387Package downloads in the last 30 days.
Last commit5mo agoMost recent push to the default branch.
Install checkRunsOur sandbox started it; it then asked for an API key or config.
Tools exposed10Callable tools this server registers over MCP.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How Timebook Cli works

What squidcode/timebook-cli does

squidcode/timebook-cli exposes Timebook account operations to MCP-compatible AI clients. It covers both live timers and manually recorded work, allowing an agent to inspect the authenticated user, discover available clients and projects, check the current timer, and manage time entries.

The server is intended for freelancers and solo LLC users who keep project-based time records in Timebook. Read operations include identity, project, client, active-timer, and entry queries. Write operations can start or stop a timer, create a manual entry, modify an existing entry, or delete one.

How it works

The package is both a command-line client and an MCP server. Run timebook mcp to expose the tools over stdio to a local MCP host. The server reads the token saved by the CLI after browser-based authentication. A login scope controls which clients and projects the token can access.

A hosted option is available at https://usetimebook.com/mcp. It supports Streamable HTTP and OAuth 2.0, including dynamic client registration, PKCE, and refresh-token rotation. Clients that prefer a pasted credential can send an existing tbk_* API token as a bearer token.

Setup and configuration

Install with npx @squidcode/timebook login for a one-off use, or install @squidcode/timebook globally with npm. Node.js 18.17 or newer is required. Run timebook login once, complete the browser consent flow, and then configure the MCP host to invoke npx -y @squidcode/timebook mcp or the globally installed timebook mcp command.

The credential is stored locally with restrictive file permissions. macOS, Linux, and Windows use different standard configuration paths. API and web hosts can be overridden with TIMEBOOK_API_URL and TIMEBOOK_WEB_URL, or with corresponding options during login. These settings support self-hosted or local development environments.

Tools and capabilities

The squidcode/timebook-cli MCP server provides:

  • whoami, list_projects, and list_clients for account and scope discovery.
  • get_active_timer to return the running timer or null.
  • start_timer and stop_timer for live tracking.
  • log_time for entries defined by a duration or by start and end timestamps.
  • list_entries with project and date filters; it returns 50 entries by default and accepts up to 500.
  • update_entry for description, duration, timestamps, project, or rate changes.
  • delete_entry for removing an entry.

Limitations and notes

Update and delete operations require the token to own the target entry. Web-session JWTs and admin tokens bypass that restriction, while ordinary tokens do not. Invoiced entries are locked through the API. A denied modification returns a 403 response.

The CLI and local MCP process report no telemetry. Tool data passes through the selected MCP host and its normal model-context pipeline. Tokens can be revoked from Timebook’s API-token settings.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Timebook Cli

squidcode/timebook-cli is an MCP server that connects AI agents to Timebook, a time tracking and bookkeeping service. Its main tools identify the user, list projects and clients, control active timers, log time, list entries, and update or delete entries subject to token ownership and invoicing restrictions.

Install it with `npx @squidcode/timebook login` for one-off use or `npm install -g @squidcode/timebook` for a global CLI. Node.js 18.17 or newer is required. After login, configure your MCP client to run `npx -y @squidcode/timebook mcp` or `timebook mcp`.

Yes. Cursor is named as a supported MCP host in the project documentation. Configure it to launch the local stdio command, then run `timebook login` first so the server can reuse the saved Timebook token.

Yes, through the hosted endpoint at `https://usetimebook.com/mcp`. It supports Streamable HTTP and OAuth 2.0, and can be added from Claude.ai’s connector settings. Clients that support token authentication may also send an existing `tbk_*` bearer token.

The token must have created the entry, unless it is an admin token or a web-session JWT. Invoiced entries cannot be changed through the API. A 403 response indicates that the operation is not authorized.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTimebook Cli AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/squidcode-timebook-cli?style=directory)](https://allmcps.com/mcp/squidcode-timebook-cli)
HTML Embed
<a href="https://allmcps.com/mcp/squidcode-timebook-cli"><img src="https://allmcps.com/api/badge/squidcode-timebook-cli?style=directory" alt="Timebook Cli on AllMCPs" /></a>