news-mcp
Fetches and indexes curated RSS/Atom/RDF news feeds, providing tools for latest headlines, keyword search, and comparing coverage across outlets.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@news-mcp compare coverage of the Ecuador election across outlets"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
news-mcp
Curated RSS/Atom/RDF news → SQLite (rolling ~14-day window) → structured MCP tools. Items are stored in their original language; the LLM translates, summarizes and compares framing at query time. Design rationale: CLAUDE.md.
Tools
tool | use |
| newest headlines, filterable |
| keyword search; spaces = AND, |
| matches grouped by outlet + outlets with no match → framing comparison |
| curated feeds, item counts, freshness / last status |
Related MCP server: world-news-feeds
Run
uv sync
uv run news-mcp refresh # pull all feeds once (conditional GET), upsert, prune
uv run news-mcp serve # stdio (Claude Desktop / dev)
NEWS_MCP_TOKEN=secret uv run news-mcp serve --transport http --host 0.0.0.0 --port 8000 # streamable-http at /mcp
uv run pytestenv | default | |
|
| SQLite path (WAL; refresh and server can share it) |
| packaged | curated feed list |
|
| rolling window |
|
| >0: |
| unset | bearer token required on HTTP ( |
| polite UA, |
Claude Desktop
%APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"news": {
"command": "uv",
"args": ["--directory", "C:\\Code\\news-mcp", "run", "news-mcp", "serve"],
"env": { "NEWS_DB": "C:\\Code\\news-mcp\\data\\news.db", "NEWS_REFRESH_MINUTES": "45" }
}
}
}Docker Compose (e.g. mcpo → Open WebUI)
Build the image with docker build -t news-mcp .. By default it serves HTTP on :8000 at /mcp, with an open
/healthz endpoint for the built-in healthcheck.
services:
news-mcp:
image: news-mcp:latest
restart: unless-stopped
environment:
NEWS_MCP_TOKEN: ${NEWS_MCP_TOKEN} # put it in .env; clients send "Authorization: Bearer <token>"
NEWS_REFRESH_MINUTES: "45" # refresh at startup, then every 45 min (no timer needed)
NEWS_USER_AGENT: "news-mcp/0.1 (+https://example.org/your-contact)" # identify your deployment
# NEWS_FEEDS: /config/feeds.toml # use your own curated list
volumes:
- news-data:/data # SQLite; local disk, not NFS/SMB
# - ./feeds.toml:/config/feeds.toml:ro
# ports: ["8000:8000"] # only if clients live outside this compose network
volumes:
news-data:If you'd rather use a host timer, leave NEWS_REFRESH_MINUTES unset and have the timer run
docker compose run --rm news-mcp refresh. It uses the same /data volume.
mcpo entry (from a container on the same network):
{ "mcpServers": { "news": { "type": "streamable-http", "url": "http://news-mcp:8000/mcp",
"headers": { "Authorization": "Bearer ${NEWS_MCP_TOKEN}" } } } }Auth and exposure
The server is deliberately simple about auth: stdio, or streamable-HTTP with a single bearer token
(NEWS_MCP_TOKEN) for a private network, e.g. behind mcpo. It has no OAuth, no users and no audit log, by
design. To publish it more widely (at work or on the internet), put a management layer in front of it: an MCP
gateway or auth proxy that handles OAuth, users and audit for all your servers at once.
Every tool declares a title and all four MCP hints. They are all read-only, non-destructive, idempotent and
closed-world, because tools only query the local SQLite store and only the refresh job touches the network.
Hints are advisory for clients and directories; they don't replace the bearer token or a gateway.
AI assistance
news-mcp is developed openly with the help of Claude (Anthropic). We state this plainly: commits
Claude helped write carry a Co-Authored-By: Claude trailer. The code and design are open source so the
work can be inspected, reused, and given back.
License
Code: MPL-2.0. The repo ships only feed URLs; the news content it fetches belongs to each publisher and
stays in your local database. Respect each feed's terms, keep the refresh interval polite (≥30 min), and set
NEWS_USER_AGENT to identify your own deployment.
Available Tools
4 toolscompare_coverageARead-only
How different outlets/countries covered one story - for framing comparison ("compare how the German, Qatari, US and Ecuadorian press covered X"). Returns matching items grouped by outlet, plus the active outlets with NO matching item (silence can be telling, but may also just mean the keywords were in another language).
Same matching as `news_by_topic`: include the key term in every relevant language separated by
"|", e.g. "Ecuador | Équateur | エクアドル | الإكوادور".
When answering, compare emphasis, word choice and what each outlet includes or omits, citing each
outlet by name; translate faithfully and do not inject your own view.
Args:
topic: keywords; spaces = AND, "|" = OR between alternatives.
days: look-back window in days (default 7).
per_source: max items per outlet (default 3, max 10).
Inputs: topic (required), days, per_source.
latest_newsARead-only
Most recent headlines, newest first. Use for "what's the news", "latest from Ecuador", "what does DW say today", "tech news". All filters are optional and combine with AND.
Args:
source: feed id from `sources()` (e.g. "elcomercio", "bbc-mundo", "dw-de").
lang: ISO 639-1 language of the original items (e.g. "es", "en", "de", "fr", "ar", "ja").
country: ISO 3166 alpha-2 country of the outlet (e.g. "EC", "US", "DE"); "INT" = international.
category: one of general, politics, economy, science, tech, sport.
hours: look-back window in hours (default 24; up to ~336 = two weeks).
n: max items (default 15, max 50).
Inputs: n, lang, hours, source, +2 more.
news_by_topicARead-only
Search recent headlines + summaries by keyword, newest first. Use for "news about X", "what happened with X this week".
Matching is case- and accent-insensitive substring search on the ORIGINAL-language text, so a
Spanish word will not find German or Japanese items. Words separated by spaces must ALL appear;
separate alternatives with "|". To search across languages give the key name/term in each
language, e.g. "Noboa | ノボア" or "elecciones | Wahl | élection | election".
Prefer short distinctive terms (names, places) over full sentences.
Args:
query: keywords; spaces = AND, "|" = OR between alternatives.
days: look-back window in days (default 7, max ~14).
lang: optional ISO 639-1 filter on the original language.
n: max items (default 20, max 50).
Inputs: query (required), n, days, lang.
sourcesARead-only
List the curated feeds: id, outlet name, language, country, category, whether active, when it was last refreshed successfully, and how many items it currently holds. Use to know which ids/filters exist or to check how fresh the data is.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: listing feeds, browsing latest news with metadata filters, keyword search, and cross-outlet comparison. Although latest_news and news_by_topic both return news, their descriptions clearly separate browsing from searching, and compare_coverage is uniquely analytical.
The names mix a bare noun (sources), a noun phrase (latest_news), a prepositional phrase (news_by_topic), and a verb_noun pattern (compare_coverage). While all are readable, there is no consistent convention across the set.
With only 4 tools, the set is well-scoped and each tool earns its place. There is no redundancy, and the count fits the narrow domain of news retrieval and comparison.
The surface covers listing sources, browsing, searching, and comparing coverage, which are the core operations for a news server. Minor gaps exist, such as fetching full article content or paginating results beyond the n parameter, but agents can work around these.
Maintenance
Related MCP Connectors
Worldwide news search by keyword and date, Hacker News, and any RSS or Atom feed as JSON
RSS & Atom feed manager with full-text search, AI curation, and remote MCP endpoint.
News search, article lookup, story coverage and save links for hamir's RSS catalogue
Today's headlines and news search from 17 public sources in 7 languages. Free, no key.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with RSS readers that support the FreshRSS API through natural language. Allows users to manage and query their RSS feeds and articles via LLM conversations.7MIT
- AlicenseNot gradedqualityCmaintenanceProvides curated international news feeds with tools to list, read, and fetch RSS/Atom/RDF feeds. Enables AI agents to access and filter world news data through natural language.64 npmMIT
- AlicenseAqualityBmaintenanceEnables users to subscribe to RSS feeds, read clean extracted article text without ad-heavy sites, and perform full-text and semantic searches using local SQLite storage with no account required.6MIT
- AlicenseNot gradedqualityCmaintenanceEnables natural-language querying of historical AI news through tools that return database statistics and semantic search results over existing SQLite and Chroma data, including titles, links, sources, content, and vector distances.MIT