MCP RSS 聚合器 标志

MCP RSS 聚合器

社区
imprvhub

Model Context Protocol Server for aggregating RSS feeds in Claude Desktop

发布者imprvhub
代码仓库mcp-rss-aggregator
语言TypeScript
复刻数
9
星标数
27
可用工具
0
传输类型stdio
分类
许可协议MPL-2.0
链接
  • 将工具接入 AI 工作流

    MCP RSS 聚合器 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 27 个星标和 9 个复刻。

MCP RSS Aggregator

Trust Score smithery badge

Features

  • Read articles from your favorite RSS feeds directly in Claude Desktop
  • Support for OPML files to import your existing feed subscriptions
  • Organize feeds by categories
  • Get the latest articles across all your feeds
  • Filter articles by feed source or category
  • Well-formatted article presentation with titles, snippets, and links

Demo

Click on any timestamp to jump to that section of the video

00:00 - Sample RSS Feed Demonstration: Using the default 'sample-feeds.opml' file included in the repository. This segment displays how Claude processes and presents news content from sources like TechCrunch, The Verge, and other technology publications through the MCP (Model Context Protocol).

01:05 - Configuration File Editing Process: Step-by-step walkthrough of accessing and modifying the claude_desktop_config.json file to change the OPML file path reference from the default sample to a customized 'my-feeds.opml' file.

01:15 - Application Restart Procedure: Illustrating the necessary step of closing and reopening the Claude Desktop application to properly load and apply the modified OPML file configuration changes.

01:25 - Custom RSS Feed Results: Demonstration of the results after implementing the custom OPML file. This section highlights the expanded and more diverse news sources now available through Claude Desktop, including Spanish-language content.

Requirements

  • Node.js 16 or higher
  • Claude Desktop
  • Internet connection to access RSS feeds

Installation

Installing Manually

  1. Clone or download this repository:
bash
git clone https://github.com/imprvhub/mcp-rss-aggregator
cd mcp-rss-aggregator
  1. Install dependencies:
bash
npm install
  1. Build the project:
bash
npm run build

Feed Configuration

The RSS Aggregator supports both OPML and JSON formats for feed configuration.

Using OPML (Recommended)

OPML (Outline Processor Markup Language) is a standard format used by most RSS readers to export and import feed subscriptions.

A sample OPML file with popular feeds is included in the public/sample-feeds.opml file. You can:

  1. Use this file as-is
  2. Edit it to add your own feeds
  3. Replace it with an export from your existing RSS reader

Most RSS readers allow you to export your subscriptions as an OPML file.

Using JSON

Alternatively, you can define your feeds in a JSON file with the following format:

json
[
  {
    "title": "Hacker News",
    "url": "https://news.ycombinator.com/rss",
    "htmlUrl": "https://news.ycombinator.com/",
    "category": "Tech News"
  },
  {
    "title": "TechCrunch",
    "url": "https://techcrunch.com/feed/",
    "htmlUrl": "https://techcrunch.com/",
    "category": "Tech News"
  }
]

Running the MCP Server

There are two ways to run the MCP server:

Option 1: Running manually

  1. Open a terminal or command prompt
  2. Navigate to the project directory
  3. Run the server directly:
bash
node build/index.js

Keep this terminal window open while using Claude Desktop. The server will run until you close the terminal.

Option 2: Auto-starting with Claude Desktop (recommended for regular use)

The Claude Desktop can automatically start the MCP server when needed. To set this up:

Configuration

The Claude Desktop configuration file is located at:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Edit this file to add the RSS Aggregator MCP configuration. If the file doesn't exist, create it:

json
{
  "mcpServers": {
    "rssAggregator": {
      "command": "node",
      "args": ["ABSOLUTE_PATH_TO_DIRECTORY/mcp-rss-aggregator/build/index.js"],
      "feedsPath": "ABSOLUTE_PATH_TO_YOUR_FEEDS_FILE.opml"
    }
  }
}

Important Notes:

  • Replace ABSOLUTE_PATH_TO_DIRECTORY with the complete absolute path where you installed the MCP
    • macOS/Linux example: /Users/username/mcp-rss-aggregator
    • Windows example: C:\\Users\\username\\mcp-rss-aggregator
  • Replace ABSOLUTE_PATH_TO_YOUR_FEEDS_FILE.opml with the path to your OPML or JSON file
    • If omitted, the sample feeds file will be used

If you already have other MCPs configured, simply add the "rssAggregator" section inside the "mcpServers" object:

json
{
  "mcpServers": {
    "otherMcp1": {
      "command": "...",
      "args": ["..."]
    },
    "rssAggregator": {
      "command": "node",
      "args": [
        "ABSOLUTE_PATH_TO_DIRECTORY/mcp-rss-aggregator/build/index.js"
      ],
      "feedsPath": "ABSOLUTE_PATH_TO_YOUR_FEEDS_FILE.opml"
    }
  }
}

The MCP server will automatically start when Claude Desktop needs it, based on the configuration in your claude_desktop_config.json file.

Usage

  1. Restart Claude Desktop after modifying the configuration
  2. In Claude, use the rss command to interact with the RSS Aggregator MCP Server
  3. The MCP server runs as a subprocess managed by Claude Desktop

Available Commands

The RSS Aggregator MCP provides a tool named rss with several commands:

CommandDescriptionParametersExample
latestShow latest articles from all feedsOptional limit (--N)rss latest --20
top or bestShow top articles from all feedsOptional limit (--N)rss top --15
listList all available feedsNonerss list
--[feed-id]Show articles from a specific feedOptional limit (--N)rss --hackernews --10
[category]Show articles from a specific categoryOptional limit (--N)rss "Tech News" --20
set-feeds-path --[path]Set path to OPML/JSON filePath to filerss set-feeds-path --/path/to/feeds.opml

Example Usage

Here are various examples of how to use the RSS Aggregator with Claude:

Direct Commands:

rss latest
rss top --20
rss list
rss "Tech News"
rss --hackernews
rss --techcrunch --15

Natural Language Queries:

You can also interact with the MCP using natural language. Claude will interpret these requests and use the appropriate commands:

  • "What are the latest news on Hacker News?"
  • "Show me the top tech articles today"
  • "Fetch the latest articles from my programming feeds"
  • "List all my RSS feeds"

Extended Usage Examples

Daily News Briefing

Get your news briefing from all your sources:

rss latest --25

This will fetch the 25 most recent articles across all your feeds, giving you a quick overview of the latest news.

Exploring Top Content

Find the most important or popular articles:

rss top --20

Category-Based Reading

Focus on specific content categories:

rss "Tech News" --30
rss "Politics" --15
rss "Science" --10

Source-Specific Updates

Read updates from specific sources you follow:

rss --hackernews --20
rss --nytimes
rss --techcrunch --15

Discover Your Available Feeds

Find out what feeds you have configured:

rss list

Combining Multiple Requests

You can make multiple sequential requests to build a comprehensive view:

rss "Tech News" --10
rss "Finance" --10
rss top --5

Practical Workflows

  1. Morning Routine:

    rss top --10
    rss "News" --5
  2. Industry Research:

    rss "Industry News" --15
    rss --bloomberg --5
  3. Tech Updates:

    rss --hackernews --10
    rss --techcrunch --5

Working with Claude

You can ask Claude to analyze or summarize the articles:

  1. After running: rss latest --10 Ask: "Can you summarize these articles?"

  2. After running: rss "Tech News" --15 Ask: "What are the key trends in these tech articles?"

  3. After running: rss --nytimes --washingtonpost --10 Ask: "Compare how these sources cover current events"

Troubleshooting

"Server disconnected" error

If you see the error "MCP RSS Aggregator: Server disconnected" in Claude Desktop:

  1. Verify the server is running:

    • Open a terminal and manually run node build/index.js from the project directory
    • If the server starts successfully, use Claude while keeping this terminal open
  2. Check your configuration:

    • Ensure the absolute path in claude_desktop_config.json is correct for your system
    • Double-check that you've used double backslashes (\\) for Windows paths
    • Verify you're using the complete path from the root of your filesystem

Tools not appearing in Claude

If the RSS Aggregator tools don't appear in Claude:

  • Make sure you've restarted Claude Desktop after configuration
  • Check the Claude Desktop logs for any MCP communication errors
  • Ensure the MCP server process is running (run it manually to confirm)

Feeds not loading

If your feeds aren't loading properly:

  • Make sure your OPML/JSON file is correctly formatted
  • Check if the feedsPath in your configuration is correct
  • Try running the server manually with a known good feeds file

Contributing

Contributions to improve the RSS Aggregator are welcome! Here are some ways you can contribute:

  1. Add support for more feed formats
  2. Improve feed parsing and error handling
  3. Add more visualization options for articles
  4. Improve categorization and filtering capabilities

License

This project is licensed under the Mozilla Public License 2.0 - see the LICENSE file for details.

Related Links

安装

TypingMind
{
  "mcpServers": {
    "mcp-rss-aggregator": {
      "command": "node",
      "args": [
        "ABSOLUTE_PATH_TO_DIRECTORY/mcp-rss-aggregator/build/index.js"
      ],
      "env": {
        "feedsPath": "<feedsPath>"
      }
    }
  }
}

将 MCP RSS 聚合器 MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 MCP RSS 聚合器 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 MCP RSS 聚合器 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 MCP RSS 聚合器 MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "mcp-rss-aggregator": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-rss-aggregator"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 MCP RSS 聚合器 MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 MCP RSS 聚合器 MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 MCP RSS 聚合器 帮我完成这项任务吗?
MCP RSS 聚合器
当然,我看过了。
以下是我使用 MCP RSS 聚合器 得到的结果。

常见问题

MCP RSS 聚合器 MCP 服务器有什么用途?

MCP RSS 聚合器 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 MCP RSS 聚合器 MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 MCP RSS 聚合器。

为什么在 TypingMind 中使用 MCP RSS 聚合器 MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 MCP RSS 聚合器 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 MCP RSS 聚合器 MCP 连接到 TypingMind?

MCP RSS 聚合器 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

MCP RSS 聚合器 MCP 在 TypingMind 中提供哪些工具?

MCP RSS 聚合器 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 MCP RSS 聚合器 MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 MCP RSS 聚合器 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇