Reads and extracts Telegram data via MTProto to facilitate message analysis, chat listing, and media downloads.
tg-cli is a specialized Claude Code skill that provides read-only access to Telegram data using the native MTProto protocol, bypassing the limitations of the standard Bot API. It allows Claude to help you fetch message histories, list private or group chats, and download media attachments across multiple accounts directly from your terminal. This skill is specifically designed for secure data extraction and archiving, ensuring that no messages are sent or data modified during the process.
Key Features
01Multi-account session management with system keychain integration
02Read-only access to Telegram messages and chat history
035 GitHub stars
04JSON output support for seamless integration with automation tools like jq
05Support for private chats, groups, supergroups, and channels
06Direct media attachment downloading with configurable output paths
Use Cases
01Automating the backup of media and documents from specific Telegram channels
02Searching and filtering message histories across multiple accounts without a UI
03Extracting historical chat data for research and sentiment analysis