将RSS订阅带到Claude桌面 — 在您的AI对话中直接阅读新闻、博客和更新。
feed-mcp是一个模型上下文协议(MCP)服务器,它允许Claude桌面读取RSS、Atom和JSON订阅。可以将其视为一个桥梁,连接您喜爱网站的RSS订阅到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:
{
"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:
已经在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:
当您询问Claude关于您的订阅时,会发生以下情况:
这种两阶段方法使响应快速,并防止对话过载。
您: "今天科技界有什么新消息?"
Claude会:
您: "告诉我更多关于第一篇文章"
Claude会:
对于高级用户,feed-mcp包括:
如果您已安装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而不是Docker?只需将docker替换为podman:
{
"mcpServers": {
"feed-mcp": {
"command": "podman",
"args": [
"run", "-i", "--rm",
"ghcr.io/richardwooding/feed-mcp:latest",
"run",
"https://techcrunch.com/feed/"
]
}
}
}
如果看到此错误:
默认情况下,订阅缓存10分钟。如需新鲜数据:
默认情况下,为了安全,阻止本地主机和私有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"
]
}
}
}
欢迎贡献!参见架构文档获取技术细节和开发指南。
MIT许可证 — 详情见LICENSE。