返回市场
推送-MCP

推送-MCP

作者:richardwooding10 星标更新:2025-11-17

项目介绍

feed-mcp

Go Coverage Go Report Card MCP Badge

将RSS订阅带到Claude桌面 — 在您的AI对话中直接阅读新闻、博客和更新。

feed-mcp是什么?

feed-mcp是一个模型上下文协议(MCP)服务器,它允许Claude桌面读取RSS、Atom和JSON订阅。可以将其视为一个桥梁,连接您喜爱网站的RSS订阅到Claude,这样您可以在Claude聊天中询问最新文章、获取摘要并保持更新。

为什么使用它?

  • 📰 保持知情 — 不离开Claude即可阅读最新新闻和博客文章
  • 🎯 获取摘要 — 让Claude总结来自不同订阅的多篇文章
  • 🔍 深入研究 — 通过查询特定订阅或文章来研究主题
  • 节省时间 — 无需打开多个网站来保持当前状态

快速开始

第一步:添加到Claude桌面

打开您的Claude桌面配置文件,并添加feed-mcp及其喜爱的订阅:

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

{
  "mcpServers": {
    "feed-mcp": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "ghcr.io/richardwooding/feed-mcp:latest",
        "run",
        "https://techcrunch.com/feed/",
        "https://www.theverge.com/rss/index.xml"
      ]
    }
  }
}

第二步:重启Claude桌面

重启Claude桌面以加载新配置。

第三步:开始聊天!

尝试问Claude:

  • "最新的科技新闻头条是什么?"
  • "总结我的订阅中的前五篇文章"
  • "今天有与AI相关的文章吗?"

流行的订阅集合

科技新闻

{
  "mcpServers": {
    "tech-news": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "ghcr.io/richardwooding/feed-mcp:latest",
        "run",
        "https://techcrunch.com/feed/",
        "https://www.theverge.com/rss/index.xml",
        "https://www.wired.com/feed/rss",
        "https://feeds.arstechnica.com/arstechnica/index"
      ]
    }
  }
}

安全与隐私

{
  "mcpServers": {
    "security-news": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "ghcr.io/richardwooding/feed-mcp:latest",
        "run",
        "https://krebsonsecurity.com/feed/",
        "https://www.schneier.com/blog/atom.xml",
        "https://www.bleepingcomputer.com/feed/"
      ]
    }
  }
}

网络开发

{
  "mcpServers": {
    "webdev-news": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "ghcr.io/richardwooding/feed-mcp:latest",
        "run",
        "https://css-tricks.com/feed/",
        "https://www.smashingmagazine.com/feed/",
        "https://hacks.mozilla.org/feed/"
      ]
    }
  }
}

播客

{
  "mcpServers": {
    "podcasts": {
      "command": "docker",
      从这里开始继续翻译...
      "args": [
        "run", "-i", "--rm",
        "ghcr.io/richardwooding/feed-mcp:latest",
        "run",
        "https://feeds.npr.org/510282/podcast.xml",
        "https://feeds.npr.org/381444908/podcast.xml"
      ]
    }
  }
}

尝试问Claude:

  • "最新的播客剧集是什么?"
  • "总结NPR Politics最近的一集"
  • "本周有讨论气候变化的剧集吗?"

使用您的RSS阅读器订阅

已经在Feedly、Inoreader或其他RSS阅读器中有订阅?导出为OPML并使用feed-mcp:

{
  "mcpServers": {
    "my-feeds": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-v", "/path/to/your/feeds.opml:/feeds.opml:ro",
        "ghcr.io/richardwooding/feed-mcp:latest",
        "run", "--opml", "/feeds.opml"
      ]
    }
  }
}

如何导出OPML:

  • Feedly: 设置 → OPML → 导出
  • Inoreader: 首选项 → 文件夹和标签 → 导出OPML
  • NewsBlur: 账户 → 导入/导出 → 导出故事
  • The Old Reader: 设置 → 导入/导出 → 导出

Claude如何读取订阅

当您询问Claude关于您的订阅时,会发生以下情况:

  1. 浏览首先 — Claude获取文章标题和元数据列表
  2. 选择性阅读 — Claude仅获取您询问的文章的全文内容
  3. 智能缓存 — 文章被缓存以避免重新获取

这种两阶段方法使响应快速,并防止对话过载。

示例用法

: "今天科技界有什么新消息?"

Claude会:

  1. 浏览您的科技订阅标题
  2. 总结最新的头条
  3. 询问是否需要了解特定文章的详情

: "告诉我更多关于第一篇文章"

Claude会:

  1. 获取该文章的全文内容
  2. 提供详细的摘要或回答您的问题

功能

  • 🌐 多种格式 — RSS、Atom 和 JSON 订阅
  • 📱 从阅读器导入 — 支持OPML轻松迁移
  • 💾 智能缓存 — 高效的订阅检索和自动更新
  • 快速且可靠 — 内置速率限制和错误处理
  • 🔒 安全 — URL验证和私有IP阻止
  • 🐳 简单部署 — 支持Docker和Podman

高级功能

对于高级用户,feed-mcp包括:

  • 动态订阅管理 — 运行时添加/删除订阅
  • MCP资源 — 高级过滤和实时订阅
  • 智能提示 — 分析趋势、监控关键词、生成报告
  • 断路器 — 自动处理失败的订阅
  • 自定义配置 — 速率限制、重试、连接池

详见docs/ADVANCED.md

替代安装方法

Go安装

如果您已安装Go:

go install github.com/richardwooding/feed-mcp@latest
feed-mcp run https://techcrunch.com/feed/

然后配置Claude桌面:

{
  "mcpServers": {
    "feed-mcp": {
      "command": "feed-mcp",
      "args": ["run", "https://techcrunch.com/feed/"]
    }
  }
}

Podman

更喜欢Podman而不是Docker?只需将docker替换为podman

{
  "mcpServers": {
    "feed-mcp": {
      "command": "podman",
      "args": [
        "run", "-i", "--rm",
        "ghcr.io/richardwooding/feed-mcp:latest",
        "run",
        "https://techcrunch.com/feed/"
      ]
    }
  }
}

故障排除

"Claude达到了此对话的最大长度"

如果看到此错误:

  • 您一次获取了太多大型文章
  • 尝试让Claude先浏览标题,然后再阅读特定文章
  • 服务器自动限制内容以防止这种情况

订阅未更新

默认情况下,订阅缓存10分钟。如需新鲜数据:

  • 等几分钟再试
  • 重启Claude桌面以清除缓存

私有/本地主机订阅

默认情况下,为了安全,阻止本地主机和私有IP订阅。要启用:

{
  "mcpServers": {
    "feed-mcp": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "ghcr.io/richardwooding/feed-mcp:latest",
        "run", "--allow-private-ips",
        "http://localhost:8080/feed.xml"
      ]
    }
  }
}

文档

  • ADVANCED.md — 动态订阅管理、MCP资源、智能提示
  • ARCHITECTURE.md — 技术细节、架构、开发指南
  • CLAUDE.md — 当与此代码库一起工作时,Claude Code的指令

贡献

欢迎贡献!参见架构文档获取技术细节和开发指南。

许可证

MIT许可证 — 详情见LICENSE