All How-To Guides

2 Ways to Use Telegram with Claude Code

How to use Telegram with Claude Code?

2 MCP servers featured

Telegram is widely used for personal and group messaging. MCP servers can connect Claude to your Telegram account for reading messages, accessing chats, and sending content. Here are the options for Telegram integration.

Recommended MCP Servers

Telegram MCP

chaindead/telegram-mcp

>200

Telegram API integration for accessing user data, managing dialogs, and sending messages.

Key Features

  • Read messages and dialogs
  • Send messages
  • Access chats and channels
  • User data access

Installation

npx telegram-mcp

The Telegram MCP provides comprehensive access to your Telegram account. Read messages, access chats, and send content. Uses the Telegram API for authenticated access to your account data.

Best for: Complete Telegram integration View on GitHub

Fetch MCP + Telegram Bot API

anthropics/mcp-server-fetch

>2k

Use the Telegram Bot API directly for bot-based interactions.

Key Features

  • Bot API access
  • Send messages via bot
  • Receive updates
  • Inline keyboards

Installation

npx @modelcontextprotocol/server-fetch

For bot-based Telegram integration, use the Fetch MCP to call the Telegram Bot API. Create a bot with BotFather and use it to send messages and receive updates.

Best for: Telegram bots View on GitHub

Quick Comparison

MCPStarsBest ForProsCons
Telegram MCP>260Full account accessComplete integrationAccount access
Fetch + Bot API>2kBot interactionsOfficial APIBot only

Getting Started

To use Telegram with Claude Code:

  1. For full account access, install Telegram MCP:

    npx telegram-mcp
    
  2. For bot integration, create a bot with @BotFather and use Fetch MCP.

Example prompt: "Check my Telegram messages from the last hour and summarize any important ones."

Related Guides