MCP Catalogs
Home

telegram-api-mcp

by timoncool·20·Score 45

Comprehensive Telegram Bot API MCP server with full v9.6 coverage, meta-mode, and advanced rate limiting.

communicationdeveloper-toolsproductivity
7
Forks
1
Open issues
1 mo ago
Last commit
2d ago
Indexed

Overview

This MCP server provides complete coverage of Telegram Bot API v9.6 with all 169 methods exposed as tools. It includes sophisticated features like rate limiting (global and per-chat), circuit breaker pattern, retry with backoff, and meta-mode for context efficiency. The server uses TypeScript with Zod validation for robust parameter checking, implements security measures like token masking and path traversal protection, and maintains minimal dependencies (only 2). The codebase follows a clean architecture with declarative method registration, making it easy to extend and maintain.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Building Telegram bots with AI assistants that can send messages, media, polls and interact with chats
you:Managing Telegram groups/channels through automated moderation and content posting
you:Integrating Telegram functionality into AI-powered workflows and automations
you:What is meta-mode and why use it?
you:How does rate limiting work?

When to choose this

Choose this server if you need comprehensive Telegram bot integration with Claude AI, especially if you're working with the latest Bot API features and require advanced features like meta-mode for token efficiency.

When NOT to choose this

Consider alternatives if you need a different messaging platform API or require features beyond what Telegram Bot API offers, as this is exclusively for Telegram.

Tools this server exposes

12 tools extracted from the README
  • telegram_find

    Search Telegram Bot API methods by keyword or category

  • telegram_call

    Call any Telegram Bot API method by name with JSON parameters

  • sendMessage

    Send text messages to a chat

  • sendPhoto

    Send photos to a chat

  • sendPoll

    Send polls to a chat

  • getChat

    Get information about a chat

  • banChatMember

    Ban a user from a chat

  • forwardMessage

    Forward messages between chats

  • editMessageText

    Edit text messages

  • getMe

    Get information about the bot

  • setMyCommands

    Set bot commands in the menu

  • sendSticker

    Send stickers to a chat

Comparable tools

slack-api-mcpdiscord-api-mcpwhatsapp-api-mcp

Installation

Installation

Claude Code

claude mcp add telegram -- npx telegram-api-mcp -e TELEGRAM_BOT_TOKEN=your_token

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "telegram": {
      "command": "npx",
      "args": ["telegram-api-mcp"],
      "env": {
        "TELEGRAM_BOT_TOKEN": "your_token_from_botfather"
      }
    }
  }
}

From source

git clone https://github.com/timoncool/telegram-api-mcp.git
cd telegram-api-mcp
npm install && npm run build
TELEGRAM_BOT_TOKEN=your_token node dist/index.js

FAQ

What is meta-mode and why use it?
Meta-mode uses only 2 tools (telegram_find and telegram_call) instead of 169, saving ~99% of context tokens. This is useful for long conversations where maintaining context for all 169 tools would be too expensive.
How does rate limiting work?
The server implements token bucket rate limiting with two levels: global (30 req/sec by default) and per-chat (20 msg/min by default). These limits match Telegram's official requirements and prevent API abuse.

Compare telegram-api-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.