什么是 Pulse CN MCP Server?
获取中国互联网的实时热点内容,将 AI 模型连接到主流社交平台与新闻网站的最新数据,轻松掌握中国当下趋势。
核心功能 (18 个工具)
get-weibo-hotspots获取微博最新热搜榜单,返回包含排名、话题标题和热度值的实时数据。数据来源于微博官方,通过API实时获取。
get-realtime-horoscope获取今日、明日、本周、本月十二星座运势星座运势,返回包含运势内容的实时数据。通过API实时获取。
get-inspirational-english-sentence获取每日一句励志英语句子,返回包含句子实时数据。通过API实时获取。
internet-hotspots-aggregator获取互联网热点聚合数据,返回包含热点内容的实时数据,包含微博热搜、今日头条、知乎日报、虎扑步行街、36氪、哔哩哔哩热榜,知乎、IT资讯、虎嗅网、人人都是产品经理热榜百度、抖音热点豆瓣小组精选。通过API实时获取。
today-headlines-hotspots获取今日头条热点热搜,返回包含热点内容的实时数据。通过API实时获取。
the-paper-news-hotspots获取澎湃新闻热搜榜单,返回包含热点内容的实时数据。通过API实时获取。
hupu-pedestrian-street-hotspots获取虎扑步行街实时热搜榜单,返回包含热点内容的实时数据。通过API实时获取。
zhihu-realtime-hotspots获取知乎实时热搜榜单,返回包含热点内容的实时数据。通过API实时获取。
zhihu-daily-hotspots获取知乎日报每日热搜榜单,返回包含热点内容的实时数据。通过API实时获取。
36-krypton-24-hour-hotspots获取36氪24小时热搜榜单,返回包含热点内容的实时数据。通过API实时获取。
bilibili-daily-hotspots获取哔哩哔哩全站日榜单,返回包含热点内容的实时数据。通过API实时获取。
baidu-hotspots获取百度热搜榜单,返回包含热点内容的实时数据。通过API实时获取。
douyin-hotspots获取抖音热搜榜单,返回包含热点内容的实时数据。通过API实时获取。
douban-group-hotspots获取豆瓣小组精选热搜榜单,返回包含热点内容的实时数据。通过API实时获取。
huxiu-hotspots获取虎嗅网热搜榜单,返回包含热点内容的实时数据。通过API实时获取。
product-manager-hotspots获取人人都是产品经理热搜榜单,返回包含热点内容的实时数据。通过API实时获取。
in-information-hotspots获取IT资讯热搜榜单,返回包含热点内容的实时数据。通过API实时获取。
insect-hotspots获取虫族部落热搜榜单,返回包含热点内容的实时数据。通过API实时获取。
README
🔥 Pulse CN MCP Server
A powerful Model Context Protocol (MCP) server providing real-time trending content from the Chinese internet.
Features • Installation • Quick Start • Documentation • Contributing • License
</div>🌟 Overview
Pulse CN MCP Server enables AI models to access up-to-date information about what's trending on the Chinese internet. Built with the Model Context Protocol (MCP), it acts as a bridge between AI models and real-time data from China's most popular social media platforms, news sites, and content aggregators.
✨ Features
The server provides real-time access to trending data from 18 major Chinese platforms:
| Platform | Content | Status |
|---|---|---|
| 🔮 星座运势 | Daily horoscope predictions | ✅ |
| 💬 每日一句励志英语 | Daily motivational English quotes | ✅ |
| 📊 热搜热榜聚合 | Aggregated trending topics | ✅ |
| 🔥 微博实时热搜 | Weibo real-time trending topics | ✅ |
| 📰 今日头条热搜 | Today's Headlines trending news | ✅ |
| 📝 澎湃新闻热搜 | ThePaper.cn news trending topics | ✅ |
| 🏀 虎扑步行街热搜 | Hupu BXJ real-time trends | 🔜 |
| ❓ 知乎实时热搜 | Zhihu real-time trending topics | 🔜 |
| 📔 知乎每日日报 | Zhihu daily digest | 🔜 |
| 💼 36氪24小时热榜 | 36Kr 24-hour trending business news | 🔜 |
| 🎬 哔哩哔哩全站日榜 | Bilibili daily rankings | 🔜 |
| 🔍 百度热点热榜 | Baidu trending topics | 🔜 |
| 📱 抖音热点热榜 | Douyin trending topics | 🔜 |
| 👥 豆瓣小组精选 | Douban group featured content | 🔜 |
| 💻 IT资讯热榜 | IT news trending topics | 🔜 |
| 📈 虎嗅网热榜 | Huxiu 24-hour trending topics | 🔜 |
| 📱 产品经理热文榜 | Woshipm daily popular articles | 🔜 |
| 🐞 虫族部落最新热门 | Chongbuluo latest popular content | 🔜 |
🚀 Installation
# Clone the repository
git clone https://github.com/wangtsiao/pulse-cn-mcp.git
# Navigate to the project directory
cd pulse-cn-mcp
# Using npm
npm install
npm run build
# Or using Bun (faster)
bun install
bun run build
⚡ Quick Start
Start the MCP server with:
# Using npm
npm start
# Or using Bun
bun start
This launches the server using the Stdio transport, making it ready for MCP-compatible AI models to connect.
📖 Documentation
Architecture
Pulse CN MCP Server follows a modular architecture with individual tools for each data source:
src/
├── index.ts # Main entry point and server setup
└── tools/ # Individual tool implementations
├── weiboHotspots.js
├── horoscope.js
├── dailyEnglishSentence.js
├── internetHotspotsAggregator.js
├── todayHeadlinesHotspots.js
├── paperNewsHotspots.js
└── otherHotspots.js
Available Tools
Fully Implemented
| Tool Name | Description | Endpoint |
|---|---|---|
weibo-hotspots | Real-time trending topics from Weibo | /weibo-hotspots |
horoscope | Daily horoscope by zodiac sign | /horoscope |
daily-english-sentence | Daily motivational English quotes | /daily-english-sentence |
internet-hotspots-aggregator | Aggregated trending topics | /internet-hotspots-aggregator |
today-headlines-hotspots | Today's Headlines trending topics | /today-headlines-hotspots |
paper-news-hotspots | ThePaper.cn trending news | /paper-news-hotspots |
Coming Soon
hupu-pedestrian-street-hotspotszhihu-realtime-hotspotszhihu-daily-hotspots36-krypton-24-hour-hotspotsbilibili-daily-hotspotsbaidu-hotspotsdouyin-hotspotsdouban-group-hotspotshuxiu-hotspotsproduct-manager-hotspotsin-information-hotspotsinsect-hotspots
Integration Example
Here's how to integrate with the server using TypeScript:
import { McpClient } from "@modelcontextprotocol/sdk/client";
async function example() {
const client = new McpClient();
// Get Weibo trending topics
const weiboHotspots = await client.callTool("weibo-hotspots", {});
console.log(weiboHotspots.content);
// Get daily horoscope for Aries
const horoscope = await client.callTool("horoscope", { sign: "aries" });
console.log(horoscope.content);
}
🛠️ Development
Adding a New Tool
- Create a new file in
src/tools/(e.g.,myNewTool.ts) - Implement your tool using the MCP Server SDK
- Register the tool in
src/index.ts
Example:
// src/tools/myNewTool.ts
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { z } from "zod";
export function registerMyNewTool(server: McpServer) {
server.tool(
"my-new-tool",
"Description of my new tool",
{
// Tool parameters schema
param1: z.string().describe("Parameter description")
},
async (params) => {
// Tool implementation
return {
content: [
{ type: "text", text: "Result of my tool" }
]
};
}
);
}
// src/index.ts - Add import and registration
import { registerMyNewTool } from './tools/myNewTool.js';
// ...
registerMyNewTool(server);
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgements
This project utilizes the free APIs provided by 韩小韩API. We express our sincere gratitude for their excellent service and support.
<div align="center"> <sub>Built with ❤️ by wangtsiao</sub> </div>
常见问题
Pulse CN MCP Server 是什么?
获取中国互联网的实时热点内容,将 AI 模型连接到主流社交平台与新闻网站的最新数据,轻松掌握中国当下趋势。
Pulse CN MCP Server 提供哪些工具?
提供 18 个工具,包括 get-weibo-hotspots、get-realtime-horoscope、get-inspirational-english-sentence 等。
相关 Skills
MCP构建
by anthropics
聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。
✎ 想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。
Slack动图
by anthropics
面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。
✎ 帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。
接口设计评审
by alirezarezvani
审查 REST API 设计是否符合行业规范,自动检查命名、HTTP 方法、状态码与文档覆盖,识别破坏性变更并给出设计评分,适合评审接口方案和版本迭代前把关。
✎ 做API和架构方案时,它能帮你提前揪出接口设计问题并对齐最佳实践,评审视角系统,团队协作更省心。
相关 MCP Server
Slack 消息
编辑精选by Anthropic
Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。
✎ 这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。
by netdata
io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。
✎ 这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。
by d4vinci
Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。
✎ 这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。