# Timebook MCP server

> Lets an AI client track time, manage timers, and log entries directly to your Timebook account.

- Repository: https://github.com/squidcode/timebook-cli
- Page: https://hostedmcp.org/servers/squidcode/timebook-cli
- Transport: stdio, remote
- Stars: 2
- License: MIT
- Latest version: 0.6.0

## Install

### Claude Code

```sh
claude mcp add timebook-cli -- npx -y @squidcode/timebook
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "timebook-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@squidcode/timebook"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "timebook-cli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@squidcode/timebook"
      ]
    }
  }
}
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "timebook-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@squidcode/timebook"
      ]
    }
  }
}
```

### Codex (`~/.codex/config.toml`)

```toml
[mcp_servers.timebook-cli]
command = "npx"
args = ["-y", "@squidcode/timebook"]
```

### Gemini CLI (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "timebook-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@squidcode/timebook"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `TIMEBOOK_API_URL` | no | no | Override the Timebook API base URL. Defaults to https://usetimebook.com. |
| `TIMEBOOK_WEB_URL` | no | no | Override the Timebook web URL used during `timebook login`. Defaults to https://usetimebook.com. |

## Tools (10)

- `whoami`
- `list_projects`
- `list_clients`
- `get_active_timer`
- `start_timer`
- `stop_timer`
- `log_time`
- `list_entries`
- `update_entry`
- `delete_entry`

## FAQ

### How do I authenticate the Timebook MCP server?

Run `timebook login` in your terminal once to authenticate via your browser; the MCP server will then reuse the saved token.

### Can the AI delete or edit my time entries?

Yes, but an API token can only modify or delete entries that it created itself; invoiced entries are locked.
