Cover image
Try Now
2025-04-14

rss-aggregator feed-processor open-source mcp content-orchestration syndication feed-management content-automation data-pipeline feed-api

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

OpenGathyr

OpenGathyr Logo

An open-source Model Context Protocol (MCP) server powered by RSS feeds.

License: MIT PRs Welcome

What is OpenGathyr?

OpenGathyr transforms how you manage content feeds by providing a centralized hub that collects, processes, and distributes RSS/Atom feeds. Unlike traditional aggregators, OpenGathyr functions as a complete Model Context Protocol (MCP) server for your feed ecosystem.

Key Features

  • MCP Tools Integration: Expose RSS feed functionality through standardized Model Context Protocol tools
  • Automated Feed Refreshing: Configurable periodic fetching of RSS feeds to ensure fresh content
  • Content Search: Search across all RSS feeds with a unified query interface
  • Feed Management: Add, remove, and list RSS feeds dynamically
  • Environment Configuration: Easy setup using environment variables for feed sources and settings
  • Docker Ready: Containerized deployment support for both local and production environments
  • Modular Architecture: Cleanly separated components for easier maintenance and extensibility

Getting Started

Prerequisites

  • Node.js 22.x or higher
  • npm 7.x or higher
  • Docker (optional, for containerized deployment)

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/opengathyr.git
cd opengathyr
  1. Install dependencies:
npm install
  1. Create a .env file with your configuration (see Configuration section)

  2. Build the project:

npm run build
  1. Start the server:
npm start

For development with auto-reload:

npm run dev

Docker Deployment

To run the server in a Docker container:

# Build the Docker image
docker build -t opengathyr .

# Run the container
docker run -it opengathyr

Configuration

The server can be configured using environment variables:

  • MCP_SERVER_NAME: Name of the MCP server
  • MCP_SERVER_VERSION: Version of the MCP server
  • RSS_FEED_URL_1, RSS_FEED_URL_2, etc.: Individual RSS feed URLs (one URL per variable)
  • RSS_REFRESH_INTERVAL: Refresh interval in milliseconds (default: 300000 = 5 minutes)
  • RSS_MAX_ITEMS: Maximum number of items to keep per feed (default: 20)

Example .env file

MCP_SERVER_NAME=opengathyr
MCP_SERVER_VERSION=1.0.0

# RSS Feed URLs - one per line
RSS_FEED_URL_1=https://news.google.com/rss
RSS_FEED_URL_2=https://example.com/feed.xml
RSS_FEED_URL_3=https://another-site.org/rss

RSS_REFRESH_INTERVAL=300000
RSS_MAX_ITEMS=20

Available MCP Tools

get-feed

Retrieves the content from a specific feed.

Parameters:

  • feedName: Name of the feed to retrieve

search-feeds

Searches across all configured feeds for matching content.

Parameters:

  • query: Search term to look for in feed titles and content

list-feeds

Lists all currently configured feeds and their details.

Parameters: None

add-feed

Adds a new RSS feed to be monitored.

Parameters:

  • name: Identifier for the feed
  • url: URL of the RSS feed
  • refreshInterval (optional): Refresh interval in milliseconds
  • maxItems (optional): Maximum number of items to keep

remove-feed

Removes an RSS feed from monitoring.

Parameters:

  • feedName: Name of the feed to remove

Using the MCP Client

OpenGathyr includes a simple MCP client (src/client/mcp-client.ts) that can be used to interact with the MCP server for testing purposes.

Running the Client

Ensure the MCP server is not already running on the same port, then execute the client with:

npm run client

How It Works

The client:

  1. Spawns a new instance of the MCP server as a child process
  2. Sends a request to the list-feeds tool
  3. Displays the formatted response
  4. Automatically terminates the server after receiving the response

Modifying the Client

You can easily modify the client to test other MCP tools:

// Change the request to use a different tool
const request = {
  jsonrpc: '2.0',
  id: 1,
  method: 'tool',
  params: {
    name: 'get-feed',  // Change to any of the available tools
    params: {
      feedName: 'example-feed'  // Add required parameters for the tool
    }
  }
};

Available tools you can test:

  • list-feeds: Lists all configured feeds (no parameters needed)
  • get-feed: Gets content from a specific feed (requires feedName parameter)
  • search-feeds: Searches across feeds (requires query parameter)
  • add-feed: Adds a new feed (requires name and url parameters)
  • remove-feed: Removes a feed (requires feedName parameter)

Example for searching feeds:

const request = {
  jsonrpc: '2.0',
  id: 1,
  method: 'tool',
  params: {
    name: 'search-feeds',
    params: {
      query: 'technology'
    }
  }
};

Use Cases

  • AI Assistants: Integrate with LLM assistants via the Model Context Protocol to provide current news and information
  • Content Aggregation: Centralize multiple RSS feeds into a single accessible interface
  • News Monitoring: Track specific topics across multiple sources using the search functionality
  • Headless CMS Integration: Feed dynamic content into websites and applications
  • Research Tools: Collect and analyze content from multiple sources with a standardized API

Contributing

Contributions are welcome! Please see our Contributing Guide for details.

License

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

相关推荐

  • 1Panel-dev
  • 🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.

  • Byaidu
  • PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero

  • sigoden
  • Easily create LLM tools and agents using plain Bash/JavaScript/Python functions.

  • ragu6963
  • tommyming
  • Just getting some fun to build a mcp version using swift.

  • paulwing
  • A test repository created using MCP service

  • tawago
  • Artifact2MCP Generator allows generation of MCP server automatically & dynamically given smart contract's compiled artifact (chain‑agnostic)

  • hkr04
  • Lightweight C++ MCP (Model Context Protocol) SDK

    Reviews

    2.7 (11)
    Avatar
    user_gqvh3B4j
    2025-04-24

    OpenGathyr by risadams is an exceptional tool that seamlessly integrates with MCP applications. It offers intuitive navigation and a user-friendly interface, making data collection and analysis more efficient. The product’s design reflects careful consideration of user needs, ensuring reliable performance across various platforms. Highly recommended for anyone looking to streamline their data management processes!

    Avatar
    user_GLD3eG9W
    2025-04-24

    I recently started using OpenGathyr by risadams, and I must say, it's been a game-changer for my workflow. The user interface is clean and intuitive, making it easy to navigate through its features. It's become an indispensable tool for me, and I highly recommend it to anyone looking to streamline their processes. Thank you, risadams, for this fantastic product!

    Avatar
    user_K4FGyjKi
    2025-04-24

    As a dedicated user of MCP applications, I must say that OpenGathyr by risadams is an exceptional tool. It has streamlined our workflow and made data collection more efficient. The user-friendly interface and robust functionality are impressive. Highly recommend for anyone looking to optimize their data gathering process!

    Avatar
    user_5LzMqx2C
    2025-04-24

    OpenGathyr is an exceptional tool created by risadams. It seamlessly aggregates various resources and presents them in a user-friendly manner. The efficiency and effectiveness of the application have significantly optimized my workflow, making it an indispensable part of my daily routine. Highly recommended for those looking to consolidate information effortlessly!

    Avatar
    user_ZsAGAV0p
    2025-04-24

    OpenGathyr by risadams is an impressive and user-friendly MCP application that revolutionizes data gathering and management. Its intuitive interface and seamless integration make it a valuable tool for any data enthusiast. The product is robust, reliable, and has significantly enhanced my workflow efficiency. Highly recommend it to anyone seeking a streamlined data solution.

    Avatar
    user_3b8JBYYs
    2025-04-24

    OpenGathyr is a fantastic tool created by risadams. As an MCP application user, I find it incredibly user-friendly and efficient in managing all gathering-related tasks. It simplifies organization, enhances productivity, and its seamless integration is commendable. I highly recommend it to anyone needing a reliable organizing tool.

    Avatar
    user_exXmUU7e
    2025-04-24

    I've been using OpenGathyr by risadams and it has truly transformed my project management experience. Its seamless integration and user-friendly interface make coordinating tasks and deadlines a breeze. Highly recommend it to anyone looking to streamline their workflow.

    Avatar
    user_DmOzSHUc
    2025-04-24

    OpenGathyr by risadams is an incredibly efficient tool for data gathering and management. As an MCP application user, I appreciate its seamless integration and user-friendly interface. This tool simplifies the data collection process, making it accessible even for those with minimal technical expertise. Highly recommended for anyone seeking a reliable solution for data-related tasks!

    Avatar
    user_GrECN41f
    2025-04-24

    I've been using OpenGathyr by risadams and it has significantly improved my productivity. The intuitive interface and robust features make data collection and management effortless. It's a must-have tool for anyone looking to streamline their workflow. Highly recommended!

    Avatar
    user_8MmLkWDA
    2025-04-24

    As an avid user of the MCP application, I am thoroughly impressed with OpenGathyr by risadams. The seamless integration and user-friendly interface make it an indispensable tool for my daily tasks. Highly recommended for anyone looking to enhance their project management experience!

    Avatar
    user_p1CDVfEN
    2025-04-24

    OpenGathyr by risadams is an excellent tool for smooth and efficient data gathering. It offers a user-friendly interface that makes managing multiple data sources seamless. I appreciate the clear welcome information provided upon launching the application, which makes onboarding simple. Highly recommended for anyone needing a reliable data aggregation solution.