Skip to main content
Glama
Telegram Channel Messages MCP Server

Telegram Channel Messages MCP Server

Telegram Channel Messages MCP Server

MCP Registry npm version npm downloads license

An MCP server for the Mamba Labs Telegram Channel Messages actor on Apify. Public Telegram channel posts as rows.

What's Inside

Related MCP server: Shadow-tg

What it does

Takes public Telegram channel usernames or t.me links and returns one row per message, newest first, with text, date, views, reactions, media links, links, and forward and reply details, plus a free summary row per channel.

All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.

Quick start

You need Node.js 18 or newer and an Apify account with an API token.

Add this to your Claude Desktop config (claude_desktop_config.json), Cursor, or any MCP client:

{
  "mcpServers": {
    "mamba-telegram-channel-messages": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-telegram-channel-messages"
      ],
      "env": {
        "APIFY_TOKEN": "your-apify-token"
      }
    }
  }
}

Restart the client. The get_telegram_channel_messages tool appears.

Prerequisites

Example prompts

  • "Get the last 50 posts from the Telegram channel durov with their view counts."

  • "What did the telegram channel post since November 1, and which post had the most views?"

Tool

get_telegram_channel_messages. One tool. Example arguments:

{
  "channels": [
    "durov"
  ],
  "max_messages_per_channel": 20
}

Inputs

Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.

Input

Type

Required

Description

channels

array

no

Public channel usernames (durov or @durov) or links (https://t.me/durov, https://t.me/s/durov). A post link such as https://t.me/durov/542 starts reading at that post and goes back from there. Private invite links do not work: only public channels have a web preview.

max_messages_per_channel

number

no

Messages to read from each channel, newest first. Telegram shows 20 a page. Default 20, maximum 5000.

since_date

string

no

Optional. A date such as 2026-11-01, or a number of days back such as 7. Reading stops at the first older message.

max_charge_usd

number

no

Optional. The run stops before a charge that would pass this amount. Summary rows are always returned.

Pricing

Pay per event on Apify, billed to your Apify account. Prices in USD.

Event

Free plan

Bronze

Silver

Gold

message-row, one channel message

$0.002

$0.0019

$0.0018

$0.0017

apify-actor-start, per run start

$0.005

$0.005

$0.005

$0.005

Channel summaries, service messages, channels with no public preview, and refused input are free. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.

Full actor documentation

apify.com/mambalabs/telegram-channel-messages

License

MIT. See LICENSE.

Available Tools

1 tool
get_telegram_channel_messagesGet Telegram channel messagesA
Read-onlyIdempotent

Read messages from public Telegram channels through the public t.me web preview. Returns one row per message with text, date, views, reactions, media links, links, hashtags, and forward and reply details, newest first, plus a free summary row per channel with title, subscriber count, and description.

Inputs: channels, since_date, max_charge_usd, max_messages_per_channel.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 1 tool

    Disambiguation5/5

    There is only one tool, so there is no possibility of selecting the wrong one. Its purpose (reading messages from public Telegram channels via t.me preview) is stated clearly and unambiguously.

    Naming Consistency5/5

    The single name follows a clear verb_noun snake_case pattern (get_telegram_channel_messages) and describes exactly what it returns. No competing conventions exist to conflict with it.

    Tool Count3/5

    One tool is a thin surface, though it fits the narrow read-only scope. Common companion operations (listing a channel, fetching a single message, paginating further back) are absent, so the single tool carries the entire server.

    Completeness3/5

    Core read capability is covered with rich output (text, views, reactions, media, forwards), but there is no way to list/discover channels or target a specific message, and no explicit paging or date-range control. Agents can work around this only by repeatedly calling the one tool.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables interaction with Telegram channels through the Bot API, supporting comprehensive messaging operations including sending text/photos, creating polls, managing reactions, and editing/deleting messages. Provides complete channel management capabilities for automated Telegram bot operations.
      7
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Read public Telegram channels from AI agents — channel metadata, posts, comments, and search. No MTProto, no Telethon, no api_id.
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables querying public Telegram channels for profile details, posting cadence, verification and scam flags, plus discovering similar channels via Telegram's own recommendations and global search.
      3
      37 npm
      1
      MIT