mcpField
D
doubletick-cli

doubletick-cli

Local
doubletickr.comDeveloper Tools2Updated 32w ago

About doubletick-cli

doubletick-cli is an open-source CLI and MCP server for tracking email reads through Gmail. It sends emails with tracking pixels and reports open status and statistics.

Key features

  1. 01Send tracked emails through Gmail
  2. 02Check whether emails were opened
  3. 03Find status by recipient or tracking ID
  4. 04List tracked emails and statistics
  5. 05Share tracking records with Chrome extension

Use cases

  1. 01Send tracked messages from a terminal
  2. 02Check whether a recipient opened an email
  3. 03Find an email's status by recipient
  4. 04Review statistics for tracked messages

MCP support

The MCP server gives AI agents tools to send tracked emails, check tracking status, and list tracked emails. Login with doubletick login is required first.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"doubletick-cli": {
"command": "npx",
"args": [
"-y",
"doubletick-cli"
]
}
}
}
Run commandnpx -y doubletick-cli

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmdoubletick-cli

Tools

3

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
ccstringNoCC recipients (comma-separated)
tostringYesRecipient email address
bccstringNoBCC recipients (comma-separated)
bodystringYesEmail body in markdown or HTML
htmlbooleanNoTreat body as raw HTML (skip markdown conversion)
subjectstringYesEmail subject

Details

From the project README

DoubleTick CLI

README image

Open-source CLI and MCP server for email read tracking via Gmail. Know when your emails are opened — from the terminal.

Works with the DoubleTick backend. Tracks from the CLI show up alongside tracks from the Chrome extension.

Install

npm install -g doubletick-cli

Quick Start

# 1. Log in with your Gmail account (one-time)
doubletick login

# 2. Send a tracked email
doubletick send --to [email protected] --subject "Q1 Planning" --body "Hi Jane, here are the numbers..."

# 3. Check if they read it
doubletick status --last

Commands

doubletick login

Authenticate with Gmail and DoubleTick. Opens your browser for Google sign-in. One-time setup — credentials are stored locally in ~/.doubletick/credentials.json.

doubletick logout

Remove stored credentials.

doubletick send

Send a tracked email. Injects a read-tracking pixel, sends via Gmail API, and registers the track.

# Send a tracked email (body is markdown by default)
doubletick send --to [email protected] --subject "Hi" --body "Hello **Jane**"

# HTML body instead of markdown
doubletick send --to [email protected] --subject "Hi" --body "<h1>Hello</h1>" --html

# Body from file
doubletick send --to [email protected] --subject "Hi" --body-file ./email.md

# With CC/BCC
doubletick send --to [email protected] --cc "[email protected]" --subject "Hi" --body "Hello"
doubletick status

Check if a tracked email has been opened.

# Most recent tracked email
doubletick status --last

# Find by recipient
doubletick status --to [email protected]

# By tracking ID
doubletick status abc-123
doubletick dashboard

List all your tracked emails with open rates and stats.

doubletick dashboard
doubletick dashboard --limit 50

MCP Server

DoubleTick works as an MCP server so AI agents (Claude Code, Claude Desktop, etc.) can send and track emails natively.

Setup

Add to your Claude configuration:

{
  "mcpServers": {
    "doubletick": {
      "command": "npx",
      "args": ["-y", "doubletick-cli"]
    }
  }
}

You must run doubletick login first — the MCP server uses the same stored credentials.

Tools
ToolDescription
send_tracked_emailSend an email with read tracking
check_tracking_statusCheck if a tracked email has been opened
list_tracked_emailsList recent tracked emails with stats

How It Works

  1. You compose an email (text or markdown)
  2. The CLI converts it to HTML, generates a tracking ID, and injects a 1x1 tracking pixel
  3. The email is sent via the Gmail API
  4. The track is registered with DoubleTick's backend
  5. When the recipient opens the email, the pixel fires and the open is logged
  6. You check the status via doubletick status

The entire DoubleTick backend (pixel serving, open logging, deduplication, device detection) works unchanged. The CLI is just a new way to inject the pixel — replacing the Chrome extension's role for terminal/agent workflows.

Architecture

doubletick CLI / MCP server
  ├── Gmail API        → send emails
  └── DoubleTick API   → register tracks, check status
        ├── GET  /img?t=<id>   → tracking pixel
        ├── POST /track        → register tracked email
        ├── GET  /status?id=   → check opens
        └── GET  /dashboard    → list tracked emails

Requirements

  • Node.js 18+
  • A Gmail account
  • A DoubleTick account (free tier: 5 tracked emails/week)

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.