B

better-tg-cli

Telegram for your terminal and your AI agents: read, search, send and press bot buttons on your own account. MCP server included.

Communication
Install Command
npx -y better-tg-cli
Claude Desktop Config
{
  "mcpServers": {
    "better-tg-cli": {
      "command": "npx",
      "args": [
        "-y",
        "better-tg-cli"
      ]
    }
  }
}

better-tg-cli is a community MCP server that connects AI assistants like Claude to telegram for your terminal and your ai agents: read, search, send and press bot buttons on your own account. mcp server included. It runs locally on your machine, keeping your data private and giving you full control over the connection. Teams can use it to automate message handling and keep Claude in the loop on conversations.

About better-tg-cli

Overview

Telegram for your terminal and your AI agents: read, search, send and press bot buttons on your own account. MCP server included.

Links

Topics

telegram, telegram-cli, telegram-client, mtproto, cli, terminal, mcp, mcp-server, model-context-protocol, ai-agents, llm, claude, claude-code, cursor, codex, agent-skills

Who Should Use better-tg-cli?

  • 1Let Claude read and send messages on your behalf
  • 2Summarize threads, draft replies, and manage notifications
  • 3Build AI-powered bots and automation for messaging platforms
  • 4Connect team communication tools to your AI workflow

How to Install better-tg-cli

Before you start

You will need Node.js (v18 or later) installed on your machine — download it from nodejs.org if you haven't already.

  1. 1Open a terminal (Terminal on Mac, Command Prompt or PowerShell on Windows).
  2. 2Paste the install command above and press Enter — Node.js will download and run the server automatically.
  3. 3Add the server to your Claude Desktop config file (see the JSON snippet above) and restart Claude.

The Claude Desktop config snippet above can be copied and pasted directly into your claude_desktop_config.json file — no editing required.

How better-tg-cli Compares

✦It runs entirely on your local machine, so no data leaves your environment — important for teams with privacy or compliance requirements.
✦It is distributed as an npm package, making version management and updates straightforward with a single `npm update` command.

Tags

telegramtelegram-clitelegram-clientmtprotocliterminalai-agentsllmclaudeclaude-code

Reviews