telegram-public-mcp-cloudflare
Reads public Telegram channel pages and exposes them as MCP tools over Streamable HTTP/JSON-RPC, enabling retrieval of channel info, latest posts, and search without Telegram API credentials.
README
telegram-public-mcp-cloudflare
Public Telegram MCP server for Cloudflare Workers. It reads public Telegram channel pages at t.me/s/{channel} and exposes them as MCP tools over Streamable HTTP/JSON-RPC.
No Telegram API credentials are required. The server only fetches public web pages.
Public hosted instance
Anyone can use the deployed public MCP endpoint:
https://telegram-public-mcp-cf.mametevalex.workers.dev/mcp
Health check:
https://telegram-public-mcp-cf.mametevalex.workers.dev/healthz
Tools
| Tool | Description |
|---|---|
get_channel_info |
Public channel title, description, avatar, subscriber counter, canonical URL. |
get_latest_posts |
Latest public posts with text, images, views, timestamps, pagination by before_post_id or before_time. |
search_posts |
Telegram public web search via https://t.me/s/{channel}?q=.... |
Endpoints
Live Cloudflare deployment:
GET https://telegram-public-mcp-cf.mametevalex.workers.dev/healthz— health check.POST https://telegram-public-mcp-cf.mametevalex.workers.dev/mcp— MCP JSON-RPC endpoint.
Generic endpoints:
GET /healthz— health check.POST /mcp— MCP JSON-RPC endpoint.
Deploy
npm install
npx wrangler deploy
wrangler.toml:
name = "telegram-public-mcp-cf"
main = "src/worker.js"
compatibility_date = "2026-07-09"
[vars]
TELEGRAM_BASE_URL = "https://t.me"
MCP examples
List tools:
curl -s https://telegram-public-mcp-cf.<account>.workers.dev/mcp \
-H 'content-type: application/json' \
--data-binary '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | jq
Get latest posts:
curl -s https://telegram-public-mcp-cf.<account>.workers.dev/mcp \
-H 'content-type: application/json' \
--data-binary '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_latest_posts","arguments":{"channel":"telegram","limit":3}}}' | jq
Hermes Agent config
mcp_servers:
telegram-public:
url: https://telegram-public-mcp-cf.mametevalex.workers.dev/mcp
timeout: 120
connect_timeout: 60
Limitations
- Only public Telegram channels are supported.
- Telegram can change
t.me/sHTML; parser updates may be needed. - Subscriber/view counts are returned as Telegram renders them.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.