Telegram Public Channel Feed & Historical Keyword Search MCP Server
Equip crypto research, cybersecurity OSINT, and newsroom agents with zero-bot-token access to public Telegram channel subscriber stats, cursor-paginated message feeds, and targeted in-channel keyword search.
claude mcp add --transport http agentapigate-telegram "https://mcp.agentapigate.ai/mcp/custom?tools=telegram.channel.info,telegram.channel.messages,telegram.messages.search" \ --header "Authorization: Bearer aag_live_YOUR_KEY"
# 1. Inspect deterministic 402 quote (Base USDC + Solana USDC + Tempo MPP): curl -i "https://api.agentapigate.ai/v1/telegram/messages/search?channel=durov&query=telegram&limit=15&format=compact" # 2. Or execute immediately with an aag_live_* / scoped aag_agent_* key: curl -s "https://api.agentapigate.ai/v1/telegram/messages/search?channel=durov&query=telegram&limit=15&format=compact" \ -H "Authorization: Bearer $AAG_API_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
{
"ok": true,
"meta": {
"endpoint": "telegram.messages.search",
"format": "compact",
"cost_usd": 0.003,
"tokens_est": 1566,
"raw_tokens_est": 6024,
"tokens_saved_pct": 77,
"latency_ms": 1367,
"content_trust": "external_untrusted"
},
"data": {
"query": "telegram",
"count": 15,
"items": [
{
"message_id": "566",
"channel": "durov",
"text": "Apple finally made a phone that’s both too big and too small.\n\nIt folds in half. Just like your enthusiasm.\n\nWe still made Telegram look incredible at both wrong sizes.\n\nWe do a lot of charity work.",
"views": 736000,
"post_url": "https://t.me/durov/566"
},
{
"message_id": "565",
"channel": "durov",
"text": "🇮🇶 Iraq blocked Telegram (2nd time this year).\n\nWe feel sorry for the Iraqi people.\n\nBut we won’t censor free political speech.\n\nRegardless of how we are asked. ✊",
"views": 1260000,
"post_url": "https://t.me/durov/565"
},
{
"message_id": "564",
"channel": "durov",
"text": "⭐️ Telegram bots and mini apps can accept only Stars (*Grams) for digital services.\n\nWhy? Apple and Google rules require Stars.\n\n💎 But users can buy Stars with Grams on Fragment.\n\n🔓 VPN bots in authoritarian countries are exempt.\n\nThey do God’s work and can take any payment 🤩",
"views": 1490000,
"post_url": "https://t.me/durov/564"
},
{
"message_id": "563",
"channel": "durov",
"text": "Patent trolls are running rampant, empowered by AI.\n\nTheir ridiculous attacks are now cheaper than ever.\n\nThe industry needs a new way to fight back — AI-powered and symmetrical. 💪\n\nIf you're a US-licensed lawyer (esp. in Texas 🤠) open to new ideas, hit us up at @humanbot",
"views": 1560000,
"post_url": "https://t.me/durov/563"
},
{
"message_id": "562",
"channel": "durov",
"text": "Noticed in the banya today: I’m getting skinnier.\n\nThis despite a strict diet of lobster linguini and crab pelmeni. 🦞\n\nOnly one explanation: crypto winter.\n\nSo we stayed in the steam room until November’s launches on TON were planned.\n\nWe can’t lose more valuable fat. 👳♂",
"views": 1680000,
"post_url": "https://t.me/durov/562"
},
{
"message_id": "561",
"channel": "durov",
"text": "Nvidia’s board was right to fire Jensen.\n\nHe was married.\n\nMeaning he signed an exclusive contract with a 50% exit penalty for a service with no uptime guarantee.\n\nHow can you trust a guy who’d sign a deal like that to run a company? 👉\n\nThey should have fired him at the altar.",
"views": 1820000,
"post_url": "https://t.me/durov/561"
},
{
"message_id": "560",
"channel": "durov",
"text": "Re alleged RCE in new TG Android/Windows widgets:\n\nThe issue doesn’t exist.\n\nNo one could be hacked just by receiving a message.\n\nYou had to actively start a third-party service first.\n\n✅ Even that is fully patched server-side.\n\nThink otherwise? Go hack my account: t.me/monk 🍿",
"views": 1820000,
"post_url": "https://t.me/durov/560"
},
{
"message_id": "559",
"channel": "durov",
"text": "🤦♀️ Jensen made a rookie mistake. He had a board.\n\nIn 2014, my board kicked me out for saying no to spies.\n\nIn 2026, Jensen’s board kicked him out for saying yes to one.\n\n🤨 So the board gets you either way.\n\nFoundersWhy Engineers Mount This Connector via AgentAPIGate
- 01 · GUARANTEE
Zero Bot-Admin or MTProto Phone Number Setup: query any public t.me broadcast channel immediately over stateless HTTPS without registering a Telegram phone session or bot.
- 02 · GUARANTEE
Dual-Mode Retrieval: stream recent history page-by-page at $0.001/call via telegram.channel.messages (?before= cursor) or jump straight to matching posts via telegram.messages.search ($0.003/call).
- 03 · GUARANTEE
Clean Untrusted-Content Framing: HTML formatting is stripped into crisp Markdown with view counts, timestamps, direct t.me/<channel>/<id> URLs, and external_untrusted provenance markers.
Included MCP Tools & Deterministic Per-Call Pricing
Browse all 136 endpoints →| MCP Tool / Endpoint ID | Summary | API Key Price | x402 / MPP | p50 Latency | Bonus Credit |
|---|---|---|---|---|---|
| telegram_channel_info telegram.channel.info | Fetch public Telegram channel title, verified status, subscriber count, bio description, and latest post ID. | $0.0010 | $0.0010 | 678 ms | Eligible |
| telegram_channel_messages telegram.channel.messages | Read public Telegram channel posts, view counts, timestamps, media links, and next_before_cursor for historical pagination. | $0.0010 | $0.0010 | 203 ms | Eligible |
| telegram_messages_search telegram.messages.search | Search historical messages inside a public Telegram channel by keyword with message IDs, views, timestamps, and direct post links. | $0.0030 | $0.0030 | 1367 ms | paid_usd / x402 |
Frequently Asked Questions
Do I need to add a bot to the target Telegram channel to search its messages?
No. All three Telegram MCP tools operate on public broadcast channels (any channel viewable via t.me/s/<channel>) with zero bot membership or MTProto phone credentials.
What is the difference between telegram.channel.messages and telegram.messages.search?
telegram.channel.messages ($0.001) fetches chronological batches of 20 posts with next_before_cursor pagination, while telegram.messages.search ($0.003) runs server-side keyword filtering across a channel’s history.