telegram-news-mcp
Ranks posts from Telegram channels and exposes them via a REST endpoint and the MCP tool getTopNews, supporting configurable periods and channel filtering.
README
Telegram news MCP
The project ranks posts from Telegram channels available to a user account and
exposes them through one REST endpoint and the MCP tool getTopNews.
Setup
-
Create a Telegram application at https://my.telegram.org, then configure its credentials:
cp .env.example .env # Edit .env and set TELEGRAM_API_ID and TELEGRAM_API_HASH. -
Authorize manually. This command is interactive and may ask for the phone number, Telegram code, and the account's 2FA password. It creates
data/telegram.session; neither MCP nor OpenClaw takes part in this flow.docker compose run --rm telegram-auth -
Start both services:
docker compose up -d --build
The REST endpoint is internal to Docker Compose. mcp-server is a persistent
Streamable HTTP server. Its port is bound to 127.0.0.1 only, so it is
reachable by OpenClaw on the same host but not exposed publicly.
OpenClaw MCP configuration
Configure an HTTP MCP server with this local URL:
http://127.0.0.1:8001/mcp
Install openclaw-skill/telegram-top-news as an OpenClaw skill. It documents
the tool's arguments and tells agents to report TELEGRAM_AUTH_REQUIRED to the
user. The user must then manually repeat the authorization command above.
REST request
{
"period": "9h32m",
"exclude_mode": true,
"excluded_channels": ["@noisy_channel"],
"included_channels": []
}
period accepts non-zero compact durations from weeks, days, hours, and
minutes (1w, 1d, 9h32m). With exclude_mode: false, specify at least one
channel in included_channels. A selector can be a title, username,
@username, ID, or -100-prefixed ID.
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
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.
E2B
Using MCP to run code via e2b.