Access Telegram chats and messages directly from Claude Code via MTProto protocol.
- List dialogs — see all your chats
- Search chats — find users, groups, channels by name
- Get messages — read messages with pagination
- JSON output — easy to parse by AI agents
claude plugin marketplace add toolittlecakes/telegram-skillclaude plugin install telegram@sne-plugins./tg auth login- Go 1.21+ — binaries are built automatically on first run
- Telegram account
Once installed, Claude will automatically use this skill when you ask about Telegram chats or messages.
Examples:
- "Show my recent Telegram chats"
- "Search for chat with John in Telegram"
- "Get last 20 messages from chat 123456"
| Command | Description |
|---|---|
./tg auth login |
Authenticate with Telegram |
./tg auth logout |
Remove saved session |
./tg auth status |
Check authentication status |
./tg list_dialogs |
List all chats |
./tg search_chat |
Search for a chat |
./tg get_messages |
Get messages from a chat |
MIT