News Digest
Fetches news from Telegram and RSS sources and serves them to LLM agents via MCP.
README
News Digest
A simple MCP server that fetches news from Telegram and RSS sources. Connect it to your LLM agent of choice and let it doomscroll for you!
Setup
Runs on Bun (any recent version) or Node ≥ 22.6 (≥ 23.6 runs TypeScript natively; 22.6–23.5 needs --experimental-strip-types). No build step either way.
Clone this repository somewhere you find convenient, then install dependencies and copy the template config:
cd /path/to/news-digest
bun install # or: npm install
cp sources-template.json sources.json # then add your Telegram/RSS sources
Register with your MCP client
The server speaks MCP over stdio. Use the absolute path to the runtime (which bun / which node) — GUI apps on macOS have a stripped PATH.
With Bun:
{
"mcpServers": {
"news-digest": {
"command": "/Users/you/.bun/bin/bun",
"args": ["/path/to/news-digest/server.ts"]
}
}
}
With Node (add "--experimental-strip-types" before the path on Node 22.6–23.5):
{
"mcpServers": {
"news-digest": {
"command": "/usr/local/bin/node",
"args": ["/path/to/news-digest/server.ts"]
}
}
}
sources.json is resolved relative to the server files (override with $NEWS_DIGEST_CONFIG). Some clients prefix tools, e.g. news-digest_get_news.
Tools
get_news({ lookbackHours?, includeSeen? })— fresh items in the window. Returns only what's new since the last call (state in~/.local/state/news-digest/).includeSeen: true= full pull, no dedup, no state written.list_sources()— configured sources (for debugging).
Sources
Edit sources.json — re-read on every call, no restart. A source is { id, name, type, url } (type: telegram | rss). A new type = a lib/<type>.ts plus one line in HANDLERS (lib/run.ts).
Without an agent
Call it from code: import { runDigest } from "./lib/run.ts".
Read entry store
The history of read news entries is stored in ~/.local/state/news-digest/state.json.
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.