Skip to main content
Glama
telegram-channel-mcp

telegram-channel-mcp

by arShen6
README.md
# telegram-channel-mcp

**Zero-Login, Zero-Ban Telegram Public Channel MCP Server & CLI** for Claude Desktop, Cursor, Windsurf, Claude Code, and AI agents.

Scrape public Telegram broadcast channels (`t.me/s/<channel>`) and run native server-side `?q=` keyword searches **without registering phone numbers, managing MTProto sessions, or paying for proxies**. Powered by [`vayneshen/telegram-public-channel-monitor`](https://apify.com/vayneshen/telegram-public-channel-monitor) on Apify.

## Features

- **No Login / No Phone Bans**: Reads public Telegram web previews cleanly; private invite links (`t.me/+`) return `$0` diagnostics without breaking batches.
- **Native `?q=` Server-Side Search + Built-in Pools**: Search `"BTC"`, `"ETF"`, `"listing"`, or `"AI"` across curated `crypto_web3`, `telegram_official`, or `global_news` pools in ~2 seconds.
- **Crypto & OSINT Signal Extraction**: Extracts `$Tickers`, EVM (`0x...`) contracts, context-verified Solana mint addresses, `@mentions`, `#hashtags`, external links, `viewsPerHour` velocity, and `isViralSpike`.
- **Cross-Run Incremental Delta (`$0` on Seen Posts)**: Persist `lastPostNumber` across scheduled runs.

## Quick Start (Claude Desktop / Cursor / Claude Code)

Get a free `$5/mo` Apify API token (thousands of live Telegram posts free every month) at [Apify Integrations](https://console.apify.com/settings/integrations), then add to your MCP config:

```json
{
  "mcpServers": {
    "telegram-channel-mcp": {
      "command": "npx",
      "args": ["-y", "telegram-channel-mcp"],
      "env": {
        "APIFY_TOKEN": "apify_api_YOUR_TOKEN_HERE"
      }
    }
  }
}
```

## CLI Usage

```bash
# Preview sample output (no token required)
npx -y telegram-channel-mcp --sample

# Run live keyword search across crypto channels
APIFY_TOKEN=your_token npx -y telegram-channel-mcp --live --channels cointelegraph,whale_alert_io --q BTC --limit 20
```

## Available MCP Tools

| Tool | Description |
| :--- | :--- |
| `scrape_telegram_channels` | Scrape latest posts, profiles, `$Tickers`, EVM/Solana contracts & viral velocity from custom handles or built-in pools (`crypto_web3`, `telegram_official`, `global_news`). |
| `search_telegram_keywords` | Native server-side `?q=` keyword search across public Telegram channels. |
| `get_sample_telegram_signals` | Free no-token schema & data preview. |

## Links

- **Hosted Apify Actor**: [Telegram Public Channel Scraper & Keyword Monitor (No Ban)](https://apify.com/vayneshen/telegram-public-channel-monitor)
- **Sample Dataset**: [Hugging Face](https://huggingface.co/datasets/vayneshen/telegram-crypto-channels-posts-and-signals) · [Kaggle](https://www.kaggle.com/datasets/vayneshen/telegram-crypto-channels-posts-and-signals)

TDQS

A3.7/5.0

Scored across 3 tools

Disambiguation4/5

The two primary tools overlap in output shape (both return posts with extracted $Tickers, contract addresses, and viewsPerHour), but their intent is distinguished: bulk recent-post scraping vs. server-side keyword-filtered historical lookup. The sample tool is clearly distinct as a token-free preview, so misselection risk is limited but non-zero.

Naming Consistency5/5

All three tools follow a strict verb_noun snake_case pattern: scrape_telegram_channels, search_telegram_keywords, get_sample_telegram_signals. The repeated 'telegram' token is redundant but reinforces a predictable convention.

Tool Count3/5

Three tools is thin for the surface area, and one of them is essentially a demo (get_sample_telegram_signals), leaving only two functional operations. It is defensible for a narrowly scoped read-only signal scraper, but sits at the borderline of under-scoped.

Completeness3/5

The server is read-only by design, yet there is no way to discover or resolve channels (no list_channels or get_channel_info), so an agent must already know channel handles. Post-level retrieval, comment/thread access, and any delta/history query as a standalone operation are also absent.