DEV Community

Khadin Akbar
Khadin Akbar

Posted on

How to Scrape Telegram Channels in 2026 — Free MCP + Apify Actor (No Login Required)

Telegram has become one of the most valuable intelligence sources on the internet. Crypto alpha, B2B leads, community signals, competitor monitoring — it's all flowing through public channels right now.

The problem? There's no official Telegram API for scraping public channels without a registered account. Every guide you find either requires a phone number, developer app credentials, or hits rate limits within minutes.

This guide shows you how to scrape any public Telegram channel in 2026 — no account, no API key, no rate limits — using a free Apify actor and an MCP server that works directly inside Claude and Cursor.


What You'll Be Able to Do

By the end of this guide you'll be able to:

  • Scrape messages from any public Telegram channel
  • Extract emails, phone numbers, and links for lead generation
  • Get subscriber counts and channel metadata
  • Discover related channels via forwarded message analysis
  • Do all of this from inside Claude Desktop or Cursor with zero code

Option 1: Use the Hosted MCP (Zero Setup — Recommended)

The fastest path is the Apify-hosted MCP. No installation, no npm, no config files.

Just add this URL to your MCP client:

https://mcp.apify.com/?tools=actors,docs,get-actor-run,get-actor-run-list,khadinakbar/telegram-channel-scraper
Enter fullscreen mode Exit fullscreen mode

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "telegram-scraper": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=actors,docs,get-actor-run,get-actor-run-list,khadinakbar/telegram-channel-scraper",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_TOKEN"
      }
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Get your free Apify token at console.apify.com/account/integrations. No credit card required — Apify gives you $5/month free.

Once connected, ask Claude:

"Scrape the last 50 messages from @durov and extract any email addresses"


Option 2: npm MCP Server (Local Install)

npm install -g telegram-channel-scraper-mcp-server
Enter fullscreen mode Exit fullscreen mode

Add to your MCP config:

{
  "mcpServers": {
    "telegram-scraper": {
      "command": "npx",
      "args": ["-y", "telegram-channel-scraper-mcp-server"],
      "env": {
        "APIFY_TOKEN": "your_apify_token_here"
      }
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Option 3: Run the Actor Directly via API

const Apify = require('apify-client');

const client = new Apify.ApifyClient({
  token: process.env.APIFY_TOKEN,
});

const run = await client.actor('khadinakbar/telegram-channel-scraper').call({
  channelUrls: ['https://t.me/durov'],
  maxMessages: 100,
  includeEmailsAndLinks: true,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
Enter fullscreen mode Exit fullscreen mode

Available MCP Tools

When using this via Claude or Cursor, you get four tools:

telegram_scrape_messages — Scrape messages from one or more channels. Supports incremental mode (since_last_run) for monitoring workflows.

telegram_get_channel_info — Get subscriber count, verification status, description, and linked username.

telegram_discover_related_channels — Find related channels by analyzing forwarded messages from seed channels. Great for competitive research.

telegram_extract_leads — Focused lead extraction that scans up to 10 channels for emails and links.


Real-World Use Cases

B2B Lead Generation — Scan niche business channels in your industry. Export emails to your CRM.

Competitor Monitoring — Track what competitors are posting in their Telegram communities. Get a weekly digest inside Claude.

Crypto/Finance Research — Monitor alpha channels and extract links to mentioned projects before they go viral.

Community Intelligence — Find where your target audience is active. Use telegram_discover_related_channels to map the landscape.

OSINT — Public Telegram channels are one of the most open intelligence sources available. This tool makes them queryable.


Pricing

Event Cost
Actor start $0.003
Per message scraped $0.002
Per channel info $0.001

Scraping 100 messages = ~$0.20. Apify's free tier gives you $5/month — roughly 2,000 messages per month for free.


Links


Built by Khadin Akbar. If this saved you time, leave a star on GitHub.

Top comments (0)