Fire in da houseTop Tip:Most people pay up to $340 per month for Perplexity, MidJourney, Runway, ChatGPT, and more - but you can get them all your AI tools for $15 with Galaxy. It's free to test!Fire in da houseCheck it out

mcp-trends-hub

MCP.Pizza Chef: baranwang

mcp-trends-hub is a Model Context Protocol (MCP) server that aggregates and delivers real-time trending topics from over 20 high-quality data sources across the internet. It supports seamless integration with AI applications through full MCP protocol compatibility, offers easy extensibility with custom RSS feeds, and allows flexible customization of returned data fields via environment variables. This server keeps trending data synchronized with source sites, providing a one-stop solution for accessing up-to-date global hot topics.

Use This MCP server To

Aggregate trending news from 20+ global sources in real time Integrate real-time trend data into AI applications via MCP Add custom RSS feeds for personalized trend aggregation Customize returned trend data fields via environment variables Keep AI models updated with latest internet hot topics Provide a unified API for multi-source trend data Enable real-time monitoring of social and news trends

README

🔥 Trends Hub

smithery badge NPM Version NPM License

基于 Model Context Protocol (MCP) 协议的全网热点趋势一站式聚合服务

示例效果

Trends Hub 示例

✨ 特性

  • 📊 一站式聚合 - 聚合全网热点资讯,20+ 优质数据源
  • 🔄 实时更新 - 保持与源站同步的最新热点数据
  • 🧩 MCP 协议支持 - 完全兼容 Model Context Protocol,轻松集成到 AI 应用
  • 🔌 易于扩展 - 简单配置即可添加自定义 RSS 源
  • 🎨 灵活定制 - 通过环境变量轻松调整返回字段

📖 使用指南

首先需要了解 MCP 协议,然后按照以下配置添加 Trends Hub 服务

不同的 MCP 客户端实现可能有所不同,以下是一些常见的配置示例:

JSON 配置

{
  "mcpServers": {
    "trends-hub": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-trends-hub@1.6.2"
      ]
    }
  }
}

命令行配置

npx -y mcp-trends-hub@1.6.2

安装

使用 Smithery 安装

通过 Smithery 安装 Trends Hub,适用于 Claude Desktop 客户端:

npx -y @smithery/cli install @baranwang/mcp-trends-hub --client claude

(以下仅适用于 MCP 模型客户端)

配置环境变量

TRENDS_HUB_HIDDEN_FIELDS - 隐藏的字段列表

通过此环境变量可控制返回数据中的字段显示:

  • 作用于所有工具:{field-name},例如 cover
  • 作用于特定工具:{tool-name}:{field-name},例如 get-toutiao-trending:cover

多个配置用西文逗号分隔,例如:

{
  "mcpServers": {
    "trends-hub": {
      "command": "npx",
      "args": ["-y", "mcp-trends-hub"],
      "env": {
        "TRENDS_HUB_HIDDEN_FIELDS": "cover,get-nytimes-news:description" // 隐藏所有工具的封面返回和纽约时报新闻的描述
      }
    }
  }
}

TRENDS_HUB_CUSTOM_RSS_URL - 自定义 RSS 订阅源

Trend Hub 支持通过环境变量添加自定义 RSS 源:

{
  "mcpServers": {
    "trends-hub": {
      "command": "npx",
      "args": ["-y", "mcp-trends-hub"],
      "env": {
        "TRENDS_HUB_CUSTOM_RSS_URL": "https://news.yahoo.com/rss" // 添加 Yahoo 新闻 RSS
      }
    }
  }
}

配置后将自动添加custom-rss工具,用于获取指定的 RSS 订阅源内容

🛠️ 支持的工具

工具名称 描述
get-36kr-trending 获取 36 氪热榜,提供创业、商业、科技领域的热门资讯,包含投融资动态、新兴产业分析和商业模式创新信息
get-9to5mac-news 获取 9to5Mac 苹果相关新闻,包含苹果产品发布、iOS 更新、Mac 硬件、应用推荐及苹果公司动态的英文资讯
get-bbc-news 获取 BBC 新闻,提供全球新闻、英国新闻、商业、政治、健康、教育、科技、娱乐等资讯
get-bilibili-rank 获取哔哩哔哩视频排行榜,包含全站、动画、音乐、游戏等多个分区的热门视频,反映当下年轻人的内容消费趋势
get-douban-rank 获取豆瓣实时热门榜单,提供当前热门的图书、电影、电视剧、综艺等作品信息,包含评分和热度数据
get-douyin-trending 获取抖音热搜榜单,展示当下最热门的社会话题、娱乐事件、网络热点和流行趋势
get-gcores-new 获取机核网游戏相关资讯,包含电子游戏评测、玩家文化、游戏开发和游戏周边产品的深度内容
get-ifanr-news 获取爱范儿科技快讯,包含最新的科技产品、数码设备、互联网动态等前沿科技资讯
get-infoq-news 获取 InfoQ 技术资讯,包含软件开发、架构设计、云计算、AI等企业级技术内容和前沿开发者动态
get-juejin-article-rank 获取掘金文章榜,包含前端开发、后端技术、人工智能、移动开发及技术架构等领域的高质量中文技术文章和教程
get-netease-news-trending 获取网易新闻热点榜,包含时政要闻、社会事件、财经资讯、科技动态及娱乐体育的全方位中文新闻资讯
get-nytimes-news 获取纽约时报新闻,包含国际政治、经济金融、社会文化、科学技术及艺术评论的高质量英文或中文国际新闻资讯
get-smzdm-rank 获取什么值得买热门,包含商品推荐、优惠信息、购物攻略、产品评测及消费经验分享的实用中文消费类资讯
get-sspai-rank 获取少数派热榜,包含数码产品评测、软件应用推荐、生活方式指南及效率工作技巧的优质中文科技生活类内容
get-tencent-news-trending 获取腾讯新闻热点榜,包含国内外时事、社会热点、财经资讯、娱乐动态及体育赛事的综合性中文新闻资讯
get-thepaper-trending 获取澎湃新闻热榜,包含时政要闻、财经动态、社会事件、文化教育及深度报道的高质量中文新闻资讯
get-theverge-news 获取 The Verge 新闻,包含科技创新、数码产品评测、互联网趋势及科技公司动态的英文科技资讯
get-toutiao-trending 获取今日头条热榜,包含时政要闻、社会事件、国际新闻、科技发展及娱乐八卦等多领域的热门中文资讯
get-weibo-trending 获取微博热搜榜,包含时事热点、社会现象、娱乐新闻、明星动态及网络热议话题的实时热门中文资讯
get-weread-rank 获取微信读书排行榜,包含热门小说、畅销书籍、新书推荐及各类文学作品的阅读数据和排名信息
get-zhihu-trending 获取知乎热榜,包含时事热点、社会话题、科技动态、娱乐八卦等多领域的热门问答和讨论的中文资讯

更多数据源正在持续增加中

鸣谢

mcp-trends-hub FAQ

How do I add custom data sources to mcp-trends-hub?
You can add custom RSS feeds by configuring the server with your feed URLs, enabling personalized trend aggregation.
Can I customize the data fields returned by mcp-trends-hub?
Yes, the server supports flexible customization of returned fields through environment variables to fit your application needs.
How does mcp-trends-hub keep trend data up to date?
It synchronizes in real time with over 20 source sites, ensuring the latest trending topics are always available.
Is mcp-trends-hub compatible with different MCP clients?
Yes, it fully supports the Model Context Protocol, making it easy to integrate with various MCP clients and AI platforms like OpenAI, Claude, and Gemini.
What kind of data sources does mcp-trends-hub aggregate?
It aggregates data from more than 20 high-quality sources including news sites, social media, and RSS feeds.
How do I deploy mcp-trends-hub?
Deployment typically involves running the server via npm with configuration JSON; detailed instructions are available in the GitHub README.
Can mcp-trends-hub be extended with new data sources?
Yes, it is designed for easy extensibility by adding new RSS feeds or other compatible sources through simple configuration.