compare - WireCatLabs/tg-cli GitHub Wiki

Compared with other tools

Several open tools already connect a personal Telegram account to a terminal or an AI agent. This page puts tg next to three of them, so you can see at a glance which tool does what and pick the one that fits your job. The marks come from each project's own documentation; a tool may do more than its documentation says.

The tools:

  • tg โ€” this tool: a command line and an MCP server for your account, with a local archive.
  • tgcli โ€” a command line with background sync and an MCP server.
  • telegram-mcp โ€” an MCP server that gives an agent a large set of Telegram actions.
  • tdl โ€” a fast downloader and uploader for files and media.

โœ… yes ยท ๐ŸŸก partly ยท โŒ no ยท โž– not in its documentation

Features

Feature tg tgcli telegram-mcp tdl
Your personal account โœ… โœ… โœ… โœ…
A bot through the Bot API โœ… โŒ โž– โž–
Read chats and history โœ… โœ… โœ… ๐ŸŸก
Send messages โœ… โœ… โœ… ๐ŸŸก
Files and media โœ… โœ… โœ… โœ…
A local archive kept current โœ… โœ… โž– โž–
Search the archive without connecting โœ… โœ… โž– โž–
Search on Telegram's server โœ… โœ… โœ… โž–
Search by meaning โœ… โž– โž– โž–
MCP server โœ… โœ… โœ… โž–
Remote MCP with its own login โœ… ๐ŸŸก ๐ŸŸก โž–
Skill for agents with a terminal โœ… โœ… ๐ŸŸก โž–
JSON output โœ… โœ… ๐ŸŸก โœ…
Several accounts โœ… โž– โœ… โœ…
Limits for an agent: read-only, allowed chats, hourly cap โœ… โž– ๐ŸŸก โž–
Run a group or channel โœ… ๐ŸŸก โœ… ๐ŸŸก
Scheduled messages โœ… โœ… โœ… โž–
Forum topics โœ… โœ… โœ… ๐ŸŸก
Contacts with private names and notes โœ… โœ… โœ… โž–
Background service โœ… โœ… ๐ŸŸก โž–
Export chats โœ… โž– ๐ŸŸก โœ…

Install and licence

tg tgcli telegram-mcp tdl
Install npm, pnpm, Bun npm, Homebrew git and uv, Docker, Claude Desktop extension one binary, Homebrew, Scoop, AUR, Nix, Docker
Written in TypeScript JavaScript Python Go
Licence MIT MIT Apache-2.0 AGPL-3.0

When another tool fits better

  • tdl โ€” you mostly move files: bulk downloads, uploads and forwarding at full speed, from one binary that most package managers can install.
  • telegram-mcp โ€” you want the widest set of agent actions in Claude Desktop, installed in one step, with a large community behind it.
  • tgcli โ€” you install with Homebrew, want the MCP server inside the sync service, send individual messages with protected content, or keep notes on chats.

If tg fits, start with installation; to connect an agent without a terminal, see the MCP server.