MCP RSS News Agent

MCP RSS News Agent

A FastMCP-based server that provides tools for discovering RSS feeds, fetching and processing news content, searching articles by keyword, and generating summaries across multiple news sources and categories.

Category
Visit Server

README

MCP RSS News Agent

A FastMCP-based RSS news aggregation and processing agent that can discover, fetch, and summarize content from various RSS feeds.

Features

  • Discover RSS feeds from any website
  • Fetch entries from RSS feeds
  • Extract and format content from feed entries
  • Extract and process web content from any URL
  • Search news articles by keyword
  • Generate summaries for news articles
  • Get top news by category and country

Installation

  1. Clone the repository
  2. Install the required dependencies:
pip install -r requirements.txt
  1. Create a .env file if you need environment variables (optional)

Usage

Start the MCP Server

python server.py

This will start the MCP server that exposes various RSS-related tools.

Available Tools

  1. get_rss_feed_entries: Fetches entries from an RSS feed URL
  2. discover_rss_feeds: Finds RSS feeds available on a website
  3. download_feed_content: Downloads and processes the content of a feed entry
  4. fetch_webpage: Extracts main content from any webpage URL using advanced techniques (NEW)
  5. search_news_by_keyword: Searches news articles across multiple feeds using a keyword
  6. create_news_summary: Creates summaries for news articles
  7. get_top_news_from_category: Gets top news from specific categories and countries

Examples

Discover RSS Feeds on a Website

response = mcp.invoke("discover_rss_feeds", {"website_url": "https://www.theguardian.com"})
print(f"Found {response['feeds_count']} feeds")
for feed in response['feeds']:
    print(f"- {feed['title']}: {feed['url']}")

Get News Articles by Keyword

response = mcp.invoke("search_news_by_keyword", {
    "keyword": "climate change", 
    "max_results": 5
})
for article in response['results']:
    print(f"- {article['title']} ({article['source']})")
    print(f"  Link: {article['link']}")
    print()

Extract Content from Any Webpage

response = mcp.invoke("fetch_webpage", {
    "url": "https://example.com/article",
    "output_format": "markdown",
    "include_images": True
})
print(f"Title: {response['title']}")
print(f"Extraction method: {response['extracted_by']}")
print(f"Content preview: {response['content'][:200]}...")

Get Top News from a Category

response = mcp.invoke("get_top_news_from_category", {
    "category": "technology",
    "country": "us",
    "max_results": 3
})
for article in response['results']:
    print(f"- {article['title']} ({article['source']})")

Client Example

The project includes a command-line client (client_example.py) that provides easy access to all the MCP server tools:

# Get feed entries
python client_example.py feed https://www.theguardian.com/international/rss

# Search news by keyword
python client_example.py search "artificial intelligence"

# Extract content from a webpage with advanced extraction
python client_example.py webpage https://example.com/article --format markdown --images --save

# Get news by category
python client_example.py category technology --country us

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured