Cover image
Try Now
2025-03-26

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

3 years

Works with Finder

2

Github Watches

6

Github Forks

46

Github Stars

🔥 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.0"
      ]
    }
  }
}

命令行配置

npx -y mcp-trends-hub@1.6.0

安装

使用 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 获取知乎热榜,包含时事热点、社会话题、科技动态、娱乐八卦等多领域的热门问答和讨论的中文资讯

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

鸣谢

相关推荐

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://reddgr.com
  • Delivers concise Python code and interprets non-English comments

  • 林乔安妮
  • A fashion stylist GPT offering outfit suggestions for various scenarios.

  • 1Panel-dev
  • 💬 MaxKB is a ready-to-use AI chatbot that integrates Retrieval-Augmented Generation (RAG) pipelines, supports robust workflows, and provides advanced MCP tool-use capabilities.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • open-webui
  • User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

  • Dhravya
  • Collection of apple-native tools for the model context protocol.

  • Mintplex-Labs
  • The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

  • GLips
  • MCP server to provide Figma layout information to AI coding agents like Cursor

  • activepieces
  • AI Agents & MCPs & AI Workflow Automation • (280+ MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

    Reviews

    2 (1)
    Avatar
    user_ZYgHk9CM
    2025-04-17

    As a loyal user of mcp-trends-hub by baranwang, I am thoroughly impressed with its features and functionality. This tool has significantly enhanced my ability to track market trends effectively. The seamless integration and intuitive design make it a must-have for anyone serious about staying ahead in their industry. Highly recommend! Check it out on GitHub: https://github.com/baranwang/mcp-trends-hub